Jorge Manrubia
9c1185055e
Instead of removing uncofirmed commands don't create them in the first place
2025-05-07 14:47:15 +02:00
Jorge Manrubia
b017a3fd67
Destroy unconfirmed commands so that they don't end up in the user history
2025-05-07 14:43:11 +02:00
Jorge Manrubia
837de05baa
Format
2025-05-07 13:54:22 +02:00
Jorge Manrubia
6d0855da28
Format
2025-05-07 13:50:58 +02:00
Jorge Manrubia
189c7e4a87
Serve the last commands in reverse order so that the most recent one is just above
2025-05-07 12:07:13 +02:00
Jorge Manrubia
8697cabbe2
Show confirmation when submitting certain commands
...
https://3.basecamp.com/2914079/buckets/37331921/todos/8617430347
2025-05-07 10:20:32 +02:00
Jorge Manrubia
55ea460d3e
Handle form errors with a stimulus class
...
We need to keep the focus in place when submitting the form. We are using a data-turbo-permanent for that. We were rendering the error form with a turbo stream. The problem was that turbo streams ignore permanent elements as per this https://github.com/hotwired/turbo/pull/688 , so the system wasn't updating the input field as expected.
Handling this as the stimulus level will also help with managing additional error states (such as the one we need for confirmations).
2025-05-07 08:46:47 +02:00
Jorge Manrubia
d7164356f1
Format
2025-05-06 11:20:04 +02:00
Jorge Manrubia
0ef83740f7
Format
2025-05-06 11:10:53 +02:00
Jorge Manrubia
d510cbd92e
Not used
2025-05-06 11:09:07 +02:00
Jorge Manrubia
8ad3461d1b
Keep focus on error
2025-05-06 10:16:38 +02:00
Jorge Manrubia
0bdbcbf156
Highlight errors
2025-05-06 09:56:12 +02:00
Jorge Manrubia
9d7459f865
Show recent commands
2025-05-06 08:54:58 +02:00
Jorge Manrubia
75558d0056
Move user assignment and validation to the controller
2025-05-06 07:18:27 +02:00
Jorge Manrubia
dc4834cb93
Validate commands
2025-05-06 06:55:51 +02:00
Jorge Manrubia
72ffcfac8b
Assignments working
2025-05-06 06:45:37 +02:00
Jorge Manrubia
65d809dd8d
Basic models for Fizzy do and searches working with them
2025-05-06 06:42:33 +02:00