15 Commits

Author SHA1 Message Date
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
Oliver Günther c950be910e Convert custom filters on user administration to standard query 2026-05-08 13:34:21 +02:00
Alexander Brandon Coles 102e333aa7 Teach TableComponent to handle :table_arguments 2026-02-13 09:09:45 -03:00
Klaus Zanders 11810c217d allow setting an id on the container for TableComponent 2025-04-15 10:47:16 +02: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
Ivan Kuchin b811a4ebb2 allow specifiying safe query params for sort_link/sort_header_tag 2024-05-29 17:45:02 +02:00
Henriette Darge e0f86e0879 Use the existing overflow class instead of a custom css rule. The cost_types did not need the overflow selector any more as the datepicker was rendered as direct child of the DOM anyway. 2024-04-12 09:27:15 +02: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
Oliver Günther 7bfec434a4 Show autologin tokens in the my/sessions view 2023-11-23 10:45:54 +01:00
Dombi Attila 804462f00c Remove including helpers in ViewComponents, use the #helpers method instead (#12709)
* Remove including helpers in ViewComponents, and use the #helpers method instead
2023-05-30 06:43:37 +02:00
Dombi Attila 1d541f8237 [#47010] Replace Members Cells by ViewComponent
https://community.openproject.org/work_packages/47010
2023-05-23 14:21:55 +03:00
Dombi Attila 60b162abb6 [#47010] Replace Members::TableCell by ViewComponent
https://community.openproject.org/work_packages/47010
2023-05-16 19:11:48 +03:00
Christophe Bliard 8d1a6784be Replace Enumerations::TableCell by ViewComponent
https://community.openproject.org/wp/47009

This introduces `TableComponent`, the ViewComponent equivalent of
`TableCell`.
2023-03-22 11:29:06 +01:00