https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #209 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211869 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211869&action=edit Bug 43576: (follow-up) Convert the Notices management page and menu entry Bug 33260 added the Notices management tool after this series was written, so two things were not converted: - The 'Notices management' entry of the Tools menu had no icon or label span: with the sidebar collapsed its text spilled out of the 3rem column. Give it the same markup as its neighbours, with a title and the fa-envelopes-bulk icon, which no other entry of the menu uses. - tools/notices.pl wrote its own two column layout, so it had no #sidebar-container and no toggle: its sidebar could not be collapsed. Pass the search filters and the Tools menu to main-container.inc as the aside block, as other pages with a filter form do, and keep the forms and the modal inside the main content. The jsinclude macro stays after the wrapper. Add Cypress tests for the menu entry. To test: 1. Apply the patches, yarn build 2. Enable NoticesManagement and log in as a user with the view_generated_notices permission 3. Go to Tools > Notices and slips => 'Notices management' has an icon, like the links around it 4. Click 'Toggle sidebar' => The sidebar shrinks to icons with no text spilling out 5. Go to Tools > Notices management => The sidebar has a 'Toggle sidebar' button. Collapse it: the search filters are hidden, the Tools menu icons remain, and the content fills the width. Expand it: the filters are back 6. Search with the filters => The results show as before 7. Run the Cypress specs t/cypress/integration/Sidebar_spec.ts t/cypress/integration/Tools/NoticesManagement_spec.ts => All tests pass Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.