Commit Graph

8 Commits

Author SHA1 Message Date
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 a441d144e9 Remove debug code 2025-05-06 09:32:35 +02:00
Jorge Manrubia 456463ffef Reset form automatically 2025-05-06 09:30:37 +02:00
Jason Zimdars 3e5b531d12 Extract into a single-purpose controller 2025-02-13 17:40:18 -06:00
Jason Zimdars 6f351b956c Allow pasting files in comments 2025-01-31 18:07:12 -06:00
Jason Zimdars 885c20f330 Make bubble title editing a little nicer 2024-09-13 17:16:15 -05:00
Jason Zimdars 4b7fc61136 Add and change a due date on bubbles 2024-09-13 17:16:15 -05:00
Jason Zimdars f330afb04c Add bubble images inline without a special form 2024-09-05 20:14:22 -05:00