https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383 --- Comment #232 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211724 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211724&action=edit Bug 42383: (QA follow-up) Restore the Columns, Export and Configure controls of the checked-in table The legacy page shows the checked-in items in a DataTable with its menu: Columns (show or hide a column), Export (CSV, Copy, Print), Copy shareable link and Configure (the table settings in the administration). The new page showed the table without any of it. The columns only followed the table settings, and there was a TODO for the rest. The table now has the same controls above it, right aligned and without outlines until hovered, as the buttons of the DataTables. They are a new shared component, TableControls, for the tables that Vue renders itself (KohaTable keeps its DataTables buttons): each control is there when the table gives what it needs, so another table can have only some of them. The helpers to print, copy and download a table move to utils/: - Columns: a menu with a checkbox for each column of the table settings, starting from their defaults (Date acquired is hidden, for example). The choice is remembered in the browser, so it is the same on the next check-in session - Export: CSV, Copy and Print of the table as shown: the visible columns and their cells, without the buttons - Configure: a link to the table settings (module circ, page returns, table checkedintable), for librarians allowed to configure the columns "Copy shareable link" is not brought back: it shares the search, sorting and page of a table that has data of its own, and this table lists what was checked in during the session. Test plan: 1. Apply the patch and rebuild the JS (yarn js:build) 2. Check in an item => Columns, Export and Configure are above the table 3. Open Columns, untick "Call number" and tick "Date acquired" => The table loses the first and gains the second, headings and cells 4. Reload the page and check in another item => The same columns are shown 5. Open Export and choose CSV, Copy and Print => The visible columns are exported 6. Press Configure => The table settings of the check-in table open 7. Run: $ yarn cypress run --spec t/cypress/integration/Circulation/Checkin_spec.ts => SUCCESS: Tests pass! Assisted-by: Sonnet 5.5 (Anthropic) Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.