178 Commits

Author SHA1 Message Date
Alexander Brandon Coles ba80c908ca Merge pull request #21480 from opf/dependabot/bundler/dev/capybara_accessible_selectors-v0.16.0
Bump capybara_accessible_selectors from v0.15.0 to v0.16.0
2026-06-01 12:31:49 +02:00
Alexander Brandon Coles 0b4bcb5d3c Set accessible names on table column headers
capybara_accessible_selectors 0.16 resolves role selectors such as
`:columnheader` by the computed accessible name. In a browser that name
folds in the CSS `text-transform: uppercase` styling and the column
action-menu trigger text, so `have_columnheader("Subject")` no longer
matches a header whose accessible name resolves to "SUBJECT Open menu".

Sets an explicit `aria-label` equal to the plain caption on each header
cell, in both the server-rendered tables and the work package table, so
the accessible name is the column title alone. This also improves screen
reader output, which previously announced the uppercased text and the
menu label.
2026-05-29 19:30:27 +02:00
Henriette Darge c6e407bee7 Open dropdowns to the top to unnecessary white space to the bottom. The advanced radio buttons above ensure that there is enough space 2026-05-28 14:35:58 +02:00
Alexander Brandon Coles 878ff28148 [#75275] Fix hellip/expandable text alignment
Extracts a shared `ExpandableTextComponent` for truncation with
`HiddenTextExpander`, preserving caller classes and data attributes.
Implements it on on the permissions report and workflows matrices so
expanded labels keep the ellipsis aligned with the first line.

https://community.openproject.org/wp/75275
2026-05-22 15:16:52 +02:00
Mir Bhatia e561086d38 Update all remaining components to work with multiple roles 2026-04-28 13:08:26 +02:00
Mir Bhatia 225d874101 Add handling for indeterminate checkboxes 2026-04-24 17:32:47 +02:00
Mir Bhatia f1fc3c17b2 Show indeterminate checkboxes in workflows matrix 2026-04-24 17:32:46 +02:00
Mir Bhatia df5eca254e Replace ActionMenu with multi select SelectPanel for role selector 2026-04-23 16:02:49 +02:00
David F 733ba19893 Smoothen navigation in workflow administration. wp/72383 2026-04-21 13:49:11 +02:00
David F 90a97ff5c4 Improve UX with better rendering, redirecting and wording. wp/72383 2026-04-16 15:52:11 +02:00
David F 32831e08dc Merge remote-tracking branch 'origin/dev' into feature/72383-workflows-ux-improvement-apply-workflow-setting-from-role-to-role 2026-04-13 17:41:13 +02:00
David F fb564e24e6 Sideload workflow matrix to safely revert on ignored changes. wp/72383 2026-04-13 16:28:07 +02:00
David F b670ac19a6 Redraw the workflow form on empty statuses. wp/72383 2026-04-09 15:55:55 +02:00
David F 6e2efe8eb1 Merge branch 'dev' into feature/72383-workflows-ux-improvement-apply-workflow-setting-from-role-to-role 2026-04-09 09:42:46 +02:00
David F e729229df1 Add refactored Unsaved dialog to workflow copy button. wp/72383 2026-04-07 15:52:55 +02:00
David F 004876b177 Merge workflow copy modes into one unified form. wp/72383 2026-04-02 14:56:01 +02:00
Mir Bhatia 3ae94725b8 Show browser confirmation when reloading with unsaved changes 2026-03-31 15:08:59 +02:00
David F f24e41fd83 Turn full page forms into dialogs. wp/72383 2026-03-31 08:21:40 +02:00
Mir Bhatia 535677f30c Use turbo_temporary to prevent caching and flickering on load 2026-03-30 11:23:17 +02:00
David F 4690be175e Improve contextual information and navigation for workflow copy. wp/72383 2026-03-27 17:18:21 +01:00
Mir Bhatia c4c8ec2289 Show confirmation dialog when statuses are only added or removed 2026-03-26 17:34:19 +01:00
David F 0406fabee5 Improve UI consistency with other settings pages. wp/72383 2026-03-26 08:58:26 +01:00
David F d1a541a2b0 Merge branch 'epic/workflows-ux-quick-wins' into feature/72383-workflows-ux-improvement-apply-workflow-setting-from-role-to-role 2026-03-24 16:46:48 +01:00
Mir Bhatia e95ecee780 Merge branch 'dev' into epic/workflows-ux-quick-wins 2026-03-24 15:46:36 +01:00
David. 882e4d16ca Merge branch 'epic/workflows-ux-quick-wins' into feature/72383-workflows-ux-improvement-apply-workflow-setting-from-role-to-role 2026-03-24 15:14:50 +01:00
David F 4ab123f066 Refactor workflow summary into new namespaced controllers scheme. wp/72383 2026-03-24 11:17:21 +01:00
David F 6d435d7289 Remove the legacy workflow copy process. wp/72383 2026-03-24 10:48:18 +01:00
David F e29c33a949 Copy workflows from a role to another role of the same type. wp/72383 2026-03-24 10:48:18 +01:00
David F 117469a0a8 Copy a type’s workflows to another one. wp/72383 2026-03-24 10:48:18 +01:00
Mir Bhatia e2914109b1 Adjust spacing and add comment 2026-03-24 10:22:54 +01:00
Mir Bhatia 4558e8fda2 Show confirmation dialog when switching tabs 2026-03-23 15:56:08 +01:00
Oliver Günther 4d731dcab6 Replace raw and explicit html_safe calls 2026-03-20 09:49:10 +01:00
Mir Bhatia 5fbce67f93 Make save button sticky 2026-03-19 17:57:39 +01:00
Mir Bhatia 465d7a1418 Merge branch 'feature/72234-workflows-ux-improvement-show-workflows-by-type' into feature/72239-workflows-ux-improvement-select-relevant-statuses 2026-03-18 13:08:56 +01:00
Mir Bhatia e1f8fd9992 Check all new checkboxes on adding a new status 2026-03-18 12:42:45 +01:00
Mir Bhatia bbf271abfe Show updated list of statuses in status dialog on apply
Before, the statuses in the list were only those read from the DB. Thus,
adding/removing statuses and clicking apply did not update the list
before saving the entire form
2026-03-18 12:30:22 +01:00
Mir Bhatia 590a793872 Keep checked state when updating statuses 2026-03-18 11:27:22 +01:00
Mir Bhatia cfafd01fb0 Show different status matrices per tab 2026-03-17 15:52:01 +01:00
David F fa3a9e9e97 Refine UI to match Figma and team standards. 2026-03-17 15:20:06 +01:00
David F a22e03d578 Filter types on admin workflow index. 2026-03-16 08:59:35 +01:00
Mir Bhatia 72d54a8a57 Update role selector 2026-03-13 16:11:18 +01:00
Mir Bhatia 7718a0c527 Merge branch 'feature/72234-workflows-ux-improvement-show-workflows-by-type' into feature/72239-workflows-ux-improvement-select-relevant-statuses 2026-03-13 15:02:08 +01:00
Mir Bhatia 24de72b48b Add new dialogs to manage and remove statuses 2026-03-13 10:43:27 +01:00
Mir Bhatia cf24316722 Show role specific statuses on workflow edit page by default 2026-03-12 17:52:08 +01:00
David F 09f36d96ab WIP: List types on workflows admin index before editing one of them. #72234 2026-03-12 12:26:47 +01:00
Alexander Brandon Coles 897205b379 Fix customization of CheckAllComponent buttons
Support content block rather than `text:` param, thereby fixing calling
button methods (e.g. `with_leading_visual_icon`). from slots.

Also support overriding `scheme:` param.
2026-01-14 13:47:29 -03:00
Behrokh Satarnejad 5346b3f348 [70165] Page Header buttons disappear off the page when editing Workflow (#21556)
move page header to the content header
2026-01-07 16:40:17 +01:00
Alexander Brandon Coles 14caa706c8 [#69980] Ensure all columns highlightable in Workflows 2025-12-15 21:15:51 -03:00
Alexander Brandon Coles 559ae6102a Enable column highlighting in Workflows 2025-12-15 21:15:51 -03:00
Alexander Brandon Coles 16c842230a [#69565] Fix "Check all" truncation in Workflows 2025-12-15 21:15:50 -03:00