7 Commits

Author SHA1 Message Date
Henriette Darge e0ca62c9c8 Harmonize attribute help texts in widegts 2026-03-23 14:10:03 +01:00
Tobias Dillmann 8774d5dea2 [#68876] Keep component size when refreshing via turbo stream 2025-11-18 12:03:40 +01:00
Tobias Dillmann caade44c4b [#68876] Use unique project status component wrapper key
As it was before, you could not have multiple project status buttons on
the same page - unless they were read-only. When updating, the lack of a
unique key would always update the first occurrence in the DOM instead
of the button the user clicked.
2025-11-18 12:03:39 +01:00
Alexander Brandon Coles 4cb133a50b Hide label, duplicate help text 2025-09-02 16:59:07 +01:00
Alexander Brandon Coles 7a520e2242 [#64471] Teach Status Component to render help text
Fixes missing attribute help text link for Project Status on the Project
Settings > Information page.
2025-06-16 10:14:02 +01:00
Alexander Brandon Coles 3550aade49 Use DELETE method to unset project status
* Updates `StatusButtonComponent` to use `turbo-method: :delete` for
  "Not set" menu item.
* Adds `Projects::StatusController#destroy` action, routes and
  accompanying permissions.
2025-05-02 00:43:47 +01:00
Alexander Brandon Coles 7d92ee2831 [#63482] Implement Project Status Button Component
* Introduces `Projects::StatusButtonComponent` and its Lookbook Preview.
* Defines colours, icons as (Ruby) constants nested under
  `Project::Statuses` (c.f. `Meetings::Statuses`).
* Adds `Projects::StatusController` with `#update` action, routes and
  accompanying permissions.
2025-05-01 16:06:18 +01:00