stable

Clone or download

Read-only

feat: Pagination should be accessible

part of story #38263 Choose my own columns based on field name (numeric, text, dates) How to test: - Enable the feature flag: tuleap config-set feature_flag_enable_tql_select 1 - Select trackers with a lot of artifacts - Write a query with a "SELECT", save the report - Pagination buttons should show. Why? - Buttons are better handled by accessibility tools such as screen readers. They are also easier to use by people using keyboards. - The translation is now "First" / "Last" to better convey the notion of ordering. - The "1 - 10 of 10" translated string is now correctly handled as a complete string, not just the "of" word by itself. - I know the previous pagination code came straight from the docs, we should fix that in a separate commit. Change-Id: I56d2f4647c1c9124a5b23c2e9a8f06ef24bbca5d

Modified Files

Name
M plugins/crosstracker/scripts/cross-tracker/po/fr_FR.po +9 −9 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/po/pt_BR.po +9 −9 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/components/selectable-table/SelectablePagination.test.ts +17 −15 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/components/selectable-table/SelectablePagination.vue +38 −32 Go to diff View file
M src/scripts/tlp/src/scss/components/_pagination.scss +2 −1 Go to diff View file