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
Klaus Zanders
e3126f7bfe
Add a warning for the role when editing
2026-05-04 10:26:56 +02:00
Oliver Günther
6dc1229300
Remove unused code
2026-03-20 08:53:14 +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
Alexander Brandon Coles
b4a9bb05a9
Ensure all columns highlightable in Reports
2025-12-15 21:15:50 -03:00
Alexander Brandon Coles
ca1e882664
Primerize Permissions report Save button
2025-12-15 21:15:49 -03:00
Alexander Brandon Coles
3c9eb66eec
[ #69564 ] Fix A11y in Workflows, Permissions Report
...
- Provides labels for matrix checkboxes that clearly describe the
purpose of each control.
- Improves "toggle all" button labeling and "Check all"/"Uncheck all"
link tooltips to clearly indicate consequences. Also adds these
tooltips to Role edit page for consistency.
- Improves truncation of text in row headers by displaying an "ellipsis"
and an expander control that allows a user to click to see the full
text. It introduces a `TruncationController` Stimulus Controller to
add behavior to Primer `Truncation` and `HiddenTextExpander`
components.
This commit also:
- Primerizes the checkboxes.
- Harmonizes the positioning of the column "toggle all" button (moved to
left-hand side).
- Makes numerous small spacing fixes to improve alignment of headers and
checkboxes.
2025-12-15 21:15:49 -03:00
Alexander Brandon Coles
8e25e2f5ba
[ #69325 ] Rework "Check all" with Stimulus
...
Resolves an issue when used inside collapsible section headers: clicking
"Check all"/"Uncheck all" should not toggle the collapsible section.
**Behavior**
Introduces `CheckableController` and `CheckAllController`, replacing
`GlobalHelpers` functions and `link_to_function` calls.
**Rendering**
Provides `OpenProject::Common::CheckAllComponent` to render a standard
UI and take care of connecting appropriate Stimulus controller/outlets,
actions.
2025-12-10 22:08:19 -03:00
Alexander Brandon Coles
8d3cd7b4d4
Remove unused member_form partial
2025-12-10 21:59:56 -03:00
Alexander Brandon Coles
63313c349f
Replace toggleable fieldsets: Admin > Roles
...
Replaces togglable fieldsets with `CollapsibleSection`.
2025-10-24 12:57:47 +01:00
Oliver Günther
14192a74c3
Replace confirm with turbo-confirm, method with turbo-method
2025-09-26 09:15:04 +02:00
Oliver Günther
000f1061b9
Remove application dynamic target
2025-06-17 15:15:30 +02:00
Henriette Darge
d7c006ce82
Update SubHeader implementations to new mobile requirements in version 0.66.1
2025-05-19 15:11:05 +02:00
Ivan Kuchin
a98789d986
erb_lint auto fix part of style 2/3
2025-02-11 18:49:21 +01:00
Ivan Kuchin
7c24cf6048
erb_lint auto fix part of style 1/3
2025-02-11 18:49:21 +01:00
Ivan Kuchin
1906e0ca0f
erb_lint auto fix performance
2025-02-11 18:49:20 +01:00
Ivan Kuchin
14c88b9711
erb_lint auto fix hash style
2025-02-11 18:49:20 +01:00
Ivan Kuchin
0f6a12da3a
erb_lint auto fix layout
2025-02-11 18:49:20 +01:00
Ivan Kuchin
fb715f21b9
erb_lint auto fix quotes
2025-02-11 18:49:19 +01:00
Ivan Kuchin
0b1f73ec79
erb_lint auto except rubocop linter
2025-02-11 18:49:19 +01:00
Oliver Günther
47da171ac1
Provide option to hide highlight on col
2024-08-19 07:34:10 +02:00
Oliver Günther
44412c3006
Replace opHighlightCol with stimulus controller
2024-08-16 19:16:13 +02:00
Ivan Kuchin
4911b8a149
remove years from copyrights (except for COPYRIGHT file)
2024-07-31 15:02:49 +02:00
Henriette Darge
46860150b1
Adapt tests to new PageHeader structure
2024-07-15 14:28:09 +02:00
Henriette Darge
f7eccde66a
Introduce PageHeader in Administration / Roles
2024-07-15 08:40:34 +02:00
Christophe Bliard
4572685520
[51447] Use same headings for permissions report and role forms
2024-05-13 11:39:16 +02:00
Marcello Rocha
52da210c81
First naive commit
2024-04-09 11:33:31 +02:00
ulferts
3b2121f733
Revert "Merge remote-tracking branch 'origin/release/13.4' into dev"
...
This reverts commit 40b2bbeb09 , reversing
changes made to b4c6cb17cc .
2024-03-21 11:31:17 +01:00
Ivan Kuchin
7787e457a3
Revert "Merge branch 'dev' into release/13.4"
...
This reverts commit a901541269 , reversing
changes made to e573ca00b7 .
2024-03-20 20:19:08 +01:00
Henriette Darge
67dcba6fbe
Merge button styles "alt-highlight" and "highlight" together in one "primary" style
2024-03-08 14:10:30 +01:00
Christophe Bliard
c795874f7f
Update copyright year for 2024
...
command used: `rg -l 'Copyright \(C\) 2012-202\d the OpenProject' | xargs -n 100 sed -i -r 's/Copyright \(C\) 2012-202. the OpenProject/Copyright (C) 2012-2024 the OpenProject/'`
2024-01-02 16:23:54 +01:00
Henriette Darge
478975ed55
Introduce possibility to set a custom permission header needed for the WorkPackage and Gantt module which share the same permission set.
2023-12-01 11:13:17 +01:00
ulferts
60ed64cd04
use error_messages_for method now
2023-10-24 12:06:36 +02:00
Aaron Contreras
07e8124e2a
Remove permissions report link from underneath roles index table
2023-09-26 14:56:53 -05:00
Klaus Zanders
22dce3a4c7
Move the check to the right place
2023-07-19 14:00:19 +02:00
Klaus Zanders
25c3ce55cc
Only display the Global section when requesting to show global roles
2023-07-19 13:14:16 +02:00
Oliver Günther
ad9a83769f
Move admin controllers to subfolder/namespace
2023-05-23 11:02:46 +02:00
ulferts
fe094a826f
properly use stimulus data loading
2023-05-15 21:10:41 +02:00
ulferts
d04b18f263
Replace meeting script with stimulus controller
2023-05-15 21:10:40 +02:00
ulferts
f9703eeba6
employ stimulus controller on role admin page
2023-05-15 21:10:38 +02:00
Oliver Günther
3807fd989f
Merge remote-tracking branch 'origin/release/12.4' into dev
2023-01-23 15:51:25 +01:00
Oliver Günther
a5e78adcf9
Correctly parameterize form ID for use in function link
...
https://community.openproject.org/work_packages/45892
2023-01-23 11:44:40 +01:00
Christophe Bliard
21a696ef9b
Update copyright information for 2023
2022-12-30 15:51:26 +01:00
Oliver Günther
05330b4b18
Parameterize module name for use in checkAll function
2022-05-04 15:35:35 +02:00
Christophe Bliard
8c3d077fcf
hide disabled modules in roles report page
...
and sort modules in roles report page in the same order as in new role and update role pages
wp 41690
2022-04-05 10:02:24 +02:00
Christophe Bliard
e761136efb
remove dead code
...
introduced in a06120db10 , and was already dead code at that time
2022-04-05 09:11:10 +02:00
ulferts
d18f60aefe
replace assignable column on role
2022-03-03 12:50:24 +01:00
ulferts
f8075eaf9e
cleanup and linting
2022-03-03 11:35:09 +01:00
Christophe Bliard
bc8d423ec2
update copyright information for 2022
2022-03-01 17:05:59 +01:00
Christophe Bliard
447f10cabf
merge common global roles view files from users and groups
2022-01-31 09:32:42 +01:00