[Bug 43576] New: Add icon-only collapsed mode to staff interface sidebar menus
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Bug ID: 43576 Summary: Add icon-only collapsed mode to staff interface sidebar menus Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Staff interface Assignee: koha-bugs@lists.koha-community.org Reporter: martin.renvoize@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Target Milestone: --- This patch enhances the sidebar collapse feature added in bug 42322. Currently, collapsing the sidebar hides all menu links, leaving only the toggle button. This wastes the remaining horizontal space and removes quick access to the menu's options entirely. This patch: - Moves the collapse toggle button inside the grey sidebar background, so it visually reads as part of the menu it controls, rather than a separate floating button. - Introduces an opt-in icon-collapse mode: once a sidebar menu is enhanced with icons, collapsing it shows a narrow icon-only rail (with hover tooltips and the current page still highlighted) instead of hiding everything. - Persists the collapsed/expanded state across page loads using localStorage. - Converts the following sidebar menus to icon-collapse mode: Circulation (patron-context menu and module nav), Cataloguing, Tools, System preferences, Reports, Bibliographic record view, Serials, Labels, Point of sale, Guided reports view, and the Vue-driven Vendor, Acquisitions and Administration menus. Menus not yet converted (facets/tags/search-filter sidebars, and the ERM/ILL/Preservation/SIP2 Vue module navigation) keep today's collapse-to-blank behaviour and can be converted in follow-up patches using the same pattern. Test plan: 1. Apply the patch and rebuild the staff interface assets (yarn build). 2. Log in to the staff interface and go to a patron's detail page (Patrons > search a patron > Details). 3. Confirm the toggle button now sits flush inside the grey sidebar background rather than floating as a separate bordered button. 4. Click the toggle to collapse the sidebar. Confirm the circulation patron menu collapses to a narrow icon-only rail, each icon shows a tooltip on hover, and the current page's icon is still highlighted. 5. Reload the page. Confirm the sidebar remains collapsed (state is remembered across page loads). 6. Expand the sidebar again and visit a page using a menu that has NOT been converted yet (e.g. a facets/filter sidebar). Collapse it and confirm it still collapses to a blank rail as before (no regression). 7. Repeat steps 2-5 for a sample of the converted menus: Cataloguing (e.g. Inventory), Tools, Administration > System preferences, Reports, a bibliographic record's Detail page, Serials, Label creator, Point of sale, Guided reports. 8. Repeat for the Vue-driven menus: Acquisitions home, a vendor's detail page, and Administration (e.g. Authorized values). Confirm icons show, collapse works, and the active page is still highlighted when collapsed. 9. Run the Sidebar_spec.ts Cypress test and confirm it still passes. 10. Sign off. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #1 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206363 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206363&action=edit Bug 43576: Sidebar: seat the collapse toggle inside the grey menu band, add icon-collapse support and persist state The sidebar collapse toggle (Bug 42322) currently floats as a bordered/shadowed button pinned to the edge of the aside, visually disconnected from the grey .sidebar_menu box it controls. This styles the toggle to sit flush inside that same grey band instead. It also introduces an opt-in `.sidebar_menu.icon-collapse` modifier: when present, collapsing the sidebar keeps each link's icon visible and hides only its text label, instead of blanking the whole menu. Menus that haven't been converted yet keep today's blanket-hide behaviour, so this is safe to land ahead of converting every module menu. Finally, the collapsed/expanded state is now remembered in localStorage across page loads, since previously it silently reset to expanded on every navigation. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #2 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206364 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206364&action=edit Bug 43576: Sidebar: convert circulation menu to icon-collapse mode Prototype the new icon-collapse convention on the circulation/patron sidebar menu: each link gets a FontAwesome icon plus its label wrapped in a .menu-label span, and the menu opts into .icon-collapse so collapsing the sidebar leaves the icons (and active-page highlight) visible instead of hiding the whole menu. Other module menus keep today's collapse-to-blank behaviour until they get the same treatment in follow-up patches. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #3 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206365 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206365&action=edit Bug 43576: Sidebar: convert circulation module nav to icon-collapse mode Apply the icon-collapse pattern to circ-nav.inc, the general Circulation-module sidebar (Check out, Check in, Holds, Transfers, Overdues, etc. shown on module-level pages like the Check-in screen). This is distinct from circ-menu.inc, the patron-context sidebar already converted, which only appears on pages tied to one patron. Same icon reused across analogous actions in different groups (e.g. "queue"/"to pull"/"awaiting pickup" share an icon between Holds and Recalls) to keep the icon-only collapsed view legible. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #4 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206366 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206366&action=edit Bug 43576: Sidebar: scope icon-collapse CSS to actual nav lists, hide known sub-lists The icon-collapse rules used bare li/a selectors, which also matched list items inside unrelated <ol> filter forms embedded in some sidebar menus (e.g. serials-menu.inc's date-range filter), unhiding them when collapsed. Scope the rules to ul li / ul li > a instead, since none of the sidebar's filter forms use <ul>. Also explicitly hide two known nested sub-lists that don't carry their own icons and aren't meant to survive collapse: prefs-menu.inc's per-tab jump-link subtabs (.pref-subtabs) and biblio-view-menu.inc's item barcode list (#items_submenu). -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #5 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206367 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206367&action=edit Bug 43576: Sidebar: convert cataloguing menu to icon-collapse mode -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #6 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206368 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206368&action=edit Bug 43576: Sidebar: convert tools menu to icon-collapse mode -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #7 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206369 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206369&action=edit Bug 43576: Sidebar: convert system preferences menu to icon-collapse mode Each of the 21 preference tabs gets an icon; the per-tab jump-link subtabs shown under the active tab are wrapped in a .pref-subtabs class so they're hidden (not icon-collapsed) when the sidebar is collapsed, since they have no natural icon representation. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #8 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206370 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206370&action=edit Bug 43576: Sidebar: convert reports menu to icon-collapse mode -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #9 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206371 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206371&action=edit Bug 43576: Sidebar: convert bibliographic record view menu to icon-collapse mode -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #10 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206372 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206372&action=edit Bug 43576: Sidebar: convert serials menu to icon-collapse mode -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #11 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206373 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206373&action=edit Bug 43576: Sidebar: convert labels menu to icon-collapse mode -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #12 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206374 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206374&action=edit Bug 43576: Sidebar: convert point of sale menu to icon-collapse mode -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #14 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206376 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206376&action=edit Bug 43576: Sidebar: extend icon-collapse support to the Vue NavigationItem tree NavigationItem.vue (used by ERM, ILL, Preservation, SIP2 and other Vue-driven module sidebars via LeftMenu.vue) already rendered a per-item icon when the route declared one, but wrapped the link text in a bare <span> with no way for the collapse CSS to hide just the label. Add the menu-label class to that span, opt LeftMenu.vue's generic sidebar_menu into icon-collapse, and relax the CSS from a direct-child to a descendant combinator to reach the <a> through NavigationItem's extra wrapping <span>. Also add an icon-collapse active-state highlight for Vue Router's router-link-active class, mirroring the border/background TT menus already get from .active, since collapsed icons would otherwise have no way to show which page is current. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #15 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206377 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206377&action=edit Bug 43576: Sidebar: convert vendor menu (Vue) to icon-collapse mode -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #16 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206378 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206378&action=edit Bug 43576: Sidebar: convert acquisitions menu (Vue) to icon-collapse mode -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #17 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206379 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206379&action=edit Bug 43576: Sidebar: convert administration menu (Vue) to icon-collapse mode -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oleonard@myacpl.org Assignee|koha-bugs@lists.koha-commun |martin.renvoize@openfifth.c |ity.org |o.uk -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |42322 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42322 [Bug 42322] Collapse sidebar -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #18 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206380 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206380&action=edit Bug 43576: Sidebar: flatten nested sub-tree indentation in icon-collapse mode The Vue NavigationItem tree (ERM, SIP2, etc, rendered via LeftMenu.vue) supports real multi-level nesting (e.g. eHoldings > Local > Packages/ Titles in ERM), and LeftMenu.vue's own scoped style indents each nested <ul> by 2em for the expanded view. That indentation was still being applied when collapsed, so deeper icons drifted right with each level and fell outside the narrow 3rem icon rail entirely. Reset the nested-ul indentation (and its alternating background) to flush/transparent specifically in icon-collapse mode, so every level of a sub-tree renders as a plain icon in the same column. Hierarchy can't be conveyed through indentation once labels are hidden anyway. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #19 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206381 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206381&action=edit Bug 43576: Sidebar: extend grey background to full column height The sidebar's grey background only covered its own content (the aside and .sidebar_menu boxes are only as tall as their menu items), so on pages where the main content is taller than the sidebar the grey stopped abruptly below the last link, leaving a visible gap of plain background down to wherever the main content ends. Bootstrap's .row is a flex container, so #sidebar-container already stretches to match the taller sibling column's height; the aside itself just wasn't using that space. Give it the grey background and min-height: 100% so it fills the full column height when the main content is taller, while still shrinking to its own content when the sidebar is the taller side (no page-length changes, since this is a sibling-height match, not a viewport-height one). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #20 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206383 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206383&action=edit Bug 43576: (follow-up) Stretch the sidebar to the actual viewport bottom The previous patch only made the sidebar match its sibling column's height, which does nothing on the very common case where neither column has enough content to reach the bottom of the browser window -- the whole .row simply shrink-wraps to whatever short content exists. Make body a min-height:100vh flex column (Bootstrap's own documented sticky-footer/full-height pattern: display:flex, flex-direction:column, min-height:100vh, with the main content area set to flex:1 0 auto), with .main.container-fluid and its .row set to flex: 1 0 auto so they grow to fill the remaining space below the header/nav and above the existing body padding-bottom that already clears the fixed #changelanguage bar. Vue SPA modules (ERM, ILL, Preservation, SIP2, Acquisitions/vendors) render their own main-container-equivalent markup nested inside a per-app root div (#erm, #sip2, etc.) rather than main-container.inc being a direct child of body, with an extra unstyled wrapper div (the Vue root template's own top-level element) in between. Both of those need the same flex treatment to pass the stretch all the way down to .main.container-fluid. Verified across short and long pages, with and without a sidebar, for both classic TT pages and all Vue SPA modules, at various viewport heights. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jake.deery@openfifth.co.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lisette@bywatersolutions.co | |m -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Small patch Sponsorship status|--- |Unsponsored -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #206363|0 |1 is obsolete| | Attachment #206364|0 |1 is obsolete| | Attachment #206365|0 |1 is obsolete| | Attachment #206366|0 |1 is obsolete| | Attachment #206367|0 |1 is obsolete| | Attachment #206368|0 |1 is obsolete| | Attachment #206369|0 |1 is obsolete| | Attachment #206370|0 |1 is obsolete| | Attachment #206371|0 |1 is obsolete| | Attachment #206372|0 |1 is obsolete| | Attachment #206373|0 |1 is obsolete| | Attachment #206374|0 |1 is obsolete| | Attachment #206375|0 |1 is obsolete| | Attachment #206376|0 |1 is obsolete| | Attachment #206377|0 |1 is obsolete| | Attachment #206378|0 |1 is obsolete| | Attachment #206379|0 |1 is obsolete| | Attachment #206380|0 |1 is obsolete| | Attachment #206381|0 |1 is obsolete| | Attachment #206383|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #21 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206386 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206386&action=edit Bug 43576: Seat the collapse toggle inside the grey menu band, add icon-collapse support and persist state The sidebar collapse toggle (Bug 42322) currently floats as a bordered/shadowed button pinned to the edge of the aside, visually disconnected from the grey .sidebar_menu box it controls. This styles the toggle to sit flush inside that same grey band instead. It also introduces an opt-in `.sidebar_menu.icon-collapse` modifier: when present, collapsing the sidebar keeps each link's icon visible and hides only its text label, instead of blanking the whole menu. Menus that haven't been converted yet keep today's blanket-hide behaviour, so this is safe to land ahead of converting every module menu. Finally, the collapsed/expanded state is now remembered in localStorage across page loads, since previously it silently reset to expanded on every navigation. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #22 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206387 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206387&action=edit Bug 43576: Scope icon-collapse CSS to actual nav lists, hide known sub-lists The icon-collapse rules used bare li/a selectors, which also matched list items inside unrelated <ol> filter forms embedded in some sidebar menus (e.g. serials-menu.inc's date-range filter), unhiding them when collapsed. Scope the rules to ul li / ul li > a instead, since none of the sidebar's filter forms use <ul>. Also explicitly hide two known nested sub-lists that don't carry their own icons and aren't meant to survive collapse: prefs-menu.inc's per-tab jump-link subtabs (.pref-subtabs) and biblio-view-menu.inc's item barcode list (#items_submenu). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #23 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206388 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206388&action=edit Bug 43576: Extend grey background to full column height The sidebar's grey background only covered its own content (the aside and .sidebar_menu boxes are only as tall as their menu items), so on pages where the main content is taller than the sidebar the grey stopped abruptly below the last link, leaving a visible gap of plain background down to wherever the main content ends. Bootstrap's .row is a flex container, so #sidebar-container already stretches to match the taller sibling column's height; the aside itself just wasn't using that space. Give it the grey background and min-height: 100% so it fills the full column height when the main content is taller, while still shrinking to its own content when the sidebar is the taller side (no page-length changes, since this is a sibling-height match, not a viewport-height one). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #24 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206389 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206389&action=edit Bug 43576: Stretch the sidebar to the actual viewport bottom The previous patch only made the sidebar match its sibling column's height, which does nothing on the very common case where neither column has enough content to reach the bottom of the browser window -- the whole .row simply shrink-wraps to whatever short content exists. Make body a min-height:100vh flex column (Bootstrap's own documented sticky-footer/full-height pattern: display:flex, flex-direction:column, min-height:100vh, with the main content area set to flex:1 0 auto), with .main.container-fluid and its .row set to flex: 1 0 auto so they grow to fill the remaining space below the header/nav and above the existing body padding-bottom that already clears the fixed Vue SPA modules (ERM, ILL, Preservation, SIP2, Acquisitions/vendors) render their own main-container-equivalent markup nested inside a per-app root div (#erm, #sip2, etc.) rather than main-container.inc being a direct child of body, with an extra unstyled wrapper div (the Vue root template's own top-level element) in between. Both of those need the same flex treatment to pass the stretch all the way down to .main.container-fluid. Verified across short and long pages, with and without a sidebar, for both classic TT pages and all Vue SPA modules, at various viewport heights. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #25 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206390 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206390&action=edit Bug 43576: Convert circulation menu to icon-collapse mode Prototype the new icon-collapse convention on the circulation/patron sidebar menu: each link gets a FontAwesome icon plus its label wrapped in a .menu-label span, and the menu opts into .icon-collapse so collapsing the sidebar leaves the icons (and active-page highlight) visible instead of hiding the whole menu. Other module menus keep today's collapse-to-blank behaviour until they get the same treatment in follow-up patches. Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "Patrons", search for and open any patron's record. 3. On the patron's "Details" page, confirm the left sidebar (Check out, Details, Accounting, etc.) now shows an icon next to each link. 4. Click the toggle at the top of the sidebar to collapse it; confirm it shrinks to an icon-only rail, each icon shows its label as a tooltip on hover, and the current page's icon stays highlighted. 5. Click the toggle again to expand; confirm the labels return. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #26 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206391 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206391&action=edit Bug 43576: Convert circulation module nav to icon-collapse mode Apply the icon-collapse pattern to circ-nav.inc, the general Circulation-module sidebar (Check out, Check in, Holds, Transfers, Overdues, etc. shown on module-level pages like the Check-in screen). This is distinct from circ-menu.inc, the patron-context sidebar already converted, which only appears on pages tied to one patron. Same icon reused across analogous actions in different groups (e.g. "queue"/"to pull"/"awaiting pickup" share an icon between Holds and Recalls) to keep the icon-only collapsed view legible. Test plan: 1. No system preference changes required for the core menu (a few optional links -- Routing lists, On-site checkouts, Curbside pickups, Recalls -- only appear when their respective preferences are enabled). 2. Log in to the staff interface, click "Circulation" in the top navigation, then "Check-in" (or any other Circulation page). 3. Confirm the left sidebar (Check out, Check in, Holds, Transfers, Overdues, etc.) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #27 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206392 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206392&action=edit Bug 43576: Convert cataloguing menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Cataloging". 3. Click any link in the left sidebar (e.g. "Inventory" under Reports); confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #28 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206393 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206393&action=edit Bug 43576: Convert tools menu to icon-collapse mode Test plan: 1. No system preference changes required for the core menu (some optional links -- e.g. Rotating collections, Upload patron images, OPAC problem reports -- only appear when their respective preferences/permissions are enabled). 2. Log in to the staff interface, click "More" in the top navigation, then "Tools". 3. Click any tool (e.g. "Notices and slips"); confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #29 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206394 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206394&action=edit Bug 43576: Convert system preferences menu to icon-collapse mode Each of the 21 preference tabs gets an icon; the per-tab jump-link subtabs shown under the active tab are wrapped in a .pref-subtabs class so they're hidden (not icon-collapsed) when the sidebar is collapsed, since they have no natural icon representation. Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Administration", then "System preferences". 3. Confirm each of the 21 preference tabs (Accounting, Acquisitions, Administration, ...) now shows an icon, and that the active tab's sub-section jump links still appear below it when expanded. 4. Collapse the sidebar; confirm it shrinks to a flat icon-only rail (the active tab's sub-links are hidden while collapsed, since they have no natural icon), with the active tab's icon still highlighted. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #30 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206395 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206395&action=edit Bug 43576: Convert reports menu to icon-collapse mode Test plan: 1. No system preference changes required (the "Report plugins" section only appears when plugins are enabled). 2. Log in to the staff interface, click "More" in the top navigation, then "Reports". 3. Confirm each sidebar link (Guided reports, Build new, statistics wizards, top lists, etc.) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #31 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206396 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206396&action=edit Bug 43576: Convert bibliographic record view menu to icon-collapse mode Test plan: 1. No system preference changes are required for the core tabs (Normal, Items, Checkout history). To see the full set of optional tabs, also enable: viewMARC, viewLabeledMARC, viewISBD, EasyAnalyticalRecords, ArticleRequests, and UseRecalls. 2. Log in to the staff interface, search the catalog for any record, and open its detail page. 3. Confirm each sidebar link (Normal, MARC, Items, Holds, Checkout history, etc.) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted; if the record has items, confirm the item barcode sub-list stays hidden while collapsed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #32 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206397 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206397&action=edit Bug 43576: Convert serials menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Serials", then open any subscription (or "Claims"). 3. Confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #33 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206398 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206398&action=edit Bug 43576: Convert labels menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Tools", then "Label creator". 3. Confirm each sidebar link (Label batches, Label layouts, Label templates, Printer profiles, Print barcode range) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. -- You are receiving this mail because: You are watching all bug changes.
Cash registers) for the logged-in library.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #34 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206399 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206399&action=edit Bug 43576: Convert point of sale menu to icon-collapse mode Test plan: 1. Enable the EnablePointOfSale and UseCashRegisters system preferences, and set up at least one cash register (Administration 2. Log in to the staff interface, click "More" in the top navigation, then "Point of sale". 3. Confirm the sidebar (Point of sale, Transaction history, Cash summary, and, with the right permissions, Configure cash registers / Configure items for purchase) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #35 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206400 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206400&action=edit Bug 43576: Convert guided reports view menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Reports", then "Guided reports". 3. Confirm the sidebar (Saved reports, View dictionary, Koha report library, Koha database schema) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #36 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206401 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206401&action=edit Bug 43576: Extend icon-collapse support to the Vue NavigationItem tree NavigationItem.vue (used by ERM, ILL, Preservation, SIP2 and other Vue-driven module sidebars via LeftMenu.vue) already rendered a per-item icon when the route declared one, but wrapped the link text in a bare <span> with no way for the collapse CSS to hide just the label. Add the menu-label class to that span, opt LeftMenu.vue's generic sidebar_menu into icon-collapse, and relax the CSS from a direct-child to a descendant combinator to reach the <a> through NavigationItem's extra wrapping <span>. Also add an icon-collapse active-state highlight for Vue Router's router-link-active class, mirroring the border/background TT menus already get from .active, since collapsed icons would otherwise have no way to show which page is current. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #37 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206402 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206402&action=edit Bug 43576: Flatten nested sub-tree indentation in icon-collapse mode The Vue NavigationItem tree (ERM, SIP2, etc, rendered via LeftMenu.vue) supports real multi-level nesting (e.g. eHoldings > Local > Packages/ Titles in ERM), and LeftMenu.vue's own scoped style indents each nested <ul> by 2em for the expanded view. That indentation was still being applied when collapsed, so deeper icons drifted right with each level and fell outside the narrow 3rem icon rail entirely. Reset the nested-ul indentation (and its alternating background) to flush/transparent specifically in icon-collapse mode, so every level of a sub-tree renders as a plain icon in the same column. Hierarchy can't be conveyed through indentation once labels are hidden anyway. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #38 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206403 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206403&action=edit Bug 43576: Convert vendor menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required. Requires at least one vendor to exist (Acquisitions > Vendor search > New vendor, if needed). 2. Log in to the staff interface, click "More" in the top navigation, then "Acquisitions", then search for and open any vendor. 3. Confirm the sidebar (Baskets, Basket groups, Contracts, Vendor issues, Invoices, Uncertain prices, and, if the ERM module is enabled, ERM agreements/ERM licenses) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #39 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206404 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206404&action=edit Bug 43576: Convert acquisitions menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Acquisitions". 3. Confirm the sidebar (Acquisitions home, Advanced search, Late orders, Suggestions, Invoices, Reports, Administration, etc.) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #40 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206405 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206405&action=edit Bug 43576: Convert administration menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required for the core sections; a few optional links (e.g. Self-service circulation (SIP2), Desks, EDI accounts) only appear when their respective preferences/permissions are enabled. 2. Log in to the staff interface, click "More" in the top navigation, then "Administration", then any non-System-preferences page (e.g. "Authorized values"). 3. Confirm the sidebar (System preferences, Basic parameters, Patrons and circulation, Accounting, Plugins, Jobs, Catalog, Acquisition parameters, Additional parameters) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #41 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206407 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206407&action=edit Bug 43576: Add a divider between icon-collapse groups Several menus group their links under <h5> headings (Cataloging, Tools, Reports, Serials, Point of sale, Guided reports view, Circulation module nav, and the Vue Administration/Acquisitions menus). Those headings are hidden in icon-collapse mode, which left no visual cue separating one group's icons from the next. Add a thin border-top on the first icon of each group (skipping the menu's very first group, which needs no separator) as a lightweight substitute for the hidden heading -- the same "divider between icon clusters" pattern used by VS Code's activity bar, Slack, and similar icon rails. Menus with a single flat list (e.g. circ-menu, prefs-menu, biblio-view-menu, vendor-menu) are unaffected, since they have no <h5> groups to begin with. Test plan: 1. Log in to the staff interface and open a page using a grouped menu, e.g. More > Cataloging, or Administration > Authorized values. 2. Expand the sidebar; confirm the group headings (Import, Export, Reports, ... or System preferences, Basic parameters, ...) still render normally. 3. Collapse the sidebar; confirm a thin divider line now appears between each group's icons, with no divider above the very first group. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Initiative type|--- |Feature Target Milestone|--- |26.11 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Biblibre Sandboxes <sandboxes@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #206386|0 |1 is obsolete| | Attachment #206387|0 |1 is obsolete| | Attachment #206388|0 |1 is obsolete| | Attachment #206389|0 |1 is obsolete| | Attachment #206390|0 |1 is obsolete| | Attachment #206391|0 |1 is obsolete| | Attachment #206392|0 |1 is obsolete| | Attachment #206393|0 |1 is obsolete| | Attachment #206394|0 |1 is obsolete| | Attachment #206395|0 |1 is obsolete| | Attachment #206396|0 |1 is obsolete| | Attachment #206397|0 |1 is obsolete| | Attachment #206398|0 |1 is obsolete| | Attachment #206399|0 |1 is obsolete| | Attachment #206400|0 |1 is obsolete| | Attachment #206401|0 |1 is obsolete| | Attachment #206402|0 |1 is obsolete| | Attachment #206403|0 |1 is obsolete| | Attachment #206404|0 |1 is obsolete| | Attachment #206405|0 |1 is obsolete| | Attachment #206407|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #42 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206410 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206410&action=edit Bug 43576: Seat the collapse toggle inside the grey menu band, add icon-collapse support and persist state The sidebar collapse toggle (Bug 42322) currently floats as a bordered/shadowed button pinned to the edge of the aside, visually disconnected from the grey .sidebar_menu box it controls. This styles the toggle to sit flush inside that same grey band instead. It also introduces an opt-in `.sidebar_menu.icon-collapse` modifier: when present, collapsing the sidebar keeps each link's icon visible and hides only its text label, instead of blanking the whole menu. Menus that haven't been converted yet keep today's blanket-hide behaviour, so this is safe to land ahead of converting every module menu. Finally, the collapsed/expanded state is now remembered in localStorage across page loads, since previously it silently reset to expanded on every navigation. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #43 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206411 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206411&action=edit Bug 43576: Scope icon-collapse CSS to actual nav lists, hide known sub-lists The icon-collapse rules used bare li/a selectors, which also matched list items inside unrelated <ol> filter forms embedded in some sidebar menus (e.g. serials-menu.inc's date-range filter), unhiding them when collapsed. Scope the rules to ul li / ul li > a instead, since none of the sidebar's filter forms use <ul>. Also explicitly hide two known nested sub-lists that don't carry their own icons and aren't meant to survive collapse: prefs-menu.inc's per-tab jump-link subtabs (.pref-subtabs) and biblio-view-menu.inc's item barcode list (#items_submenu). Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #44 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206412 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206412&action=edit Bug 43576: Extend grey background to full column height The sidebar's grey background only covered its own content (the aside and .sidebar_menu boxes are only as tall as their menu items), so on pages where the main content is taller than the sidebar the grey stopped abruptly below the last link, leaving a visible gap of plain background down to wherever the main content ends. Bootstrap's .row is a flex container, so #sidebar-container already stretches to match the taller sibling column's height; the aside itself just wasn't using that space. Give it the grey background and min-height: 100% so it fills the full column height when the main content is taller, while still shrinking to its own content when the sidebar is the taller side (no page-length changes, since this is a sibling-height match, not a viewport-height one). Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #45 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206413 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206413&action=edit Bug 43576: Stretch the sidebar to the actual viewport bottom The previous patch only made the sidebar match its sibling column's height, which does nothing on the very common case where neither column has enough content to reach the bottom of the browser window -- the whole .row simply shrink-wraps to whatever short content exists. Make body a min-height:100vh flex column (Bootstrap's own documented sticky-footer/full-height pattern: display:flex, flex-direction:column, min-height:100vh, with the main content area set to flex:1 0 auto), with .main.container-fluid and its .row set to flex: 1 0 auto so they grow to fill the remaining space below the header/nav and above the existing body padding-bottom that already clears the fixed Vue SPA modules (ERM, ILL, Preservation, SIP2, Acquisitions/vendors) render their own main-container-equivalent markup nested inside a per-app root div (#erm, #sip2, etc.) rather than main-container.inc being a direct child of body, with an extra unstyled wrapper div (the Vue root template's own top-level element) in between. Both of those need the same flex treatment to pass the stretch all the way down to .main.container-fluid. Verified across short and long pages, with and without a sidebar, for both classic TT pages and all Vue SPA modules, at various viewport heights. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #46 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206414 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206414&action=edit Bug 43576: Convert circulation menu to icon-collapse mode Prototype the new icon-collapse convention on the circulation/patron sidebar menu: each link gets a FontAwesome icon plus its label wrapped in a .menu-label span, and the menu opts into .icon-collapse so collapsing the sidebar leaves the icons (and active-page highlight) visible instead of hiding the whole menu. Other module menus keep today's collapse-to-blank behaviour until they get the same treatment in follow-up patches. Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "Patrons", search for and open any patron's record. 3. On the patron's "Details" page, confirm the left sidebar (Check out, Details, Accounting, etc.) now shows an icon next to each link. 4. Click the toggle at the top of the sidebar to collapse it; confirm it shrinks to an icon-only rail, each icon shows its label as a tooltip on hover, and the current page's icon stays highlighted. 5. Click the toggle again to expand; confirm the labels return. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #47 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206415 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206415&action=edit Bug 43576: Convert circulation module nav to icon-collapse mode Apply the icon-collapse pattern to circ-nav.inc, the general Circulation-module sidebar (Check out, Check in, Holds, Transfers, Overdues, etc. shown on module-level pages like the Check-in screen). This is distinct from circ-menu.inc, the patron-context sidebar already converted, which only appears on pages tied to one patron. Same icon reused across analogous actions in different groups (e.g. "queue"/"to pull"/"awaiting pickup" share an icon between Holds and Recalls) to keep the icon-only collapsed view legible. Test plan: 1. No system preference changes required for the core menu (a few optional links -- Routing lists, On-site checkouts, Curbside pickups, Recalls -- only appear when their respective preferences are enabled). 2. Log in to the staff interface, click "Circulation" in the top navigation, then "Check-in" (or any other Circulation page). 3. Confirm the left sidebar (Check out, Check in, Holds, Transfers, Overdues, etc.) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #48 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206416 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206416&action=edit Bug 43576: Convert cataloguing menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Cataloging". 3. Click any link in the left sidebar (e.g. "Inventory" under Reports); confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #49 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206417 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206417&action=edit Bug 43576: Convert tools menu to icon-collapse mode Test plan: 1. No system preference changes required for the core menu (some optional links -- e.g. Rotating collections, Upload patron images, OPAC problem reports -- only appear when their respective preferences/permissions are enabled). 2. Log in to the staff interface, click "More" in the top navigation, then "Tools". 3. Click any tool (e.g. "Notices and slips"); confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #50 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206418 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206418&action=edit Bug 43576: Convert system preferences menu to icon-collapse mode Each of the 21 preference tabs gets an icon; the per-tab jump-link subtabs shown under the active tab are wrapped in a .pref-subtabs class so they're hidden (not icon-collapsed) when the sidebar is collapsed, since they have no natural icon representation. Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Administration", then "System preferences". 3. Confirm each of the 21 preference tabs (Accounting, Acquisitions, Administration, ...) now shows an icon, and that the active tab's sub-section jump links still appear below it when expanded. 4. Collapse the sidebar; confirm it shrinks to a flat icon-only rail (the active tab's sub-links are hidden while collapsed, since they have no natural icon), with the active tab's icon still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #51 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206419 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206419&action=edit Bug 43576: Convert reports menu to icon-collapse mode Test plan: 1. No system preference changes required (the "Report plugins" section only appears when plugins are enabled). 2. Log in to the staff interface, click "More" in the top navigation, then "Reports". 3. Confirm each sidebar link (Guided reports, Build new, statistics wizards, top lists, etc.) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #52 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206420 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206420&action=edit Bug 43576: Convert bibliographic record view menu to icon-collapse mode Test plan: 1. No system preference changes are required for the core tabs (Normal, Items, Checkout history). To see the full set of optional tabs, also enable: viewMARC, viewLabeledMARC, viewISBD, EasyAnalyticalRecords, ArticleRequests, and UseRecalls. 2. Log in to the staff interface, search the catalog for any record, and open its detail page. 3. Confirm each sidebar link (Normal, MARC, Items, Holds, Checkout history, etc.) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted; if the record has items, confirm the item barcode sub-list stays hidden while collapsed. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #53 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206421 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206421&action=edit Bug 43576: Convert serials menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Serials", then open any subscription (or "Claims"). 3. Confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #54 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206422 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206422&action=edit Bug 43576: Convert labels menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Tools", then "Label creator". 3. Confirm each sidebar link (Label batches, Label layouts, Label templates, Printer profiles, Print barcode range) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
Cash registers) for the logged-in library.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #55 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206423 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206423&action=edit Bug 43576: Convert point of sale menu to icon-collapse mode Test plan: 1. Enable the EnablePointOfSale and UseCashRegisters system preferences, and set up at least one cash register (Administration 2. Log in to the staff interface, click "More" in the top navigation, then "Point of sale". 3. Confirm the sidebar (Point of sale, Transaction history, Cash summary, and, with the right permissions, Configure cash registers / Configure items for purchase) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #56 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206424 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206424&action=edit Bug 43576: Convert guided reports view menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Reports", then "Guided reports". 3. Confirm the sidebar (Saved reports, View dictionary, Koha report library, Koha database schema) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #57 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206425 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206425&action=edit Bug 43576: Extend icon-collapse support to the Vue NavigationItem tree NavigationItem.vue (used by ERM, ILL, Preservation, SIP2 and other Vue-driven module sidebars via LeftMenu.vue) already rendered a per-item icon when the route declared one, but wrapped the link text in a bare <span> with no way for the collapse CSS to hide just the label. Add the menu-label class to that span, opt LeftMenu.vue's generic sidebar_menu into icon-collapse, and relax the CSS from a direct-child to a descendant combinator to reach the <a> through NavigationItem's extra wrapping <span>. Also add an icon-collapse active-state highlight for Vue Router's router-link-active class, mirroring the border/background TT menus already get from .active, since collapsed icons would otherwise have no way to show which page is current. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #58 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206426 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206426&action=edit Bug 43576: Flatten nested sub-tree indentation in icon-collapse mode The Vue NavigationItem tree (ERM, SIP2, etc, rendered via LeftMenu.vue) supports real multi-level nesting (e.g. eHoldings > Local > Packages/ Titles in ERM), and LeftMenu.vue's own scoped style indents each nested <ul> by 2em for the expanded view. That indentation was still being applied when collapsed, so deeper icons drifted right with each level and fell outside the narrow 3rem icon rail entirely. Reset the nested-ul indentation (and its alternating background) to flush/transparent specifically in icon-collapse mode, so every level of a sub-tree renders as a plain icon in the same column. Hierarchy can't be conveyed through indentation once labels are hidden anyway. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #59 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206427 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206427&action=edit Bug 43576: Convert vendor menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required. Requires at least one vendor to exist (Acquisitions > Vendor search > New vendor, if needed). 2. Log in to the staff interface, click "More" in the top navigation, then "Acquisitions", then search for and open any vendor. 3. Confirm the sidebar (Baskets, Basket groups, Contracts, Vendor issues, Invoices, Uncertain prices, and, if the ERM module is enabled, ERM agreements/ERM licenses) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #60 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206428 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206428&action=edit Bug 43576: Convert acquisitions menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Acquisitions". 3. Confirm the sidebar (Acquisitions home, Advanced search, Late orders, Suggestions, Invoices, Reports, Administration, etc.) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #61 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206429 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206429&action=edit Bug 43576: Convert administration menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required for the core sections; a few optional links (e.g. Self-service circulation (SIP2), Desks, EDI accounts) only appear when their respective preferences/permissions are enabled. 2. Log in to the staff interface, click "More" in the top navigation, then "Administration", then any non-System-preferences page (e.g. "Authorized values"). 3. Confirm the sidebar (System preferences, Basic parameters, Patrons and circulation, Accounting, Plugins, Jobs, Catalog, Acquisition parameters, Additional parameters) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #62 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 206430 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206430&action=edit Bug 43576: Add a divider between icon-collapse groups Several menus group their links under <h5> headings (Cataloging, Tools, Reports, Serials, Point of sale, Guided reports view, Circulation module nav, and the Vue Administration/Acquisitions menus). Those headings are hidden in icon-collapse mode, which left no visual cue separating one group's icons from the next. Add a thin border-top on the first icon of each group (skipping the menu's very first group, which needs no separator) as a lightweight substitute for the hidden heading -- the same "divider between icon clusters" pattern used by VS Code's activity bar, Slack, and similar icon rails. Menus with a single flat list (e.g. circ-menu, prefs-menu, biblio-view-menu, vendor-menu) are unaffected, since they have no <h5> groups to begin with. Test plan: 1. Log in to the staff interface and open a page using a grouped menu, e.g. More > Cataloging, or Administration > Authorized values. 2. Expand the sidebar; confirm the group headings (Import, Export, Reports, ... or System preferences, Basic parameters, ...) still render normally. 3. Collapse the sidebar; confirm a thin divider line now appears between each group's icons, with no divider above the very first group. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Michaela Sieber <michaela.sieber@kit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michaela.sieber@kit.edu Status|Needs Signoff |Signed Off --- Comment #63 from Michaela Sieber <michaela.sieber@kit.edu> --- works as advertised -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Michelle Spinney <mspinney@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mspinney@clamsnet.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #64 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206881 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206881&action=edit Bug 43576: (follow-up) Seat the collapse toggle without an extra whitespace band QA feedback: the toggle's own .sidebar-toggle row sat above the grey .sidebar_menu box, adding its own top padding on top of that box's, which left a mostly-empty grey strip at the top of the bar whenever it was expanded. Drop that separate row. The button is now absolutely positioned in the grey box's own top-right corner (aside is already position:relative), and .sidebar_menu reserves just enough top padding to clear it, so there's a single continuous grey box with the toggle seated in its corner instead of a seam between two boxes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #65 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206882 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206882&action=edit Bug 43576: (follow-up) De-emphasise menu icons alongside labels QA feedback: several staff found the expanded (non-collapsed) sidebar menus more cluttered now that every link shows both an icon and a label; before this branch these menus were text-only, so the icons are new visual weight nobody opted into. Icons only need to carry the full meaning on their own once they're collapsed down to icon-only mode. While the label is still there alongside them, mute the icon to a lighter grey and a touch smaller than the label, so the label reads as the primary content and the icon recedes to a secondary affordance. Restore full icon strength (colour inherited from the link, so active/hover states still tint it) once collapsed mode makes the icon the only thing left to read. Give the icon an explicit margin-right for consistent spacing too, rather than relying on incidental markup whitespace between <i> and the label: the plain .inc templates have a literal space character there, but in the Vue components that whitespace spans a newline and gets stripped entirely by Vue's template compiler, so the two templating systems rendered inconsistent gaps otherwise. Drop the now- redundant literal space from the .inc templates so the gap comes from the same CSS margin everywhere. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #66 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 206883 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206883&action=edit Bug 43576: (follow-up) Disambiguate icons reused across menu groups QA feedback: collapsing a menu down to icon-only sometimes stacks the same icon in two different groups with nothing to tell them apart, e.g. circulation's Holds and Recalls groups both used fa-list-check, fa-hand, and fa-box-open for their equivalent queue/pull/awaiting-pickup actions, and acquisitions' three "Manage ... fields" screens all used fa-list-check. Give the concrete clashes found so far more distinct icons: - circ-nav.inc: Recalls queue/to pull/awaiting pickup get their own icons instead of borrowing the Holds group's. - AcquisitionsMenu.vue: the invoice/basket/order-line "Manage fields" entries each get their own icon. Also thicken and darken the divider that marks a group boundary when collapsed (a hidden heading no longer visually separates the groups on its own), and tighten the gap above it: the previous group's <ul> was still carrying its normal-mode margin-bottom, stacking with the divider's own margin-top to read as more empty space than the divider needed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #67 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Added a few additional tweaks based on feedback from the chat. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |lucas@bywatersolutions.com |y.org | CC| |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |release-notes-needed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |Enhance the collapsible release notes| |side menu to make it | |navigable whilst collapsed. | | | |Add icons to all side menus | |in the staff client and | |then retain them after | |collapse and use hover to | |display menu 8tme text, | |click to navigate. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #68 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- -A label should never be set to display: none for accessibility reasons: .menu-label { display: none; } -Collapse the sidebar and move from page to page w/ sidebars, first you see the full menu before the JS fires and ( setSidebarState ) sets it to the collapsed view -Places like members/members-home.pl, the collapsed sidebar is awkward when there is nothing in it -The first thing setSidebarState should do is check " if $("#sidebar-container").length " and exit when it does not, so that things like mainContainer don't get altered when they should not -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #206410|0 |1 is obsolete| | Attachment #206411|0 |1 is obsolete| | Attachment #206412|0 |1 is obsolete| | Attachment #206413|0 |1 is obsolete| | Attachment #206414|0 |1 is obsolete| | Attachment #206415|0 |1 is obsolete| | Attachment #206416|0 |1 is obsolete| | Attachment #206417|0 |1 is obsolete| | Attachment #206418|0 |1 is obsolete| | Attachment #206419|0 |1 is obsolete| | Attachment #206420|0 |1 is obsolete| | Attachment #206421|0 |1 is obsolete| | Attachment #206422|0 |1 is obsolete| | Attachment #206423|0 |1 is obsolete| | Attachment #206424|0 |1 is obsolete| | Attachment #206425|0 |1 is obsolete| | Attachment #206426|0 |1 is obsolete| | Attachment #206427|0 |1 is obsolete| | Attachment #206428|0 |1 is obsolete| | Attachment #206429|0 |1 is obsolete| | Attachment #206430|0 |1 is obsolete| | Attachment #206881|0 |1 is obsolete| | Attachment #206882|0 |1 is obsolete| | Attachment #206883|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #69 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208484 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208484&action=edit Bug 43576: Seat the collapse toggle inside the grey menu band, add icon-collapse support and persist state The sidebar collapse toggle (Bug 42322) currently floats as a bordered/shadowed button pinned to the edge of the aside, visually disconnected from the grey .sidebar_menu box it controls. This styles the toggle to sit flush inside that same grey band instead. It also introduces an opt-in `.sidebar_menu.icon-collapse` modifier: when present, collapsing the sidebar keeps each link's icon visible and hides only its text label, instead of blanking the whole menu. Menus that haven't been converted yet keep today's blanket-hide behaviour, so this is safe to land ahead of converting every module menu. Finally, the collapsed/expanded state is now remembered in localStorage across page loads, since previously it silently reset to expanded on every navigation. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #70 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208485 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208485&action=edit Bug 43576: Scope icon-collapse CSS to actual nav lists, hide known sub-lists The icon-collapse rules used bare li/a selectors, which also matched list items inside unrelated <ol> filter forms embedded in some sidebar menus (e.g. serials-menu.inc's date-range filter), unhiding them when collapsed. Scope the rules to ul li / ul li > a instead, since none of the sidebar's filter forms use <ul>. Also explicitly hide two known nested sub-lists that don't carry their own icons and aren't meant to survive collapse: prefs-menu.inc's per-tab jump-link subtabs (.pref-subtabs) and biblio-view-menu.inc's item barcode list (#items_submenu). Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #71 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208486 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208486&action=edit Bug 43576: Extend grey background to full column height The sidebar's grey background only covered its own content (the aside and .sidebar_menu boxes are only as tall as their menu items), so on pages where the main content is taller than the sidebar the grey stopped abruptly below the last link, leaving a visible gap of plain background down to wherever the main content ends. Bootstrap's .row is a flex container, so #sidebar-container already stretches to match the taller sibling column's height; the aside itself just wasn't using that space. Give it the grey background and min-height: 100% so it fills the full column height when the main content is taller, while still shrinking to its own content when the sidebar is the taller side (no page-length changes, since this is a sibling-height match, not a viewport-height one). Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #72 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208487 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208487&action=edit Bug 43576: Stretch the sidebar to the actual viewport bottom The previous patch only made the sidebar match its sibling column's height, which does nothing on the very common case where neither column has enough content to reach the bottom of the browser window -- the whole .row simply shrink-wraps to whatever short content exists. Make body a min-height:100vh flex column (Bootstrap's own documented sticky-footer/full-height pattern: display:flex, flex-direction:column, min-height:100vh, with the main content area set to flex:1 0 auto), with .main.container-fluid and its .row set to flex: 1 0 auto so they grow to fill the remaining space below the header/nav and above the existing body padding-bottom that already clears the fixed Vue SPA modules (ERM, ILL, Preservation, SIP2, Acquisitions/vendors) render their own main-container-equivalent markup nested inside a per-app root div (#erm, #sip2, etc.) rather than main-container.inc being a direct child of body, with an extra unstyled wrapper div (the Vue root template's own top-level element) in between. Both of those need the same flex treatment to pass the stretch all the way down to .main.container-fluid. Verified across short and long pages, with and without a sidebar, for both classic TT pages and all Vue SPA modules, at various viewport heights. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #73 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208488 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208488&action=edit Bug 43576: Convert circulation menu to icon-collapse mode Prototype the new icon-collapse convention on the circulation/patron sidebar menu: each link gets a FontAwesome icon plus its label wrapped in a .menu-label span, and the menu opts into .icon-collapse so collapsing the sidebar leaves the icons (and active-page highlight) visible instead of hiding the whole menu. Other module menus keep today's collapse-to-blank behaviour until they get the same treatment in follow-up patches. Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "Patrons", search for and open any patron's record. 3. On the patron's "Details" page, confirm the left sidebar (Check out, Details, Accounting, etc.) now shows an icon next to each link. 4. Click the toggle at the top of the sidebar to collapse it; confirm it shrinks to an icon-only rail, each icon shows its label as a tooltip on hover, and the current page's icon stays highlighted. 5. Click the toggle again to expand; confirm the labels return. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #74 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208489 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208489&action=edit Bug 43576: Convert circulation module nav to icon-collapse mode Apply the icon-collapse pattern to circ-nav.inc, the general Circulation-module sidebar (Check out, Check in, Holds, Transfers, Overdues, etc. shown on module-level pages like the Check-in screen). This is distinct from circ-menu.inc, the patron-context sidebar already converted, which only appears on pages tied to one patron. Same icon reused across analogous actions in different groups (e.g. "queue"/"to pull"/"awaiting pickup" share an icon between Holds and Recalls) to keep the icon-only collapsed view legible. Test plan: 1. No system preference changes required for the core menu (a few optional links -- Routing lists, On-site checkouts, Curbside pickups, Recalls -- only appear when their respective preferences are enabled). 2. Log in to the staff interface, click "Circulation" in the top navigation, then "Check-in" (or any other Circulation page). 3. Confirm the left sidebar (Check out, Check in, Holds, Transfers, Overdues, etc.) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #75 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208490 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208490&action=edit Bug 43576: Convert cataloguing menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Cataloging". 3. Click any link in the left sidebar (e.g. "Inventory" under Reports); confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #76 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208491 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208491&action=edit Bug 43576: Convert tools menu to icon-collapse mode Test plan: 1. No system preference changes required for the core menu (some optional links -- e.g. Rotating collections, Upload patron images, OPAC problem reports -- only appear when their respective preferences/permissions are enabled). 2. Log in to the staff interface, click "More" in the top navigation, then "Tools". 3. Click any tool (e.g. "Notices and slips"); confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #77 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208492 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208492&action=edit Bug 43576: Convert system preferences menu to icon-collapse mode Each of the 21 preference tabs gets an icon; the per-tab jump-link subtabs shown under the active tab are wrapped in a .pref-subtabs class so they're hidden (not icon-collapsed) when the sidebar is collapsed, since they have no natural icon representation. Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Administration", then "System preferences". 3. Confirm each of the 21 preference tabs (Accounting, Acquisitions, Administration, ...) now shows an icon, and that the active tab's sub-section jump links still appear below it when expanded. 4. Collapse the sidebar; confirm it shrinks to a flat icon-only rail (the active tab's sub-links are hidden while collapsed, since they have no natural icon), with the active tab's icon still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #78 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208493 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208493&action=edit Bug 43576: Convert reports menu to icon-collapse mode Test plan: 1. No system preference changes required (the "Report plugins" section only appears when plugins are enabled). 2. Log in to the staff interface, click "More" in the top navigation, then "Reports". 3. Confirm each sidebar link (Guided reports, Build new, statistics wizards, top lists, etc.) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #79 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208494 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208494&action=edit Bug 43576: Convert bibliographic record view menu to icon-collapse mode Test plan: 1. No system preference changes are required for the core tabs (Normal, Items, Checkout history). To see the full set of optional tabs, also enable: viewMARC, viewLabeledMARC, viewISBD, EasyAnalyticalRecords, ArticleRequests, and UseRecalls. 2. Log in to the staff interface, search the catalog for any record, and open its detail page. 3. Confirm each sidebar link (Normal, MARC, Items, Holds, Checkout history, etc.) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted; if the record has items, confirm the item barcode sub-list stays hidden while collapsed. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #80 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208495 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208495&action=edit Bug 43576: Convert serials menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Serials", then open any subscription (or "Claims"). 3. Confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #81 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208496 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208496&action=edit Bug 43576: Convert labels menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Tools", then "Label creator". 3. Confirm each sidebar link (Label batches, Label layouts, Label templates, Printer profiles, Print barcode range) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
Cash registers) for the logged-in library.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #82 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208497 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208497&action=edit Bug 43576: Convert point of sale menu to icon-collapse mode Test plan: 1. Enable the EnablePointOfSale and UseCashRegisters system preferences, and set up at least one cash register (Administration 2. Log in to the staff interface, click "More" in the top navigation, then "Point of sale". 3. Confirm the sidebar (Point of sale, Transaction history, Cash summary, and, with the right permissions, Configure cash registers / Configure items for purchase) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #83 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208498 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208498&action=edit Bug 43576: Convert guided reports view menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Reports", then "Guided reports". 3. Confirm the sidebar (Saved reports, View dictionary, Koha report library, Koha database schema) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #84 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208499 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208499&action=edit Bug 43576: Extend icon-collapse support to the Vue NavigationItem tree NavigationItem.vue (used by ERM, ILL, Preservation, SIP2 and other Vue-driven module sidebars via LeftMenu.vue) already rendered a per-item icon when the route declared one, but wrapped the link text in a bare <span> with no way for the collapse CSS to hide just the label. Add the menu-label class to that span, opt LeftMenu.vue's generic sidebar_menu into icon-collapse, and relax the CSS from a direct-child to a descendant combinator to reach the <a> through NavigationItem's extra wrapping <span>. Also add an icon-collapse active-state highlight for Vue Router's router-link-active class, mirroring the border/background TT menus already get from .active, since collapsed icons would otherwise have no way to show which page is current. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #85 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208500 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208500&action=edit Bug 43576: Flatten nested sub-tree indentation in icon-collapse mode The Vue NavigationItem tree (ERM, SIP2, etc, rendered via LeftMenu.vue) supports real multi-level nesting (e.g. eHoldings > Local > Packages/ Titles in ERM), and LeftMenu.vue's own scoped style indents each nested <ul> by 2em for the expanded view. That indentation was still being applied when collapsed, so deeper icons drifted right with each level and fell outside the narrow 3rem icon rail entirely. Reset the nested-ul indentation (and its alternating background) to flush/transparent specifically in icon-collapse mode, so every level of a sub-tree renders as a plain icon in the same column. Hierarchy can't be conveyed through indentation once labels are hidden anyway. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #86 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208501 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208501&action=edit Bug 43576: Convert vendor menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required. Requires at least one vendor to exist (Acquisitions > Vendor search > New vendor, if needed). 2. Log in to the staff interface, click "More" in the top navigation, then "Acquisitions", then search for and open any vendor. 3. Confirm the sidebar (Baskets, Basket groups, Contracts, Vendor issues, Invoices, Uncertain prices, and, if the ERM module is enabled, ERM agreements/ERM licenses) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #87 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208502 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208502&action=edit Bug 43576: Convert acquisitions menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Acquisitions". 3. Confirm the sidebar (Acquisitions home, Advanced search, Late orders, Suggestions, Invoices, Reports, Administration, etc.) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #88 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208503 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208503&action=edit Bug 43576: Convert administration menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required for the core sections; a few optional links (e.g. Self-service circulation (SIP2), Desks, EDI accounts) only appear when their respective preferences/permissions are enabled. 2. Log in to the staff interface, click "More" in the top navigation, then "Administration", then any non-System-preferences page (e.g. "Authorized values"). 3. Confirm the sidebar (System preferences, Basic parameters, Patrons and circulation, Accounting, Plugins, Jobs, Catalog, Acquisition parameters, Additional parameters) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #89 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208504 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208504&action=edit Bug 43576: Add a divider between icon-collapse groups Several menus group their links under <h5> headings (Cataloging, Tools, Reports, Serials, Point of sale, Guided reports view, Circulation module nav, and the Vue Administration/Acquisitions menus). Those headings are hidden in icon-collapse mode, which left no visual cue separating one group's icons from the next. Add a thin border-top on the first icon of each group (skipping the menu's very first group, which needs no separator) as a lightweight substitute for the hidden heading -- the same "divider between icon clusters" pattern used by VS Code's activity bar, Slack, and similar icon rails. Menus with a single flat list (e.g. circ-menu, prefs-menu, biblio-view-menu, vendor-menu) are unaffected, since they have no <h5> groups to begin with. Test plan: 1. Log in to the staff interface and open a page using a grouped menu, e.g. More > Cataloging, or Administration > Authorized values. 2. Expand the sidebar; confirm the group headings (Import, Export, Reports, ... or System preferences, Basic parameters, ...) still render normally. 3. Collapse the sidebar; confirm a thin divider line now appears between each group's icons, with no divider above the very first group. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #90 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208505 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208505&action=edit Bug 43576: (follow-up) Seat the collapse toggle without an extra whitespace band QA feedback: the toggle's own .sidebar-toggle row sat above the grey .sidebar_menu box, adding its own top padding on top of that box's, which left a mostly-empty grey strip at the top of the bar whenever it was expanded. Drop that separate row. The button is now absolutely positioned in the grey box's own top-right corner (aside is already position:relative), and .sidebar_menu reserves just enough top padding to clear it, so there's a single continuous grey box with the toggle seated in its corner instead of a seam between two boxes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #91 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208506 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208506&action=edit Bug 43576: (follow-up) De-emphasise menu icons alongside labels QA feedback: several staff found the expanded (non-collapsed) sidebar menus more cluttered now that every link shows both an icon and a label; before this branch these menus were text-only, so the icons are new visual weight nobody opted into. Icons only need to carry the full meaning on their own once they're collapsed down to icon-only mode. While the label is still there alongside them, mute the icon to a lighter grey and a touch smaller than the label, so the label reads as the primary content and the icon recedes to a secondary affordance. Restore full icon strength (colour inherited from the link, so active/hover states still tint it) once collapsed mode makes the icon the only thing left to read. Give the icon an explicit margin-right for consistent spacing too, rather than relying on incidental markup whitespace between <i> and the label: the plain .inc templates have a literal space character there, but in the Vue components that whitespace spans a newline and gets stripped entirely by Vue's template compiler, so the two templating systems rendered inconsistent gaps otherwise. Drop the now- redundant literal space from the .inc templates so the gap comes from the same CSS margin everywhere. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #92 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208507 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208507&action=edit Bug 43576: (follow-up) Disambiguate icons reused across menu groups QA feedback: collapsing a menu down to icon-only sometimes stacks the same icon in two different groups with nothing to tell them apart, e.g. circulation's Holds and Recalls groups both used fa-list-check, fa-hand, and fa-box-open for their equivalent queue/pull/awaiting-pickup actions, and acquisitions' three "Manage ... fields" screens all used fa-list-check. Give the concrete clashes found so far more distinct icons: - circ-nav.inc: Recalls queue/to pull/awaiting pickup get their own icons instead of borrowing the Holds group's. - AcquisitionsMenu.vue: the invoice/basket/order-line "Manage fields" entries each get their own icon. Also thicken and darken the divider that marks a group boundary when collapsed (a hidden heading no longer visually separates the groups on its own), and tighten the gap above it: the previous group's <ul> was still carrying its normal-mode margin-bottom, stacking with the divider's own margin-top to read as more empty space than the divider needed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #93 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208508 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208508&action=edit Bug 43576: (follow-up) Apply the collapsed sidebar state before first paint QA feedback: collapse the sidebar and navigate to another page and the full menu shows briefly before the document-ready handler restores the collapsed state. The body is made visible before that handler runs, so the page painted expanded first. Set a sidebar-collapsed class on <html> from a small inline script in the document head, and let the stylesheet apply the collapsed width, the main column width and the chevron glyph from it. sidebar.js still sets .collapsed, the chevron classes and aria-expanded as before, so the existing behaviour and Sidebar_spec.ts are unchanged. This also stops sidebar.js from rewriting $("main").parent() on pages that have no sidebar at all, where a stored collapsed state turned the main column into col-md-12 at 90% width. setSidebarState now returns early when there is no #sidebar-container, and the main column width is handled in CSS under the same min-width as the toggle itself. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #94 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208509 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208509&action=edit Bug 43576: (follow-up) Keep collapsed menu labels available to assistive tech QA feedback: .menu-label was set to display: none when the sidebar collapses, which removes the label text from the accessibility tree. The links still got a name from their title attribute, but that is a weak fallback and gives the wrong name where the title is not the label: the circulation Overdues links were announced with their long warning tooltips rather than "Overdues" and "Overdues with fines". Use Bootstrap's visually-hidden mixin instead, so the label stays in the accessibility tree while looking exactly as before. The link becomes position: relative so the clipped label stays contained within it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #95 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208510 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208510&action=edit Bug 43576: (follow-up) Drop the grey rail when a collapsed sidebar is empty QA feedback: on pages like members/members-home.pl the sidebar holds only a filters form, which is hidden when collapsed, leaving an empty grey strip containing nothing but the toggle. When no .sidebar_menu.icon-collapse is present, make the collapsed sidebar transparent so only the chevron handle remains. Sidebars that still show an icon menu when collapsed keep their grey rail. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #96 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- (In reply to Lucas Gass (lukeg) from comment #68)
-A label should never be set to display: none for accessibility reasons:
.menu-label { display: none; }
Fixed, though in this case it's not 100% true.. we're still accessible due to label on hover and hanling via title attributes for screen readers.. but there were some bugs in that so those are fixed now too.
-Collapse the sidebar and move from page to page w/ sidebars, first you see the full menu before the JS fires and ( setSidebarState ) sets it to the collapsed view
This was a bit of a pain, but I believe that's fixed now too.
-Places like members/members-home.pl, the collapsed sidebar is awkward when there is nothing in it
I actually think my styling just highlights bugs in the original expand/collapse bug.. but I've tried to fix it here too.
-The first thing setSidebarState should do is check " if $("#sidebar-container").length " and exit when it does not, so that things like mainContainer don't get altered when they should not
Done -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #97 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- 1. On circulation-home.pl there is "Check out" using fa-upload and "Check in" using fa-download. On any page using the circ menu ( circ-nav-menu ) "Check out" is fa-right-from-bracket and "Check in" is fa-right-to-bracket The header search also uses fa-upload and fa-download, we should use the same icons in the circ menu 2. When the sidebar is collapsed there is a large gap on the right side of the main page. It should use up all available space. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #98 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Finding many more mismatched icons here. I think the icons need to be consistent with what is already being used in other places. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #99 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208809 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208809&action=edit Bug 43576: (follow-up) Use the icons already shown elsewhere in the menus QA feedback: the sidebar menus introduced their own icons for links that already have an established icon on the module home pages and in the header search tabs, e.g. Check out and Check in were fa-right-from-bracket and fa-right-to-bracket here but fa-upload and fa-download everywhere else. Take the icon from the existing home page for the same link in the circulation, cataloguing, labels and reports menus. Where a home page gives the same icon to two links in one menu, or to Holds and Recalls, keep the later link on its own icon so a collapsed menu never shows two identical icons next to each other. Test plan: 1. Apply the patch and rebuild the CSS 2. Open Circulation > Check in and compare the sidebar icons with those on the circulation home page and the header search tabs 3. Repeat for the cataloguing, labels and reports sidebars and compare with the cataloguing, label creator and reports home pages 4. Collapse the sidebar and confirm no two neighbouring icons match Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #100 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208810 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208810&action=edit Bug 43576: (follow-up) Let the main column fill the space beside a collapsed sidebar The collapsed sidebar column is a fixed 3rem wide, but the main column was held at 90% of the row, leaving a large empty gap on the right. Let the main column take the remaining width instead. Test plan: 1. Apply the patch and rebuild the CSS 2. Open Circulation > Check in and collapse the sidebar 3. Confirm the page content extends to the right edge with no gap Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #101 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208811 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208811&action=edit Bug 43576: (follow-up) Stop the home pages reusing one icon for different links The previous follow-up kept a distinct icon in the sidebar menu wherever the home page gave the same icon to several links. Bring the home pages in line so the same link has the same icon everywhere, and no page shows one icon for two different links. Circulation home: Recalls queue, Recalls to pull, Overdue recalls, Recalls awaiting pickup and Old recalls no longer share the Holds and Overdues icons, Overdues with fines gets its own icon, and Bookings to collect no longer matches Holds awaiting pickup. Cataloguing home: Batch record modification, Batch record deletion, Quick spine label creator, Upload local cover image and Preferences get their own icons instead of repeating those of the neighbouring links, and Advanced editor is distinguished from Batch item modification. Fast cataloging uses fa-bolt on both home pages and in the circulation menu, so it no longer matches the New record button. Test plan: 1. Apply the patch 2. Open the circulation and cataloguing home pages and confirm every link has an icon, with no two different links sharing one 3. Open Circulation > Check in and Cataloguing and compare the sidebar icons with the links on those home pages: they should match Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #102 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- (In reply to Lucas Gass (lukeg) from comment #97 and comment #98) Thanks for the careful look. I've attached three follow-ups. Icons: you were right, the menus had picked their own icons for links that already have an established icon on the module home pages and in the header search tabs. I compared every link in the converted menus against the icon already used for the same link elsewhere and switched the menus to match: circulation (Check out is fa-upload, Check in is fa-download, Renew is fa-retweet, matching the header search tabs), cataloguing, labels and reports. Where a home page gave the same icon to several links (Holds and Recalls, Overdues and Overdues with fines, the batch record tools, and so on) I kept a distinct icon on the later link, so a collapsed menu never shows two identical icons side by side. A further patch brings the circulation and cataloguing home pages in line with the menus, so the same link has the same icon everywhere and no home page uses one icon for two different links. Menus whose home pages have no icons at all (tools, serials, point of sale, administration, acquisitions, vendors) have nothing existing to match, so they keep their own icons. If you spot any other mismatch, please point me at the page. Gap on the right: the main column was held at a fixed 90% width left over from the old JavaScript. It now takes whatever is left beside the collapsed sidebar, so the content runs to the right edge. QA script passes on the three new patches. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #103 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208812 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208812&action=edit Bug 43576: (follow-up) Align header search tab icons with the sidebar menus -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #104 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Another follow-up attached: header search tabs vs sidebar icons. Following on from the previous round, I checked the header search tabs against the sidebar menus, including the Vue-based ones (administration, acquisitions, vendors). Several links showed one icon in the tab and a different icon in the menu. Sidebar menus changed to match the tab: - System preferences: fa-gears - Patron categories: fa-id-card - Currencies: fa-dollar-sign (the administration and acquisitions menus previously disagreed with each other here) Tabs changed to match the sidebar menu, where the menu icon was the clearer one: - Search funds: fa-sack-dollar - Search contracts: fa-file-signature - Search suggestions: fa-lightbulb - Search notices: fa-envelope - Search cities: fa-city (fa-building is the Libraries icon) Side effect: fa-gears was already used by Jobs in the administration menu, so Jobs now uses fa-bars-progress to keep every icon in that menu unique. To test: 1. Apply the patches and rebuild the JS (yarn js:build), then hard-refresh the browser, as the Vue menus are loaded lazily and an old copy can be cached. 2. Open Administration > Cities and compare the "Search cities" tab icon with the "Cities and towns" sidebar entry. 3. Repeat for the Funds, Contracts, Suggestions and Notices search tabs. 4. Confirm no two entries in the administration menu share an icon. Not changed, and outside this bug: - The acquisitions "Vendor search" and "Orders search" tabs use fa-upload and fa-download, which look like leftovers from the circulation tabs. No menu entry uses them, so I have left them. - The Z39.50 and OAI search tabs keep the generic search icon. QA script passes on the new patch. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #105 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Another round on the icons, in two comments. This one (1 of 2) lists what the follow-up patches changed and the rule behind it. The next (2 of 2) is a reference table of every icon used across the patchset, so the choices can be checked in one place instead of opening each menu. Icon names are Font Awesome 6 names without the 'fa-' prefix. Section 1 lists the old and new icon for each sidebar link the follow-up patches changed. RULE USED - One icon per link, the same everywhere it appears (sidebar menu, module home page, header search tab). - Start from the icon already shown to users. - If that gives two links in one menu the same icon, the later link keeps its own icon and the home page is updated to match the menu, so a collapsed menu never shows identical neighbours. - Menus whose home pages have no icons (tools, serials, point of sale, administration, acquisitions, vendors) keep their own, unique within each menu. 1. SIDEBAR ICONS CHANGED BY THE FOLLOW-UPS (41) circ-nav +---------------------------+----------------------+--------------------+ | Link | Was | Now | +---------------------------+----------------------+--------------------+ | Check out | right-from-bracket | upload | | Check in | right-to-bracket | download | | Renew | arrows-rotate | retweet | | Set library and desk | building | house | | Set library | building | house | | Set desk | building | house | | Pending on-site checkouts | desktop | location-dot | | Holds to pull | hand | hand-back-fist | | Holds awaiting pickup | box-open | calendar-days | | Curbside pickups | car | rotate | | Hold ratios | scale-balanced | chart-line | | Overdue recalls | clock | hourglass-end | | Article requests | file-lines | newspaper | | Transfer | truck | right-left | | Transfers to send | paper-plane | right-from-bracket | | Transfers to receive | inbox | right-to-bracket | | Overdues | triangle-exclamation | clock | +---------------------------+----------------------+--------------------+ circ-menu +-----------+--------------------+--------+ | Link | Was | Now | +-----------+--------------------+--------+ | Check out | right-from-bracket | upload | +-----------+--------------------+--------+ cat-menu +-----------------------------+----------------------+-------------------+ | Link | Was | Now | +-----------------------------+----------------------+-------------------+ | Stage records for import | file-import | download | | Manage staged records | layer-group | list-check | | Export catalog data | file-export | upload | | Inventory | boxes-stacked | clipboard-check | | Catalog concerns | triangle-exclamation | list-ul | | Batch item modification | pen-to-square | pencil | | MARC modification templates | code | gear | | Restore deleted records | trash-arrow-up | arrow-rotate-left | | Item modifications by age | clock-rotate-left | calendar-days | | Label creator | tag | hashtag | | Configuration | gear | gears | +-----------------------------+----------------------+-------------------+ labels-menu +-----------------+-------------+--------------+ | Link | Was | Now | +-----------------+-------------+--------------+ | Label batches | layer-group | list-ul | | Label layouts | table-cells | object-group | | Label templates | file | table-cells | +-----------------+-------------+--------------+ reports-menu +-----------------+-------------+-------------+ | Link | Was | Now | +-----------------+-------------+-------------+ | Build new | plus | code-branch | | View saved | folder-open | list | | Create from SQL | database | plus | +-----------------+-------------+-------------+ guided-reports-view +---------------+-------------+------+ | Link | Was | Now | +---------------+-------------+------+ | Saved reports | folder-open | list | +---------------+-------------+------+ admin-menu +-------------------------------+---------------------+---------------+ | Link | Was | Now | +-------------------------------+---------------------+---------------+ | System preferences | sliders | gears | | Patron categories | id-badge | id-card | | Jobs | gears | bars-progress | | Currencies and exchange rates | money-bill-transfer | dollar-sign | +-------------------------------+---------------------+---------------+ acquisitions-menu +------------+--------------+-------------+ | Link | Was | Now | +------------+--------------+-------------+ | Currencies | money-bill-1 | dollar-sign | +------------+--------------+-------------+ 2. HOME PAGE ICONS CHANGED TO MATCH THE MENUS Circulation home +-------------------------+----------------+-----------------+ | Link | Was | Now | +-------------------------+----------------+-----------------+ | Recalls queue | tasks | clipboard-list | | Recalls to pull | hand-back-fist | hand-holding | | Overdue recalls | clock | hourglass-end | | Recalls awaiting pickup | calendar-days | box | | Old recalls | tasks | box-archive | | Overdues with fines | clock | money-bill-wave | | Bookings to collect | calendar-days | calendar-check | | Fast cataloging | plus | bolt | +-------------------------+----------------+-----------------+ Cataloguing home +---------------------------+-----------+-------------------+ | Link | Was | Now | +---------------------------+-----------+-------------------+ | Batch record modification | pencil | file-pen | | Batch record deletion | trash-can | file-circle-minus | | Quick spine label creator | hashtag | tags | | Upload local cover image | upload | image | | Preferences | tasks | sliders | | Advanced editor | pencil | pen-to-square | | Fast cataloging | plus | bolt | +---------------------------+-----------+-------------------+ 3. HEADER SEARCH TAB ICONS CHANGED TO MATCH THE MENUS +--------------------+---------------+----------------+ | Tab | Was | Now | +--------------------+---------------+----------------+ | Search funds | credit-card | sack-dollar | | Search cities | building | city | | Search contracts | pen-to-square | file-signature | | Search suggestions | comment | lightbulb | | Search notices | comment-dots | envelope | +--------------------+---------------+----------------+ Already in agreement and left alone: Check out (upload), Check in (download), Renew (retweet), Search desks (desktop), and Search system preferences (gears, which the sidebar now matches). Not changed and outside this bug: the acquisitions 'Vendor search' and 'Orders search' tabs use upload and download, which look like leftovers from the circulation tabs. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #106 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Part 2 of 2: every sidebar icon in the patchset, by menu. Each table gives the link, the script it links to, and the icon chosen. A '*' after an icon means the follow-up patches changed it (the old values are in section 1 of the previous comment). A '~' means a long link name or path was cut to fit this comment's 80-column width; icon names are never cut. The line above each table says how many pages show that menu, by module. circ-nav (circ-nav.inc) Shown on 17 page(s): circ/ (12), recalls/ (5) +---------------------------+---------------------------+----------------------+ | Link | Links to | Icon | +---------------------------+---------------------------+----------------------+ | Check out | circ/circulation | upload * | | Check in | circ/returns | download * | | Renew | circ/renew | retweet * | | Set library and desk | circ/set-library | house * | | Set library | circ/set-library | house * | | Set desk | circ/set-library | house * | | Fast cataloging | cataloguing/addbiblio | bolt | | Checkout notes | circ/checkout-notes | note-sticky | | Pending on-site checkouts | circ/on-site_checkouts | location-dot * | | Holds queue | circ/holds_queue | list-check | | Holds to pull | circ/pendingreserves | hand-back-fist * | | Holds awaiting pickup | circ/waitingreserves | calendar-days * | | Curbside pickups | circ/curbside_pickups | rotate * | | Hold ratios | circ/reserveratios | chart-line * | | Recalls queue | recalls/recalls_queue | clipboard-list | | Recalls to pull | recalls/recalls_to_pull | hand-holding | | Overdue recalls | recalls/recalls_overdue | hourglass-end * | | Recalls awaiting pickup | recalls/recalls_waiting | box | | Old recalls | recalls/recalls_old_queue | box-archive | | Article requests | circ/article-requests | newspaper * | | Transfer | circ/branchtransfers | right-left * | | Transfers to send | circ/transfers_to_send | right-from-bracket * | | Transfers to receive | circ/transferstoreceive | right-to-bracket * | | Overdues | circ/overdue | clock * | | Overdues with fines | circ/branchoverdues | money-bill-wave | +---------------------------+---------------------------+----------------------+ circ-menu (circ-menu.inc) Shown on 25 page(s): circ/ (1), members/ (24) +------------------------+------------------------------+-------------------+ | Link | Links to | Icon | +------------------------+------------------------------+-------------------+ | Check out | circ/circulation | upload * | | Batch check out | circ/circulation | layer-group | | Details | members/moremember | id-card | | Accounting | members/pay | coins | | Routing lists | members/routing-lists | route | | Circulation history | members/readingrec | clock-rotate-left | | Holds history | members/holdshistory | bookmark | | Modification log | tools/viewlog | clipboard-list | | Notices | members/notices | envelope | | Statistics | members/statistics | chart-column | | Files | members/files | folder-open | | Purchase suggestions | members/purchase-suggestions | lightbulb | | Discharges | members/discharge | file-circle-check | | Housebound | members/housebound | house | | ILL requests history | members/ill-requests | people-arrows | | Recalls history | members/recallshistory | rotate-left | | Alert subscriptions () | members/alert-subscriptions | bell | +------------------------+------------------------------+-------------------+ cat-menu (cat-menu.inc) Shown on 13 page(s): cataloguing/ (1), labels/ (2), tools/ (10) +------------------------+-------------------------------+---------------------+ | Link | Links to | Icon | +------------------------+-------------------------------+---------------------+ | Stage records for imp~ | tools/stage-marc-import | download * | | Manage staged records | tools/manage-marc-import | list-check * | | Export catalog data | tools/export | upload * | | Inventory | tools/inventory | clipboard-check * | | Catalog concerns | cataloguing/concerns | list-ul * | | Batch item modificati~ | tools/batchMod | pencil * | | Batch item deletion | tools/batchMod | trash-can | | Batch record modifica~ | tools/batch_record_modificat~ | file-pen | | Batch record deletion | tools/batch_delete_records | file-circle-minus | | MARC modification tem~ | tools/marc_modification_temp~ | gear * | | Restore deleted recor~ | tools/restore-records | arrow-rotate-left * | | Item modifications by~ | tools/automatic_item_modific~ | calendar-days * | | Stock rotation | tools/stockrotation | rotate | | Label creator | labels/label-home | hashtag * | | Barcode image generat~ | labels/barcode-print | barcode | | Quick spine label cre~ | labels/spinelabel-home | tags | | Upload local cover im~ | tools/upload-cover-image | image | | Preferences | admin/preferences | sliders | | Configuration | admin/admin-home | gears * | +------------------------+-------------------------------+---------------------+ labels-menu (labels-menu.inc) Shown on 7 page(s): labels/ (7) +---------------------+-------------------------+----------------+ | Link | Links to | Icon | +---------------------+-------------------------+----------------+ | Label batches | labels/label-manage | list-ul * | | Label layouts | labels/label-manage | object-group * | | Label templates | labels/label-manage | table-cells * | | Printer profiles | labels/label-manage | print | | Print barcode range | labels/label-edit-range | barcode | +---------------------+-------------------------+----------------+ biblio-view-menu (biblio-view-menu.inc) Shown on 12 page(s): bookings/ (1), catalogue/ (8), circ/ (2), recalls/ (1) +---------------------+-----------------------------+-------------------+ | Link | Links to | Icon | +---------------------+-----------------------------+-------------------+ | Normal | catalogue/detail | eye | | MARC | catalogue/MARCdetail | code | | Labeled MARC | catalogue/labeledMARCdetail | tag | | ISBD | catalogue/ISBDdetail | align-left | | Items | catalogue/moredetail | boxes-stacked | | Bookings ( | bookings/list | calendar-check | | Holds () | reserve/request | bookmark | | Analytics | catalogue/detail | chart-line | | Article requests () | circ/request-article | file-lines | | Subscriptions () | serials/serials-search | newspaper | | Checkout history | catalogue/issuehistory | clock-rotate-left | | Modification log | tools/viewlog | clipboard-list | | Rota | catalogue/stockrotation | rotate | | Recalls () | recalls/request | rotate-left | +---------------------+-----------------------------+-------------------+ reports-menu (reports-menu.inc) Shown on 15 page(s): reports/ (15) +------------------------+----------------------------+------------------------+ | Link | Links to | Icon | +------------------------+----------------------------+------------------------+ | Guided reports | reports/guided_reports | file-lines | | Build new | reports/guided_reports | code-branch * | | View saved | reports/guided_reports | list * | | Create from SQL | reports/guided_reports | plus * | | Acquisitions | reports/acquisitions_stats | cart-shopping | | Patrons | reports/borrowers_stats | users | | Catalog | reports/catalogue_stats | book | | Circulation | reports/issues_stats | arrow-right-arrow-left | | Serials | reports/serials_stats | newspaper | | Cash register | reports/cash_register_sta~ | cash-register | | Holds | reports/reserves_stats | bookmark | | Report plugins | plugins/plugins-home | puzzle-piece | | Patrons with the most~ | reports/bor_issues_top | trophy | | Most-circulated items | reports/cat_issues_top | fire | | Patrons who haven't c~ | reports/borrowers_out | user-clock | | Items with no checkou~ | reports/catalogue_out | boxes-stacked | | Lost items | reports/itemslost | triangle-exclamation | | Orders by fund | reports/orders_by_fund | money-bill-wave | | Catalog by item type | reports/catalog_by_itemty~ | shapes | | Average loan time | reports/issues_avg_stats | hourglass-half | +------------------------+----------------------------+------------------------+ guided-reports-view (guided-reports-view.inc) Shown on 2 page(s): reports/ (1), tools/ (1) +----------------------+------------------------+-----------------+ | Link | Links to | Icon | +----------------------+------------------------+-----------------+ | Saved reports | reports/guided_reports | list * | | View dictionary | reports/dictionary | book-open | | Koha report library | (Vue/ERM route) | book | | Koha database schema | (Vue/ERM route) | diagram-project | +----------------------+------------------------+-----------------+ prefs-menu (prefs-menu.inc) Shown on 2 page(s): admin/ (2) +-----------------------+-------------------------+------------------------+ | Link | Links to | Icon | +-----------------------+-------------------------+------------------------+ | Accounting | admin/preferences | coins | | Acquisitions | admin/preferences | cart-shopping | | Administration | admin/preferences | gear | | Authorities | admin/preferences | address-book | | Cataloging | admin/preferences | book | | Circulation | admin/preferences | arrow-right-arrow-left | | Enhanced content | admin/preferences | star | | E-resource management | admin/preferences | globe | | I18N/L10N | admin/preferences | language | | Interlibrary loans | admin/preferences | people-arrows | | Local use | admin/systempreferences | toolbox | | Logs | admin/preferences | clipboard-list | | OPAC | admin/preferences | desktop | | Patrons | admin/preferences | users | | Preservation | admin/preferences | recycle | | Reports | admin/preferences | chart-column | | Searching | admin/preferences | magnifying-glass | | Serials | admin/preferences | newspaper | | Staff interface | admin/preferences | user-tie | | Tools | admin/preferences | screwdriver-wrench | | Web services | admin/preferences | cloud | +-----------------------+-------------------------+------------------------+ tools-menu (tools-menu.inc) Shown on 31 page(s): clubs/ (2), patron_lists/ (2), patroncards/ (7), reviews/ (1), rotating_collections/ (4), tags/ (1), tools/ (14) +------------------------+------------------------------------+----------------+ | Link | Links to | Icon | +------------------------+------------------------------------+----------------+ | Tools home | tools/tools-home | house | | Patron lists | patron_lists/lists | list | | Patron clubs | clubs/clubs | people-group | | Comments | reviews/reviewswaiting | comments | | Import patrons | tools/import_borrowers | file-import | | Notices and slips | tools/letter | envelope | | Patron card creator | patroncards/home | id-card | | Batch patron deletion~ | tools/cleanborrowers | user-slash | | Batch patron modifica~ | tools/modborrowers | user-pen | | Batch extend due dates | tools/batch_extend_due_dates | calendar-plus | | Batch modify holds | tools/batch_modify_holds | bookmark | | Tags | tags/review | tags | | Upload patron images | tools/picture-upload | camera | | Rotating collections | rotating_collections/rotatingColl~ | rotate | | Calendar | tools/holidays | calendar-days | | CSV profiles | tools/csv-profiles | file-csv | | Log viewer | tools/viewlog | clipboard-list | | News | tools/additional-contents | newspaper | | HTML customizations | tools/additional-contents | code | | Pages | tools/additional-contents | file-lines | | Task scheduler | tools/scheduler | clock | | Quote editor | tools/quotes | quote-left | | Tool plugins | plugins/plugins-home | puzzle-piece | | Uploads | tools/upload | upload | | Access files | tools/access_files | folder-open | | OPAC problem reports | tools/problem-reports | flag | | Cash summary for | pos/registers | cash-register | | Transaction history f~ | pos/register | receipt | +------------------------+------------------------------------+----------------+ serials-menu (serials-menu.inc) Shown on 13 page(s): serials/ (13) +------------------------+----------------------------------+------------------+ | Link | Links to | Icon | +------------------------+----------------------------------+------------------+ | Serial collection | serials/serials-collection | newspaper | | Edit routing list | serials/routing | route | | Create routing list | serials/routing | route | | Claims | serials/claims | flag | | Check expiration | serials/checkexpiration | calendar-xmark | | Manage frequencies | serials/subscription-frequencies | repeat | | Manage numbering patt~ | serials/subscription-numberpatt~ | list-ol | | Search on Mana | serials/serials-search | magnifying-glass | | Manage subscription f~ | admin/additional-fields | list-check | | Serials statistics wi~ | reports/serials_stats | chart-column | +------------------------+----------------------------------+------------------+ pos-menu (pos-menu.inc) Shown on 3 page(s): pos/ (3) +------------------------------+----------------------+---------------+ | Link | Links to | Icon | +------------------------------+----------------------+---------------+ | Point of sale | pos/pay | cash-register | | Transaction history for | pos/register | receipt | | Cash summary for | pos/registers | coins | | Configure cash registers | admin/cash_registers | gear | | Configure items for purchase | admin/debit_types | tags | +------------------------------+----------------------+---------------+ admin-menu (AdminMenu.vue) Shown on 61 page(s): admin/ (61) +------------------------+----------------------------------+------------------+ | Link | Links to | Icon | +------------------------+----------------------------------+------------------+ | System preferences | admin/preferences | gears * | | Libraries | admin/branches | building | | Library groups | admin/library_groups | sitemap | | Item types | admin/itemtypes | shapes | | Authorized values | admin/authorised_values | list-check | | Patron categories | admin/categories | id-card * | | Circulation and fine ~ | admin/smart-rules | gavel | | Patron attribute types | admin/patron-attr-types | tags | | Library transfer limi~ | admin/branch_transfer_limits | truck | | Transport cost matrix | admin/transport-cost-matrix | route | | Library float limits | admin/float_limits | water | | Self-service circulat~ | sip2/sip2 | satellite-dish | | Shibboleth configurat~ | shibboleth/shibboleth | key | | Item circulation aler~ | admin/item_circulation_alerts | bell | | Desks | admin/desks | desktop | | Cities and towns | admin/cities | city | | Curbside pickup | admin/curbside_pickup | car | | Patron restriction ty~ | admin/restrictions | ban | | Debit types | admin/debit_types | arrow-down | | Credit types | admin/credit_types | arrow-up | | Cash registers | admin/cash_registers | cash-register | | Plugins | plugins/plugins-home | puzzle-piece | | Jobs | admin/background_jobs | bars-progress * | | MARC bibliographic fr~ | admin/biblio_framework | diagram-project | | Koha to MARC mapping | admin/koha2marclinks | right-left | | MARC bibliographic fr~ | admin/checkmarc | vial | | Authority types | admin/authtypes | address-book | | Classification config~ | admin/classsources | layer-group | | Record matching rules | admin/matching-rules | code-compare | | Record sources | (Vue/ERM route) | database | | Record overlay rules | admin/marc-overlay-rules | clone | | OAI sets configuration | admin/oai_sets | boxes-packing | | Item search fields | admin/items_search_fields | magnifying-glass | | Search filters | admin/search_filters | filter | | Search engine configu~ | admin/searchengine/elasticsearc~ | server | | Currencies and exchan~ | admin/currency | dollar-sign * | | Budgets | admin/aqbudgetperiods | coins | | Funds | admin/aqbudgets | sack-dollar | | EDI accounts | admin/edi_accounts | network-wired | | Library EANs | admin/edi_ean_accounts | barcode | | MARC ordering accounts | admin/marc_order_accounts | code | | Identity providers | admin/identity_providers | fingerprint | | Z39.50/SRU servers | admin/z3950servers | satellite | | OAI repositories | admin/oai_servers | cloud-arrow-down | | SMTP servers | admin/smtp_servers | envelope | | File transports | admin/file_transports | file-export | | Did you mean? | admin/didyoumean | circle-question | | Table settings | admin/columns_settings | table-cells | | Audio alerts | admin/audio_alerts | volume-high | | SMS cellular providers | admin/sms_providers | comment-sms | | Share usage statistics | admin/usage_statistics | chart-line | | Share content with Ma~ | admin/share_content | share-nodes | | Additional fields | admin/additional-fields | list-ul | | Keyboard shortcuts | admin/adveditorshortcuts | keyboard | | Interlibrary loan bat~ | admin/ill_batch_statuses | people-arrows | +------------------------+----------------------------------+------------------+ acquisitions-menu (AcquisitionsMenu.vue) Shown on 17 page(s): acqui/ (17) +---------------------------+----------------------------+---------------------+ | Link | Links to | Icon | +---------------------------+----------------------------+---------------------+ | Acquisitions home | acqui/acqui-home | house | | Advanced search | acqui/histsearch | magnifying-glass | | Late orders | acqui/lateorders | clock | | Suggestions | suggestion/suggestion | lightbulb | | Invoices | acqui/invoices | file-invoice-dollar | | EDIFACT messages | acqui/edifactmsgs | envelope | | Acquisitions statistics ~ | reports/acquisitions_stats | chart-column | | Orders by fund | reports/orders_by_fund | money-bill-wave | | Hold ratios | circ/reserveratios | scale-balanced | | Budgets | admin/aqbudgetperiods | coins | | Funds | admin/aqbudgets | sack-dollar | | Currencies | admin/currency | dollar-sign * | | EDI accounts | admin/edi_accounts | network-wired | | Library EANs | admin/edi_ean_accounts | barcode | | MARC order accounts | admin/marc_order_accounts | code | | Manage invoice fields | admin/additional-fields | receipt | | Manage order basket fiel~ | admin/additional-fields | basket-shopping | | Manage order line fields | admin/additional-fields | list-ol | +---------------------------+----------------------------+---------------------+ vendor-menu (VendorMenu.vue) Shown on 2 page(s): acqui/ (2) +------------------+----------------------+----------------------+ | Link | Links to | Icon | +------------------+----------------------+----------------------+ | Baskets | acqui/booksellers | basket-shopping | | Basket groups | acqui/basketgroup | layer-group | | Contracts | admin/aqcontract | file-signature | | Vendor issues | acqui/vendor_issues | triangle-exclamation | | Invoices | acqui/invoices | file-invoice-dollar | | Uncertain prices | acqui/uncertainprice | question | | ERM agreements | (Vue/ERM route) | file-contract | | ERM licenses | (Vue/ERM route) | file-shield | +------------------+----------------------+----------------------+ -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #208484|0 |1 is obsolete| | Attachment #208485|0 |1 is obsolete| | Attachment #208486|0 |1 is obsolete| | Attachment #208487|0 |1 is obsolete| | Attachment #208488|0 |1 is obsolete| | Attachment #208489|0 |1 is obsolete| | Attachment #208490|0 |1 is obsolete| | Attachment #208491|0 |1 is obsolete| | Attachment #208492|0 |1 is obsolete| | Attachment #208493|0 |1 is obsolete| | Attachment #208494|0 |1 is obsolete| | Attachment #208495|0 |1 is obsolete| | Attachment #208496|0 |1 is obsolete| | Attachment #208497|0 |1 is obsolete| | Attachment #208498|0 |1 is obsolete| | Attachment #208499|0 |1 is obsolete| | Attachment #208500|0 |1 is obsolete| | Attachment #208501|0 |1 is obsolete| | Attachment #208502|0 |1 is obsolete| | Attachment #208503|0 |1 is obsolete| | Attachment #208504|0 |1 is obsolete| | Attachment #208505|0 |1 is obsolete| | Attachment #208506|0 |1 is obsolete| | Attachment #208507|0 |1 is obsolete| | Attachment #208508|0 |1 is obsolete| | Attachment #208509|0 |1 is obsolete| | Attachment #208510|0 |1 is obsolete| | Attachment #208809|0 |1 is obsolete| | Attachment #208810|0 |1 is obsolete| | Attachment #208811|0 |1 is obsolete| | Attachment #208812|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #107 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208866 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208866&action=edit Bug 43576: Seat the collapse toggle inside the grey menu band, add icon-collapse support and persist state The sidebar collapse toggle (Bug 42322) currently floats as a bordered/shadowed button pinned to the edge of the aside, visually disconnected from the grey .sidebar_menu box it controls. This styles the toggle to sit flush inside that same grey band instead. It also introduces an opt-in `.sidebar_menu.icon-collapse` modifier: when present, collapsing the sidebar keeps each link's icon visible and hides only its text label, instead of blanking the whole menu. Menus that haven't been converted yet keep today's blanket-hide behaviour, so this is safe to land ahead of converting every module menu. Finally, the collapsed/expanded state is now remembered in localStorage across page loads, since previously it silently reset to expanded on every navigation. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #108 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208867 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208867&action=edit Bug 43576: Scope icon-collapse CSS to actual nav lists, hide known sub-lists The icon-collapse rules used bare li/a selectors, which also matched list items inside unrelated <ol> filter forms embedded in some sidebar menus (e.g. serials-menu.inc's date-range filter), unhiding them when collapsed. Scope the rules to ul li / ul li > a instead, since none of the sidebar's filter forms use <ul>. Also explicitly hide two known nested sub-lists that don't carry their own icons and aren't meant to survive collapse: prefs-menu.inc's per-tab jump-link subtabs (.pref-subtabs) and biblio-view-menu.inc's item barcode list (#items_submenu). Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #109 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208868 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208868&action=edit Bug 43576: Extend grey background to full column height The sidebar's grey background only covered its own content (the aside and .sidebar_menu boxes are only as tall as their menu items), so on pages where the main content is taller than the sidebar the grey stopped abruptly below the last link, leaving a visible gap of plain background down to wherever the main content ends. Bootstrap's .row is a flex container, so #sidebar-container already stretches to match the taller sibling column's height; the aside itself just wasn't using that space. Give it the grey background and min-height: 100% so it fills the full column height when the main content is taller, while still shrinking to its own content when the sidebar is the taller side (no page-length changes, since this is a sibling-height match, not a viewport-height one). Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #110 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208869 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208869&action=edit Bug 43576: Stretch the sidebar to the actual viewport bottom The previous patch only made the sidebar match its sibling column's height, which does nothing on the very common case where neither column has enough content to reach the bottom of the browser window -- the whole .row simply shrink-wraps to whatever short content exists. Make body a min-height:100vh flex column (Bootstrap's own documented sticky-footer/full-height pattern: display:flex, flex-direction:column, min-height:100vh, with the main content area set to flex:1 0 auto), with .main.container-fluid and its .row set to flex: 1 0 auto so they grow to fill the remaining space below the header/nav and above the existing body padding-bottom that already clears the fixed Vue SPA modules (ERM, ILL, Preservation, SIP2, Acquisitions/vendors) render their own main-container-equivalent markup nested inside a per-app root div (#erm, #sip2, etc.) rather than main-container.inc being a direct child of body, with an extra unstyled wrapper div (the Vue root template's own top-level element) in between. Both of those need the same flex treatment to pass the stretch all the way down to .main.container-fluid. Verified across short and long pages, with and without a sidebar, for both classic TT pages and all Vue SPA modules, at various viewport heights. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #111 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208870 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208870&action=edit Bug 43576: Convert circulation menu to icon-collapse mode Prototype the new icon-collapse convention on the circulation/patron sidebar menu: each link gets a FontAwesome icon plus its label wrapped in a .menu-label span, and the menu opts into .icon-collapse so collapsing the sidebar leaves the icons (and active-page highlight) visible instead of hiding the whole menu. Other module menus keep today's collapse-to-blank behaviour until they get the same treatment in follow-up patches. Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "Patrons", search for and open any patron's record. 3. On the patron's "Details" page, confirm the left sidebar (Check out, Details, Accounting, etc.) now shows an icon next to each link. 4. Click the toggle at the top of the sidebar to collapse it; confirm it shrinks to an icon-only rail, each icon shows its label as a tooltip on hover, and the current page's icon stays highlighted. 5. Click the toggle again to expand; confirm the labels return. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #112 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208871 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208871&action=edit Bug 43576: Convert circulation module nav to icon-collapse mode Apply the icon-collapse pattern to circ-nav.inc, the general Circulation-module sidebar (Check out, Check in, Holds, Transfers, Overdues, etc. shown on module-level pages like the Check-in screen). This is distinct from circ-menu.inc, the patron-context sidebar already converted, which only appears on pages tied to one patron. Same icon reused across analogous actions in different groups (e.g. "queue"/"to pull"/"awaiting pickup" share an icon between Holds and Recalls) to keep the icon-only collapsed view legible. Test plan: 1. No system preference changes required for the core menu (a few optional links -- Routing lists, On-site checkouts, Curbside pickups, Recalls -- only appear when their respective preferences are enabled). 2. Log in to the staff interface, click "Circulation" in the top navigation, then "Check-in" (or any other Circulation page). 3. Confirm the left sidebar (Check out, Check in, Holds, Transfers, Overdues, etc.) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #113 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208872 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208872&action=edit Bug 43576: Convert cataloguing menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Cataloging". 3. Click any link in the left sidebar (e.g. "Inventory" under Reports); confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #114 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208873 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208873&action=edit Bug 43576: Convert tools menu to icon-collapse mode Test plan: 1. No system preference changes required for the core menu (some optional links -- e.g. Rotating collections, Upload patron images, OPAC problem reports -- only appear when their respective preferences/permissions are enabled). 2. Log in to the staff interface, click "More" in the top navigation, then "Tools". 3. Click any tool (e.g. "Notices and slips"); confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #115 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208874 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208874&action=edit Bug 43576: Convert system preferences menu to icon-collapse mode Each of the 21 preference tabs gets an icon; the per-tab jump-link subtabs shown under the active tab are wrapped in a .pref-subtabs class so they're hidden (not icon-collapsed) when the sidebar is collapsed, since they have no natural icon representation. Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Administration", then "System preferences". 3. Confirm each of the 21 preference tabs (Accounting, Acquisitions, Administration, ...) now shows an icon, and that the active tab's sub-section jump links still appear below it when expanded. 4. Collapse the sidebar; confirm it shrinks to a flat icon-only rail (the active tab's sub-links are hidden while collapsed, since they have no natural icon), with the active tab's icon still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #116 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208875 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208875&action=edit Bug 43576: Convert reports menu to icon-collapse mode Test plan: 1. No system preference changes required (the "Report plugins" section only appears when plugins are enabled). 2. Log in to the staff interface, click "More" in the top navigation, then "Reports". 3. Confirm each sidebar link (Guided reports, Build new, statistics wizards, top lists, etc.) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #117 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208876 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208876&action=edit Bug 43576: Convert bibliographic record view menu to icon-collapse mode Test plan: 1. No system preference changes are required for the core tabs (Normal, Items, Checkout history). To see the full set of optional tabs, also enable: viewMARC, viewLabeledMARC, viewISBD, EasyAnalyticalRecords, ArticleRequests, and UseRecalls. 2. Log in to the staff interface, search the catalog for any record, and open its detail page. 3. Confirm each sidebar link (Normal, MARC, Items, Holds, Checkout history, etc.) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted; if the record has items, confirm the item barcode sub-list stays hidden while collapsed. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #118 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208877 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208877&action=edit Bug 43576: Convert serials menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Serials", then open any subscription (or "Claims"). 3. Confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #119 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208878 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208878&action=edit Bug 43576: Convert labels menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Tools", then "Label creator". 3. Confirm each sidebar link (Label batches, Label layouts, Label templates, Printer profiles, Print barcode range) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
Cash registers) for the logged-in library.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #120 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208879 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208879&action=edit Bug 43576: Convert point of sale menu to icon-collapse mode Test plan: 1. Enable the EnablePointOfSale and UseCashRegisters system preferences, and set up at least one cash register (Administration 2. Log in to the staff interface, click "More" in the top navigation, then "Point of sale". 3. Confirm the sidebar (Point of sale, Transaction history, Cash summary, and, with the right permissions, Configure cash registers / Configure items for purchase) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #121 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208880 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208880&action=edit Bug 43576: Convert guided reports view menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Reports", then "Guided reports". 3. Confirm the sidebar (Saved reports, View dictionary, Koha report library, Koha database schema) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #122 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208881 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208881&action=edit Bug 43576: Extend icon-collapse support to the Vue NavigationItem tree NavigationItem.vue (used by ERM, ILL, Preservation, SIP2 and other Vue-driven module sidebars via LeftMenu.vue) already rendered a per-item icon when the route declared one, but wrapped the link text in a bare <span> with no way for the collapse CSS to hide just the label. Add the menu-label class to that span, opt LeftMenu.vue's generic sidebar_menu into icon-collapse, and relax the CSS from a direct-child to a descendant combinator to reach the <a> through NavigationItem's extra wrapping <span>. Also add an icon-collapse active-state highlight for Vue Router's router-link-active class, mirroring the border/background TT menus already get from .active, since collapsed icons would otherwise have no way to show which page is current. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #123 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208882 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208882&action=edit Bug 43576: Flatten nested sub-tree indentation in icon-collapse mode The Vue NavigationItem tree (ERM, SIP2, etc, rendered via LeftMenu.vue) supports real multi-level nesting (e.g. eHoldings > Local > Packages/ Titles in ERM), and LeftMenu.vue's own scoped style indents each nested <ul> by 2em for the expanded view. That indentation was still being applied when collapsed, so deeper icons drifted right with each level and fell outside the narrow 3rem icon rail entirely. Reset the nested-ul indentation (and its alternating background) to flush/transparent specifically in icon-collapse mode, so every level of a sub-tree renders as a plain icon in the same column. Hierarchy can't be conveyed through indentation once labels are hidden anyway. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #124 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208883 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208883&action=edit Bug 43576: Convert vendor menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required. Requires at least one vendor to exist (Acquisitions > Vendor search > New vendor, if needed). 2. Log in to the staff interface, click "More" in the top navigation, then "Acquisitions", then search for and open any vendor. 3. Confirm the sidebar (Baskets, Basket groups, Contracts, Vendor issues, Invoices, Uncertain prices, and, if the ERM module is enabled, ERM agreements/ERM licenses) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #125 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208884 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208884&action=edit Bug 43576: Convert acquisitions menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Acquisitions". 3. Confirm the sidebar (Acquisitions home, Advanced search, Late orders, Suggestions, Invoices, Reports, Administration, etc.) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #126 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208885 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208885&action=edit Bug 43576: Convert administration menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required for the core sections; a few optional links (e.g. Self-service circulation (SIP2), Desks, EDI accounts) only appear when their respective preferences/permissions are enabled. 2. Log in to the staff interface, click "More" in the top navigation, then "Administration", then any non-System-preferences page (e.g. "Authorized values"). 3. Confirm the sidebar (System preferences, Basic parameters, Patrons and circulation, Accounting, Plugins, Jobs, Catalog, Acquisition parameters, Additional parameters) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #127 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208886 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208886&action=edit Bug 43576: Add a divider between icon-collapse groups Several menus group their links under <h5> headings (Cataloging, Tools, Reports, Serials, Point of sale, Guided reports view, Circulation module nav, and the Vue Administration/Acquisitions menus). Those headings are hidden in icon-collapse mode, which left no visual cue separating one group's icons from the next. Add a thin border-top on the first icon of each group (skipping the menu's very first group, which needs no separator) as a lightweight substitute for the hidden heading -- the same "divider between icon clusters" pattern used by VS Code's activity bar, Slack, and similar icon rails. Menus with a single flat list (e.g. circ-menu, prefs-menu, biblio-view-menu, vendor-menu) are unaffected, since they have no <h5> groups to begin with. Test plan: 1. Log in to the staff interface and open a page using a grouped menu, e.g. More > Cataloging, or Administration > Authorized values. 2. Expand the sidebar; confirm the group headings (Import, Export, Reports, ... or System preferences, Basic parameters, ...) still render normally. 3. Collapse the sidebar; confirm a thin divider line now appears between each group's icons, with no divider above the very first group. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #128 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208887 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208887&action=edit Bug 43576: (follow-up) Seat the collapse toggle without an extra whitespace band QA feedback: the toggle's own .sidebar-toggle row sat above the grey .sidebar_menu box, adding its own top padding on top of that box's, which left a mostly-empty grey strip at the top of the bar whenever it was expanded. Drop that separate row. The button is now absolutely positioned in the grey box's own top-right corner (aside is already position:relative), and .sidebar_menu reserves just enough top padding to clear it, so there's a single continuous grey box with the toggle seated in its corner instead of a seam between two boxes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #129 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208888 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208888&action=edit Bug 43576: (follow-up) De-emphasise menu icons alongside labels QA feedback: several staff found the expanded (non-collapsed) sidebar menus more cluttered now that every link shows both an icon and a label; before this branch these menus were text-only, so the icons are new visual weight nobody opted into. Icons only need to carry the full meaning on their own once they're collapsed down to icon-only mode. While the label is still there alongside them, mute the icon to a lighter grey and a touch smaller than the label, so the label reads as the primary content and the icon recedes to a secondary affordance. Restore full icon strength (colour inherited from the link, so active/hover states still tint it) once collapsed mode makes the icon the only thing left to read. Give the icon an explicit margin-right for consistent spacing too, rather than relying on incidental markup whitespace between <i> and the label: the plain .inc templates have a literal space character there, but in the Vue components that whitespace spans a newline and gets stripped entirely by Vue's template compiler, so the two templating systems rendered inconsistent gaps otherwise. Drop the now- redundant literal space from the .inc templates so the gap comes from the same CSS margin everywhere. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #130 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208889 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208889&action=edit Bug 43576: (follow-up) Disambiguate icons reused across menu groups QA feedback: collapsing a menu down to icon-only sometimes stacks the same icon in two different groups with nothing to tell them apart, e.g. circulation's Holds and Recalls groups both used fa-list-check, fa-hand, and fa-box-open for their equivalent queue/pull/awaiting-pickup actions, and acquisitions' three "Manage ... fields" screens all used fa-list-check. Give the concrete clashes found so far more distinct icons: - circ-nav.inc: Recalls queue/to pull/awaiting pickup get their own icons instead of borrowing the Holds group's. - AcquisitionsMenu.vue: the invoice/basket/order-line "Manage fields" entries each get their own icon. Also thicken and darken the divider that marks a group boundary when collapsed (a hidden heading no longer visually separates the groups on its own), and tighten the gap above it: the previous group's <ul> was still carrying its normal-mode margin-bottom, stacking with the divider's own margin-top to read as more empty space than the divider needed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #131 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208890 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208890&action=edit Bug 43576: (follow-up) Apply the collapsed sidebar state before first paint QA feedback: collapse the sidebar and navigate to another page and the full menu shows briefly before the document-ready handler restores the collapsed state. The body is made visible before that handler runs, so the page painted expanded first. Set a sidebar-collapsed class on <html> from a small inline script in the document head, and let the stylesheet apply the collapsed width, the main column width and the chevron glyph from it. sidebar.js still sets .collapsed, the chevron classes and aria-expanded as before, so the existing behaviour and Sidebar_spec.ts are unchanged. This also stops sidebar.js from rewriting $("main").parent() on pages that have no sidebar at all, where a stored collapsed state turned the main column into col-md-12 at 90% width. setSidebarState now returns early when there is no #sidebar-container, and the main column width is handled in CSS under the same min-width as the toggle itself. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #132 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208891 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208891&action=edit Bug 43576: (follow-up) Keep collapsed menu labels available to assistive tech QA feedback: .menu-label was set to display: none when the sidebar collapses, which removes the label text from the accessibility tree. The links still got a name from their title attribute, but that is a weak fallback and gives the wrong name where the title is not the label: the circulation Overdues links were announced with their long warning tooltips rather than "Overdues" and "Overdues with fines". Use Bootstrap's visually-hidden mixin instead, so the label stays in the accessibility tree while looking exactly as before. The link becomes position: relative so the clipped label stays contained within it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #133 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208892 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208892&action=edit Bug 43576: (follow-up) Drop the grey rail when a collapsed sidebar is empty QA feedback: on pages like members/members-home.pl the sidebar holds only a filters form, which is hidden when collapsed, leaving an empty grey strip containing nothing but the toggle. When no .sidebar_menu.icon-collapse is present, make the collapsed sidebar transparent so only the chevron handle remains. Sidebars that still show an icon menu when collapsed keep their grey rail. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #134 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208893 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208893&action=edit Bug 43576: (follow-up) Use the icons already shown elsewhere in the menus QA feedback: the sidebar menus introduced their own icons for links that already have an established icon on the module home pages and in the header search tabs, e.g. Check out and Check in were fa-right-from-bracket and fa-right-to-bracket here but fa-upload and fa-download everywhere else. Take the icon from the existing home page for the same link in the circulation, cataloguing, labels and reports menus. Where a home page gives the same icon to two links in one menu, or to Holds and Recalls, keep the later link on its own icon so a collapsed menu never shows two identical icons next to each other. Test plan: 1. Apply the patch and rebuild the CSS 2. Open Circulation > Check in and compare the sidebar icons with those on the circulation home page and the header search tabs 3. Repeat for the cataloguing, labels and reports sidebars and compare with the cataloguing, label creator and reports home pages 4. Collapse the sidebar and confirm no two neighbouring icons match Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #135 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208894 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208894&action=edit Bug 43576: (follow-up) Let the main column fill the space beside a collapsed sidebar The collapsed sidebar column is a fixed 3rem wide, but the main column was held at 90% of the row, leaving a large empty gap on the right. Let the main column take the remaining width instead. Test plan: 1. Apply the patch and rebuild the CSS 2. Open Circulation > Check in and collapse the sidebar 3. Confirm the page content extends to the right edge with no gap Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #136 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208895 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208895&action=edit Bug 43576: (follow-up) Stop the home pages reusing one icon for different links The previous follow-up kept a distinct icon in the sidebar menu wherever the home page gave the same icon to several links. Bring the home pages in line so the same link has the same icon everywhere, and no page shows one icon for two different links. Circulation home: Recalls queue, Recalls to pull, Overdue recalls, Recalls awaiting pickup and Old recalls no longer share the Holds and Overdues icons, Overdues with fines gets its own icon, and Bookings to collect no longer matches Holds awaiting pickup. Cataloguing home: Batch record modification, Batch record deletion, Quick spine label creator, Upload local cover image and Preferences get their own icons instead of repeating those of the neighbouring links, and Advanced editor is distinguished from Batch item modification. Fast cataloging uses fa-bolt on both home pages and in the circulation menu, so it no longer matches the New record button. Test plan: 1. Apply the patch 2. Open the circulation and cataloguing home pages and confirm every link has an icon, with no two different links sharing one 3. Open Circulation > Check in and Cataloguing and compare the sidebar icons with the links on those home pages: they should match Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #137 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 208896 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208896&action=edit Bug 43576: (follow-up) Align header search tab icons with the sidebar menus The header search tabs and the sidebar menus used different icons for the same links. Use one icon per link in both places. Sidebar menus now follow the tab: - System preferences uses fa-gears - Patron categories uses fa-id-card - Currencies uses fa-dollar-sign, in both the administration and acquisitions menus, which previously disagreed with each other Tabs now follow the menu, where the menu icon is the clearer one: - Search cities uses fa-city, as fa-building is the Libraries icon - Search funds uses fa-sack-dollar - Search contracts uses fa-file-signature - Search suggestions uses fa-lightbulb - Search notices uses fa-envelope The administration menu's Jobs entry gives up fa-gears, which it shared with System preferences, and uses fa-bars-progress instead. Test plan: 1. Apply the patch and rebuild the JS (yarn js:build) 2. Open Administration > Cities and compare the Search cities tab icon with the Cities and towns entry in the sidebar 3. Repeat for the Funds, Contracts, Suggestions and Notices search tabs and their sidebar entries 4. Confirm the System preferences, Patron categories and Currencies sidebar entries match their search tabs, and that no two entries in the administration menu share an icon Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #138 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Fantastic work here, really like this one. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|release-notes-needed | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the|Enhance the collapsible |Enhance the collapsible release notes|side menu to make it |side menu to make it |navigable whilst collapsed. |navigable whilst collapsed. | | |Add icons to all side menus |Add icons to all side menus |in the staff client and |in the staff client and |then retain them after |then retain them after |collapse and use hover to |collapse and use hover to |display menu 8tme text, |display menu hint text, |click to navigate. |click to navigate. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #139 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Thanks so much for all the rigorous testing and feedback Lucas, couldn't have done this one without you :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Patch doesn't apply CC| |pedro.amorim@openfifth.co.u | |k -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #208866|0 |1 is obsolete| | Attachment #208867|0 |1 is obsolete| | Attachment #208868|0 |1 is obsolete| | Attachment #208869|0 |1 is obsolete| | Attachment #208870|0 |1 is obsolete| | Attachment #208871|0 |1 is obsolete| | Attachment #208872|0 |1 is obsolete| | Attachment #208873|0 |1 is obsolete| | Attachment #208874|0 |1 is obsolete| | Attachment #208875|0 |1 is obsolete| | Attachment #208876|0 |1 is obsolete| | Attachment #208877|0 |1 is obsolete| | Attachment #208878|0 |1 is obsolete| | Attachment #208879|0 |1 is obsolete| | Attachment #208880|0 |1 is obsolete| | Attachment #208881|0 |1 is obsolete| | Attachment #208882|0 |1 is obsolete| | Attachment #208883|0 |1 is obsolete| | Attachment #208884|0 |1 is obsolete| | Attachment #208885|0 |1 is obsolete| | Attachment #208886|0 |1 is obsolete| | Attachment #208887|0 |1 is obsolete| | Attachment #208888|0 |1 is obsolete| | Attachment #208889|0 |1 is obsolete| | Attachment #208890|0 |1 is obsolete| | Attachment #208891|0 |1 is obsolete| | Attachment #208892|0 |1 is obsolete| | Attachment #208893|0 |1 is obsolete| | Attachment #208894|0 |1 is obsolete| | Attachment #208895|0 |1 is obsolete| | Attachment #208896|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #140 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211332 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211332&action=edit Bug 43576: Seat the collapse toggle inside the grey menu band, add icon-collapse support and persist state The sidebar collapse toggle (Bug 42322) currently floats as a bordered/shadowed button pinned to the edge of the aside, visually disconnected from the grey .sidebar_menu box it controls. This styles the toggle to sit flush inside that same grey band instead. It also introduces an opt-in `.sidebar_menu.icon-collapse` modifier: when present, collapsing the sidebar keeps each link's icon visible and hides only its text label, instead of blanking the whole menu. Menus that haven't been converted yet keep today's blanket-hide behaviour, so this is safe to land ahead of converting every module menu. Finally, the collapsed/expanded state is now remembered in localStorage across page loads, since previously it silently reset to expanded on every navigation. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #141 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211333 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211333&action=edit Bug 43576: Scope icon-collapse CSS to actual nav lists, hide known sub-lists The icon-collapse rules used bare li/a selectors, which also matched list items inside unrelated <ol> filter forms embedded in some sidebar menus (e.g. serials-menu.inc's date-range filter), unhiding them when collapsed. Scope the rules to ul li / ul li > a instead, since none of the sidebar's filter forms use <ul>. Also explicitly hide two known nested sub-lists that don't carry their own icons and aren't meant to survive collapse: prefs-menu.inc's per-tab jump-link subtabs (.pref-subtabs) and biblio-view-menu.inc's item barcode list (#items_submenu). Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #142 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211334 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211334&action=edit Bug 43576: Extend grey background to full column height The sidebar's grey background only covered its own content (the aside and .sidebar_menu boxes are only as tall as their menu items), so on pages where the main content is taller than the sidebar the grey stopped abruptly below the last link, leaving a visible gap of plain background down to wherever the main content ends. Bootstrap's .row is a flex container, so #sidebar-container already stretches to match the taller sibling column's height; the aside itself just wasn't using that space. Give it the grey background and min-height: 100% so it fills the full column height when the main content is taller, while still shrinking to its own content when the sidebar is the taller side (no page-length changes, since this is a sibling-height match, not a viewport-height one). Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #143 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211335 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211335&action=edit Bug 43576: Stretch the sidebar to the actual viewport bottom The previous patch only made the sidebar match its sibling column's height, which does nothing on the very common case where neither column has enough content to reach the bottom of the browser window -- the whole .row simply shrink-wraps to whatever short content exists. Make body a min-height:100vh flex column (Bootstrap's own documented sticky-footer/full-height pattern: display:flex, flex-direction:column, min-height:100vh, with the main content area set to flex:1 0 auto), with .main.container-fluid and its .row set to flex: 1 0 auto so they grow to fill the remaining space below the header/nav and above the existing body padding-bottom that already clears the fixed Vue SPA modules (ERM, ILL, Preservation, SIP2, Acquisitions/vendors) render their own main-container-equivalent markup nested inside a per-app root div (#erm, #sip2, etc.) rather than main-container.inc being a direct child of body, with an extra unstyled wrapper div (the Vue root template's own top-level element) in between. Both of those need the same flex treatment to pass the stretch all the way down to .main.container-fluid. Verified across short and long pages, with and without a sidebar, for both classic TT pages and all Vue SPA modules, at various viewport heights. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #144 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211336 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211336&action=edit Bug 43576: Convert circulation menu to icon-collapse mode Prototype the new icon-collapse convention on the circulation/patron sidebar menu: each link gets a FontAwesome icon plus its label wrapped in a .menu-label span, and the menu opts into .icon-collapse so collapsing the sidebar leaves the icons (and active-page highlight) visible instead of hiding the whole menu. Other module menus keep today's collapse-to-blank behaviour until they get the same treatment in follow-up patches. Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "Patrons", search for and open any patron's record. 3. On the patron's "Details" page, confirm the left sidebar (Check out, Details, Accounting, etc.) now shows an icon next to each link. 4. Click the toggle at the top of the sidebar to collapse it; confirm it shrinks to an icon-only rail, each icon shows its label as a tooltip on hover, and the current page's icon stays highlighted. 5. Click the toggle again to expand; confirm the labels return. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #145 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211337 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211337&action=edit Bug 43576: Convert circulation module nav to icon-collapse mode Apply the icon-collapse pattern to circ-nav.inc, the general Circulation-module sidebar (Check out, Check in, Holds, Transfers, Overdues, etc. shown on module-level pages like the Check-in screen). This is distinct from circ-menu.inc, the patron-context sidebar already converted, which only appears on pages tied to one patron. Same icon reused across analogous actions in different groups (e.g. "queue"/"to pull"/"awaiting pickup" share an icon between Holds and Recalls) to keep the icon-only collapsed view legible. Test plan: 1. No system preference changes required for the core menu (a few optional links -- Routing lists, On-site checkouts, Curbside pickups, Recalls -- only appear when their respective preferences are enabled). 2. Log in to the staff interface, click "Circulation" in the top navigation, then "Check-in" (or any other Circulation page). 3. Confirm the left sidebar (Check out, Check in, Holds, Transfers, Overdues, etc.) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #146 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211338 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211338&action=edit Bug 43576: Convert cataloguing menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Cataloging". 3. Click any link in the left sidebar (e.g. "Inventory" under Reports); confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #147 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211339 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211339&action=edit Bug 43576: Convert tools menu to icon-collapse mode Test plan: 1. No system preference changes required for the core menu (some optional links -- e.g. Rotating collections, Upload patron images, OPAC problem reports -- only appear when their respective preferences/permissions are enabled). 2. Log in to the staff interface, click "More" in the top navigation, then "Tools". 3. Click any tool (e.g. "Notices and slips"); confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #148 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211340 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211340&action=edit Bug 43576: Convert system preferences menu to icon-collapse mode Each of the 21 preference tabs gets an icon; the per-tab jump-link subtabs shown under the active tab are wrapped in a .pref-subtabs class so they're hidden (not icon-collapsed) when the sidebar is collapsed, since they have no natural icon representation. Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Administration", then "System preferences". 3. Confirm each of the 21 preference tabs (Accounting, Acquisitions, Administration, ...) now shows an icon, and that the active tab's sub-section jump links still appear below it when expanded. 4. Collapse the sidebar; confirm it shrinks to a flat icon-only rail (the active tab's sub-links are hidden while collapsed, since they have no natural icon), with the active tab's icon still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #149 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211341 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211341&action=edit Bug 43576: Convert reports menu to icon-collapse mode Test plan: 1. No system preference changes required (the "Report plugins" section only appears when plugins are enabled). 2. Log in to the staff interface, click "More" in the top navigation, then "Reports". 3. Confirm each sidebar link (Guided reports, Build new, statistics wizards, top lists, etc.) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #150 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211342 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211342&action=edit Bug 43576: Convert bibliographic record view menu to icon-collapse mode Test plan: 1. No system preference changes are required for the core tabs (Normal, Items, Checkout history). To see the full set of optional tabs, also enable: viewMARC, viewLabeledMARC, viewISBD, EasyAnalyticalRecords, ArticleRequests, and UseRecalls. 2. Log in to the staff interface, search the catalog for any record, and open its detail page. 3. Confirm each sidebar link (Normal, MARC, Items, Holds, Checkout history, etc.) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted; if the record has items, confirm the item barcode sub-list stays hidden while collapsed. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #151 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211343 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211343&action=edit Bug 43576: Convert serials menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Serials", then open any subscription (or "Claims"). 3. Confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #152 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211344 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211344&action=edit Bug 43576: Convert labels menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Tools", then "Label creator". 3. Confirm each sidebar link (Label batches, Label layouts, Label templates, Printer profiles, Print barcode range) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
Cash registers) for the logged-in library.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #153 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211345 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211345&action=edit Bug 43576: Convert point of sale menu to icon-collapse mode Test plan: 1. Enable the EnablePointOfSale and UseCashRegisters system preferences, and set up at least one cash register (Administration 2. Log in to the staff interface, click "More" in the top navigation, then "Point of sale". 3. Confirm the sidebar (Point of sale, Transaction history, Cash summary, and, with the right permissions, Configure cash registers / Configure items for purchase) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #154 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211346 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211346&action=edit Bug 43576: Convert guided reports view menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Reports", then "Guided reports". 3. Confirm the sidebar (Saved reports, View dictionary, Koha report library, Koha database schema) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #155 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211347 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211347&action=edit Bug 43576: Extend icon-collapse support to the Vue NavigationItem tree NavigationItem.vue (used by ERM, ILL, Preservation, SIP2 and other Vue-driven module sidebars via LeftMenu.vue) already rendered a per-item icon when the route declared one, but wrapped the link text in a bare <span> with no way for the collapse CSS to hide just the label. Add the menu-label class to that span, opt LeftMenu.vue's generic sidebar_menu into icon-collapse, and relax the CSS from a direct-child to a descendant combinator to reach the <a> through NavigationItem's extra wrapping <span>. Also add an icon-collapse active-state highlight for Vue Router's router-link-active class, mirroring the border/background TT menus already get from .active, since collapsed icons would otherwise have no way to show which page is current. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #156 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211348 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211348&action=edit Bug 43576: Flatten nested sub-tree indentation in icon-collapse mode The Vue NavigationItem tree (ERM, SIP2, etc, rendered via LeftMenu.vue) supports real multi-level nesting (e.g. eHoldings > Local > Packages/ Titles in ERM), and LeftMenu.vue's own scoped style indents each nested <ul> by 2em for the expanded view. That indentation was still being applied when collapsed, so deeper icons drifted right with each level and fell outside the narrow 3rem icon rail entirely. Reset the nested-ul indentation (and its alternating background) to flush/transparent specifically in icon-collapse mode, so every level of a sub-tree renders as a plain icon in the same column. Hierarchy can't be conveyed through indentation once labels are hidden anyway. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #157 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211349 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211349&action=edit Bug 43576: Convert vendor menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required. Requires at least one vendor to exist (Acquisitions > Vendor search > New vendor, if needed). 2. Log in to the staff interface, click "More" in the top navigation, then "Acquisitions", then search for and open any vendor. 3. Confirm the sidebar (Baskets, Basket groups, Contracts, Vendor issues, Invoices, Uncertain prices, and, if the ERM module is enabled, ERM agreements/ERM licenses) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #158 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211350 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211350&action=edit Bug 43576: Convert acquisitions menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Acquisitions". 3. Confirm the sidebar (Acquisitions home, Advanced search, Late orders, Suggestions, Invoices, Reports, Administration, etc.) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #159 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211351 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211351&action=edit Bug 43576: Convert administration menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required for the core sections; a few optional links (e.g. Self-service circulation (SIP2), Desks, EDI accounts) only appear when their respective preferences/permissions are enabled. 2. Log in to the staff interface, click "More" in the top navigation, then "Administration", then any non-System-preferences page (e.g. "Authorized values"). 3. Confirm the sidebar (System preferences, Basic parameters, Patrons and circulation, Accounting, Plugins, Jobs, Catalog, Acquisition parameters, Additional parameters) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #160 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211352 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211352&action=edit Bug 43576: Add a divider between icon-collapse groups Several menus group their links under <h5> headings (Cataloging, Tools, Reports, Serials, Point of sale, Guided reports view, Circulation module nav, and the Vue Administration/Acquisitions menus). Those headings are hidden in icon-collapse mode, which left no visual cue separating one group's icons from the next. Add a thin border-top on the first icon of each group (skipping the menu's very first group, which needs no separator) as a lightweight substitute for the hidden heading -- the same "divider between icon clusters" pattern used by VS Code's activity bar, Slack, and similar icon rails. Menus with a single flat list (e.g. circ-menu, prefs-menu, biblio-view-menu, vendor-menu) are unaffected, since they have no <h5> groups to begin with. Test plan: 1. Log in to the staff interface and open a page using a grouped menu, e.g. More > Cataloging, or Administration > Authorized values. 2. Expand the sidebar; confirm the group headings (Import, Export, Reports, ... or System preferences, Basic parameters, ...) still render normally. 3. Collapse the sidebar; confirm a thin divider line now appears between each group's icons, with no divider above the very first group. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #161 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211353 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211353&action=edit Bug 43576: (follow-up) Seat the collapse toggle without an extra whitespace band QA feedback: the toggle's own .sidebar-toggle row sat above the grey .sidebar_menu box, adding its own top padding on top of that box's, which left a mostly-empty grey strip at the top of the bar whenever it was expanded. Drop that separate row. The button is now absolutely positioned in the grey box's own top-right corner (aside is already position:relative), and .sidebar_menu reserves just enough top padding to clear it, so there's a single continuous grey box with the toggle seated in its corner instead of a seam between two boxes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #162 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211354 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211354&action=edit Bug 43576: (follow-up) De-emphasise menu icons alongside labels QA feedback: several staff found the expanded (non-collapsed) sidebar menus more cluttered now that every link shows both an icon and a label; before this branch these menus were text-only, so the icons are new visual weight nobody opted into. Icons only need to carry the full meaning on their own once they're collapsed down to icon-only mode. While the label is still there alongside them, mute the icon to a lighter grey and a touch smaller than the label, so the label reads as the primary content and the icon recedes to a secondary affordance. Restore full icon strength (colour inherited from the link, so active/hover states still tint it) once collapsed mode makes the icon the only thing left to read. Give the icon an explicit margin-right for consistent spacing too, rather than relying on incidental markup whitespace between <i> and the label: the plain .inc templates have a literal space character there, but in the Vue components that whitespace spans a newline and gets stripped entirely by Vue's template compiler, so the two templating systems rendered inconsistent gaps otherwise. Drop the now- redundant literal space from the .inc templates so the gap comes from the same CSS margin everywhere. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #163 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211355 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211355&action=edit Bug 43576: (follow-up) Disambiguate icons reused across menu groups QA feedback: collapsing a menu down to icon-only sometimes stacks the same icon in two different groups with nothing to tell them apart, e.g. circulation's Holds and Recalls groups both used fa-list-check, fa-hand, and fa-box-open for their equivalent queue/pull/awaiting-pickup actions, and acquisitions' three "Manage ... fields" screens all used fa-list-check. Give the concrete clashes found so far more distinct icons: - circ-nav.inc: Recalls queue/to pull/awaiting pickup get their own icons instead of borrowing the Holds group's. - AcquisitionsMenu.vue: the invoice/basket/order-line "Manage fields" entries each get their own icon. Also thicken and darken the divider that marks a group boundary when collapsed (a hidden heading no longer visually separates the groups on its own), and tighten the gap above it: the previous group's <ul> was still carrying its normal-mode margin-bottom, stacking with the divider's own margin-top to read as more empty space than the divider needed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #164 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211356 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211356&action=edit Bug 43576: (follow-up) Apply the collapsed sidebar state before first paint QA feedback: collapse the sidebar and navigate to another page and the full menu shows briefly before the document-ready handler restores the collapsed state. The body is made visible before that handler runs, so the page painted expanded first. Set a sidebar-collapsed class on <html> from a small inline script in the document head, and let the stylesheet apply the collapsed width, the main column width and the chevron glyph from it. sidebar.js still sets .collapsed, the chevron classes and aria-expanded as before, so the existing behaviour and Sidebar_spec.ts are unchanged. This also stops sidebar.js from rewriting $("main").parent() on pages that have no sidebar at all, where a stored collapsed state turned the main column into col-md-12 at 90% width. setSidebarState now returns early when there is no #sidebar-container, and the main column width is handled in CSS under the same min-width as the toggle itself. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #165 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211357 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211357&action=edit Bug 43576: (follow-up) Keep collapsed menu labels available to assistive tech QA feedback: .menu-label was set to display: none when the sidebar collapses, which removes the label text from the accessibility tree. The links still got a name from their title attribute, but that is a weak fallback and gives the wrong name where the title is not the label: the circulation Overdues links were announced with their long warning tooltips rather than "Overdues" and "Overdues with fines". Use Bootstrap's visually-hidden mixin instead, so the label stays in the accessibility tree while looking exactly as before. The link becomes position: relative so the clipped label stays contained within it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #166 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211358 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211358&action=edit Bug 43576: (follow-up) Drop the grey rail when a collapsed sidebar is empty QA feedback: on pages like members/members-home.pl the sidebar holds only a filters form, which is hidden when collapsed, leaving an empty grey strip containing nothing but the toggle. When no .sidebar_menu.icon-collapse is present, make the collapsed sidebar transparent so only the chevron handle remains. Sidebars that still show an icon menu when collapsed keep their grey rail. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #167 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211359 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211359&action=edit Bug 43576: (follow-up) Use the icons already shown elsewhere in the menus QA feedback: the sidebar menus introduced their own icons for links that already have an established icon on the module home pages and in the header search tabs, e.g. Check out and Check in were fa-right-from-bracket and fa-right-to-bracket here but fa-upload and fa-download everywhere else. Take the icon from the existing home page for the same link in the circulation, cataloguing, labels and reports menus. Where a home page gives the same icon to two links in one menu, or to Holds and Recalls, keep the later link on its own icon so a collapsed menu never shows two identical icons next to each other. Test plan: 1. Apply the patch and rebuild the CSS 2. Open Circulation > Check in and compare the sidebar icons with those on the circulation home page and the header search tabs 3. Repeat for the cataloguing, labels and reports sidebars and compare with the cataloguing, label creator and reports home pages 4. Collapse the sidebar and confirm no two neighbouring icons match Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #168 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211360 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211360&action=edit Bug 43576: (follow-up) Let the main column fill the space beside a collapsed sidebar The collapsed sidebar column is a fixed 3rem wide, but the main column was held at 90% of the row, leaving a large empty gap on the right. Let the main column take the remaining width instead. Test plan: 1. Apply the patch and rebuild the CSS 2. Open Circulation > Check in and collapse the sidebar 3. Confirm the page content extends to the right edge with no gap Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #169 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211361 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211361&action=edit Bug 43576: (follow-up) Stop the home pages reusing one icon for different links The previous follow-up kept a distinct icon in the sidebar menu wherever the home page gave the same icon to several links. Bring the home pages in line so the same link has the same icon everywhere, and no page shows one icon for two different links. Circulation home: Recalls queue, Recalls to pull, Overdue recalls, Recalls awaiting pickup and Old recalls no longer share the Holds and Overdues icons, Overdues with fines gets its own icon, and Bookings to collect no longer matches Holds awaiting pickup. Cataloguing home: Batch record modification, Batch record deletion, Quick spine label creator, Upload local cover image and Preferences get their own icons instead of repeating those of the neighbouring links, and Advanced editor is distinguished from Batch item modification. Fast cataloging uses fa-bolt on both home pages and in the circulation menu, so it no longer matches the New record button. Test plan: 1. Apply the patch 2. Open the circulation and cataloguing home pages and confirm every link has an icon, with no two different links sharing one 3. Open Circulation > Check in and Cataloguing and compare the sidebar icons with the links on those home pages: they should match Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #170 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211362 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211362&action=edit Bug 43576: (follow-up) Align header search tab icons with the sidebar menus The header search tabs and the sidebar menus used different icons for the same links. Use one icon per link in both places. Sidebar menus now follow the tab: - System preferences uses fa-gears - Patron categories uses fa-id-card - Currencies uses fa-dollar-sign, in both the administration and acquisitions menus, which previously disagreed with each other Tabs now follow the menu, where the menu icon is the clearer one: - Search cities uses fa-city, as fa-building is the Libraries icon - Search funds uses fa-sack-dollar - Search contracts uses fa-file-signature - Search suggestions uses fa-lightbulb - Search notices uses fa-envelope The administration menu's Jobs entry gives up fa-gears, which it shared with System preferences, and uses fa-bars-progress instead. Test plan: 1. Apply the patch and rebuild the JS (yarn js:build) 2. Open Administration > Cities and compare the Search cities tab icon with the Cities and towns entry in the sidebar 3. Repeat for the Funds, Contracts, Suggestions and Notices search tabs and their sidebar entries 4. Confirm the System preferences, Patron categories and Currencies sidebar entries match their search tabs, and that no two entries in the administration menu share an icon Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Passed QA --- Comment #171 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Rebased the series onto current main, no functional change. Two conflicts, both from bug 41921 (execute_reports permission split into foreground/background, plus the new 'Report jobs' link): in includes/reports-menu.inc and includes/guided-reports-view.inc I kept the new permission conditions and converted the markup to icon-collapse mode, giving the new 'Report jobs' link a fa-list-check icon. Re-checked: yarn build, koha-qa.pl over the 31 commits, and the Preservation/Main, SIP2/Institutions and ERM/Main Cypress specs (which use the shared Vue left menu) pass. Restoring status to Passed QA. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Failed QA --- Comment #172 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Hi all, The collapsed sidebar works well on the template-based pages, but the Vue parts of the staff interface have these problems: 1) The page content doesn't widen when the sidebar is collapsed, leaving a large empty space on the right. a) Go to Acquisitions > Vendors (http://localhost:8081/cgi-bin/koha/acquisition/vendors) b) Click 'Toggle sidebar' at the top of the sidebar => The sidebar shrinks to icons, but the content keeps its width c) Do the same on Circulation > Check in (http://localhost:8081/cgi-bin/koha/circ/returns.pl) => There the content widens to fill the space 2) After a reload with the sidebar collapsed, the first click on 'Toggle sidebar' does nothing. a) Go to Acquisitions > Vendors (http://localhost:8081/cgi-bin/koha/acquisition/vendors) and click 'Toggle sidebar' to collapse it b) Reload the page c) Click 'Toggle sidebar' once => Nothing happens, it only expands on the second click 3) The collapsed icons have no label on hover. a) Go to Administration > SIP2 (http://localhost:8081/cgi-bin/koha/sip2/sip2.pl) and click 'Toggle sidebar' b) Hover over the sidebar icons => No label shows, unlike the collapsed icons on Acquisitions > Vendors 4) t/cypress/integration/Islands/AcquisitionsMenu_spec.ts fails, as the menu text is now wrapped in a span: a) yarn cypress run --spec t/cypress/integration/Islands/AcquisitionsMenu_spec.ts => "Should correctly apply the 'current' class" fails: expected '<span.menu-label>' to have class 'current' Also, as a non-blocker, the 'Notices management' link in the Tools menu (added by bug 33260, after this series was written) wasn't converted: a) Set 'NoticesManagement' to 'Enable' (http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=NoticesManagement) b) Go to Tools > Notices and slips (http://localhost:8081/cgi-bin/koha/tools/letter.pl) => 'Notices management' has no icon in the sidebar, unlike the links around it c) Click 'Toggle sidebar' => The 'Notices management' text spills out of the collapsed sidebar -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #173 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211771 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211771&action=edit Bug 43576: (QA follow-up) Make the collapsed sidebar work on the Vue pages Three problems on the pages where the sidebar is rendered by Vue (Acquisitions > Vendors, Administration > SIP2, ERM, ILL, Preservation, Circulation triggers): - The content did not widen when the sidebar was collapsed. The rule that lets the main column fill the space is attached to the .sidebar-main class the templates give their main column, which the Vue Main components did not have. Add it. - After a reload with the sidebar collapsed, the first click on the toggle did nothing. The toggle decided what to do from the .collapsed class of #sidebar-container, but the Vue sidebar is not rendered yet when the saved state is restored, so it never got that class while the page was already collapsed by the class set on <html> before first paint. Decide from the class on <html> instead. - The collapsed icons had no label on hover, unlike those of the vendor and acquisitions menus, because NavigationItem did not set a title on its links. Set it to the item's title. Add Cypress tests for the three. To test: 1. Apply the patches, yarn js:build 2. Go to Acquisitions > Vendors and click "Toggle sidebar" => The sidebar shrinks to icons and the content fills the width, as on Circulation > Check in 3. Reload the page, then click "Toggle sidebar" once => The sidebar expands 4. Go to Administration > SIP2, click "Toggle sidebar" and hover over the icons => Each shows its label 5. Run the Cypress spec t/cypress/integration/Sidebar_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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #174 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211772 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211772&action=edit Bug 43576: (QA follow-up) Update the Acquisitions menu spec for the label span The menu text is now wrapped in a span.menu-label, so cy.get("a").contains("Acquisitions home") yields the span rather than the link, and "Should correctly apply the 'current' class" failed asserting the class on it. Ask for the link that contains the text instead. To test: 1. Apply the patches, yarn js:build 2. yarn cypress run --spec t/cypress/integration/Islands/AcquisitionsMenu_spec.ts => All tests pass (before: "Should correctly apply the 'current' class" failed) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff --- Comment #175 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- (In reply to Pedro Amorim from comment #172) Thanks Pedro, good finds. Two follow-ups: 1) Vue pages: the content did not widen because the rule that lets the main column fill the space hangs off .sidebar-main, which the templates' main column has and the Vue Main components did not. Added it to the ERM, ILL, Preservation, SIP2, Vendors and Circulation triggers Main components. 2) The first click after a reload did nothing: the toggle looked at the .collapsed class of #sidebar-container, which the Vue sidebar does not have yet when the saved state is restored (it is rendered later), while <html> already carries sidebar-collapsed from before first paint. It now decides from the class on <html>. 3) NavigationItem now sets a title on its links, as the vendor and acquisitions menus already did, so the collapsed SIP2 icons have a label on hover. 4) AcquisitionsMenu_spec: cy.get('a').contains() now yields the new span.menu-label, so the spec asks for the link containing the text instead. New Cypress tests in Sidebar_spec.ts cover 1 to 3 (each fails without the fix); AcquisitionsMenu_spec.ts passes again. The 'Notices management' link is not done here: it only exists on main since bug 33260 landed, so this branch (which predates it) has no link to convert. It needs a rebase of the series onto current main first; it merges cleanly, so I will add it with the next rebase rather than re-attach all 31 patches now. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #211332|0 |1 is obsolete| | Attachment #211333|0 |1 is obsolete| | Attachment #211334|0 |1 is obsolete| | Attachment #211335|0 |1 is obsolete| | Attachment #211336|0 |1 is obsolete| | Attachment #211337|0 |1 is obsolete| | Attachment #211338|0 |1 is obsolete| | Attachment #211339|0 |1 is obsolete| | Attachment #211340|0 |1 is obsolete| | Attachment #211341|0 |1 is obsolete| | Attachment #211342|0 |1 is obsolete| | Attachment #211343|0 |1 is obsolete| | Attachment #211344|0 |1 is obsolete| | Attachment #211345|0 |1 is obsolete| | Attachment #211346|0 |1 is obsolete| | Attachment #211347|0 |1 is obsolete| | Attachment #211348|0 |1 is obsolete| | Attachment #211349|0 |1 is obsolete| | Attachment #211350|0 |1 is obsolete| | Attachment #211351|0 |1 is obsolete| | Attachment #211352|0 |1 is obsolete| | Attachment #211353|0 |1 is obsolete| | Attachment #211354|0 |1 is obsolete| | Attachment #211355|0 |1 is obsolete| | Attachment #211356|0 |1 is obsolete| | Attachment #211357|0 |1 is obsolete| | Attachment #211358|0 |1 is obsolete| | Attachment #211359|0 |1 is obsolete| | Attachment #211360|0 |1 is obsolete| | Attachment #211361|0 |1 is obsolete| | Attachment #211362|0 |1 is obsolete| | Attachment #211771|0 |1 is obsolete| | Attachment #211772|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #176 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211816 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211816&action=edit Bug 43576: Seat the collapse toggle inside the grey menu band, add icon-collapse support and persist state The sidebar collapse toggle (Bug 42322) currently floats as a bordered/shadowed button pinned to the edge of the aside, visually disconnected from the grey .sidebar_menu box it controls. This styles the toggle to sit flush inside that same grey band instead. It also introduces an opt-in `.sidebar_menu.icon-collapse` modifier: when present, collapsing the sidebar keeps each link's icon visible and hides only its text label, instead of blanking the whole menu. Menus that haven't been converted yet keep today's blanket-hide behaviour, so this is safe to land ahead of converting every module menu. Finally, the collapsed/expanded state is now remembered in localStorage across page loads, since previously it silently reset to expanded on every navigation. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #177 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211817 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211817&action=edit Bug 43576: Scope icon-collapse CSS to actual nav lists, hide known sub-lists The icon-collapse rules used bare li/a selectors, which also matched list items inside unrelated <ol> filter forms embedded in some sidebar menus (e.g. serials-menu.inc's date-range filter), unhiding them when collapsed. Scope the rules to ul li / ul li > a instead, since none of the sidebar's filter forms use <ul>. Also explicitly hide two known nested sub-lists that don't carry their own icons and aren't meant to survive collapse: prefs-menu.inc's per-tab jump-link subtabs (.pref-subtabs) and biblio-view-menu.inc's item barcode list (#items_submenu). Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #178 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211819 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211819&action=edit Bug 43576: Extend grey background to full column height The sidebar's grey background only covered its own content (the aside and .sidebar_menu boxes are only as tall as their menu items), so on pages where the main content is taller than the sidebar the grey stopped abruptly below the last link, leaving a visible gap of plain background down to wherever the main content ends. Bootstrap's .row is a flex container, so #sidebar-container already stretches to match the taller sibling column's height; the aside itself just wasn't using that space. Give it the grey background and min-height: 100% so it fills the full column height when the main content is taller, while still shrinking to its own content when the sidebar is the taller side (no page-length changes, since this is a sibling-height match, not a viewport-height one). Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #179 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211821 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211821&action=edit Bug 43576: Stretch the sidebar to the actual viewport bottom The previous patch only made the sidebar match its sibling column's height, which does nothing on the very common case where neither column has enough content to reach the bottom of the browser window -- the whole .row simply shrink-wraps to whatever short content exists. Make body a min-height:100vh flex column (Bootstrap's own documented sticky-footer/full-height pattern: display:flex, flex-direction:column, min-height:100vh, with the main content area set to flex:1 0 auto), with .main.container-fluid and its .row set to flex: 1 0 auto so they grow to fill the remaining space below the header/nav and above the existing body padding-bottom that already clears the fixed Vue SPA modules (ERM, ILL, Preservation, SIP2, Acquisitions/vendors) render their own main-container-equivalent markup nested inside a per-app root div (#erm, #sip2, etc.) rather than main-container.inc being a direct child of body, with an extra unstyled wrapper div (the Vue root template's own top-level element) in between. Both of those need the same flex treatment to pass the stretch all the way down to .main.container-fluid. Verified across short and long pages, with and without a sidebar, for both classic TT pages and all Vue SPA modules, at various viewport heights. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #180 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211822 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211822&action=edit Bug 43576: Convert circulation menu to icon-collapse mode Prototype the new icon-collapse convention on the circulation/patron sidebar menu: each link gets a FontAwesome icon plus its label wrapped in a .menu-label span, and the menu opts into .icon-collapse so collapsing the sidebar leaves the icons (and active-page highlight) visible instead of hiding the whole menu. Other module menus keep today's collapse-to-blank behaviour until they get the same treatment in follow-up patches. Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "Patrons", search for and open any patron's record. 3. On the patron's "Details" page, confirm the left sidebar (Check out, Details, Accounting, etc.) now shows an icon next to each link. 4. Click the toggle at the top of the sidebar to collapse it; confirm it shrinks to an icon-only rail, each icon shows its label as a tooltip on hover, and the current page's icon stays highlighted. 5. Click the toggle again to expand; confirm the labels return. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #181 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211824 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211824&action=edit Bug 43576: Convert circulation module nav to icon-collapse mode Apply the icon-collapse pattern to circ-nav.inc, the general Circulation-module sidebar (Check out, Check in, Holds, Transfers, Overdues, etc. shown on module-level pages like the Check-in screen). This is distinct from circ-menu.inc, the patron-context sidebar already converted, which only appears on pages tied to one patron. Same icon reused across analogous actions in different groups (e.g. "queue"/"to pull"/"awaiting pickup" share an icon between Holds and Recalls) to keep the icon-only collapsed view legible. Test plan: 1. No system preference changes required for the core menu (a few optional links -- Routing lists, On-site checkouts, Curbside pickups, Recalls -- only appear when their respective preferences are enabled). 2. Log in to the staff interface, click "Circulation" in the top navigation, then "Check-in" (or any other Circulation page). 3. Confirm the left sidebar (Check out, Check in, Holds, Transfers, Overdues, etc.) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #182 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211825 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211825&action=edit Bug 43576: Convert cataloguing menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Cataloging". 3. Click any link in the left sidebar (e.g. "Inventory" under Reports); confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #183 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211827 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211827&action=edit Bug 43576: Convert tools menu to icon-collapse mode Test plan: 1. No system preference changes required for the core menu (some optional links -- e.g. Rotating collections, Upload patron images, OPAC problem reports -- only appear when their respective preferences/permissions are enabled). 2. Log in to the staff interface, click "More" in the top navigation, then "Tools". 3. Click any tool (e.g. "Notices and slips"); confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #184 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211829 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211829&action=edit Bug 43576: Convert system preferences menu to icon-collapse mode Each of the 21 preference tabs gets an icon; the per-tab jump-link subtabs shown under the active tab are wrapped in a .pref-subtabs class so they're hidden (not icon-collapsed) when the sidebar is collapsed, since they have no natural icon representation. Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Administration", then "System preferences". 3. Confirm each of the 21 preference tabs (Accounting, Acquisitions, Administration, ...) now shows an icon, and that the active tab's sub-section jump links still appear below it when expanded. 4. Collapse the sidebar; confirm it shrinks to a flat icon-only rail (the active tab's sub-links are hidden while collapsed, since they have no natural icon), with the active tab's icon still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #185 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211830 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211830&action=edit Bug 43576: Convert reports menu to icon-collapse mode Test plan: 1. No system preference changes required (the "Report plugins" section only appears when plugins are enabled). 2. Log in to the staff interface, click "More" in the top navigation, then "Reports". 3. Confirm each sidebar link (Guided reports, Build new, statistics wizards, top lists, etc.) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #186 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211832 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211832&action=edit Bug 43576: Convert bibliographic record view menu to icon-collapse mode Test plan: 1. No system preference changes are required for the core tabs (Normal, Items, Checkout history). To see the full set of optional tabs, also enable: viewMARC, viewLabeledMARC, viewISBD, EasyAnalyticalRecords, ArticleRequests, and UseRecalls. 2. Log in to the staff interface, search the catalog for any record, and open its detail page. 3. Confirm each sidebar link (Normal, MARC, Items, Holds, Checkout history, etc.) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted; if the record has items, confirm the item barcode sub-list stays hidden while collapsed. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #187 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211833 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211833&action=edit Bug 43576: Convert serials menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Serials", then open any subscription (or "Claims"). 3. Confirm each sidebar link now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #188 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211835 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211835&action=edit Bug 43576: Convert labels menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Tools", then "Label creator". 3. Confirm each sidebar link (Label batches, Label layouts, Label templates, Printer profiles, Print barcode range) now shows an icon. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
Cash registers) for the logged-in library.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #189 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211837 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211837&action=edit Bug 43576: Convert point of sale menu to icon-collapse mode Test plan: 1. Enable the EnablePointOfSale and UseCashRegisters system preferences, and set up at least one cash register (Administration 2. Log in to the staff interface, click "More" in the top navigation, then "Point of sale". 3. Confirm the sidebar (Point of sale, Transaction history, Cash summary, and, with the right permissions, Configure cash registers / Configure items for purchase) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #190 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211838 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211838&action=edit Bug 43576: Convert guided reports view menu to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Reports", then "Guided reports". 3. Confirm the sidebar (Saved reports, View dictionary, Koha report library, Koha database schema) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #191 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211840 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211840&action=edit Bug 43576: Extend icon-collapse support to the Vue NavigationItem tree NavigationItem.vue (used by ERM, ILL, Preservation, SIP2 and other Vue-driven module sidebars via LeftMenu.vue) already rendered a per-item icon when the route declared one, but wrapped the link text in a bare <span> with no way for the collapse CSS to hide just the label. Add the menu-label class to that span, opt LeftMenu.vue's generic sidebar_menu into icon-collapse, and relax the CSS from a direct-child to a descendant combinator to reach the <a> through NavigationItem's extra wrapping <span>. Also add an icon-collapse active-state highlight for Vue Router's router-link-active class, mirroring the border/background TT menus already get from .active, since collapsed icons would otherwise have no way to show which page is current. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #192 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211841 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211841&action=edit Bug 43576: Flatten nested sub-tree indentation in icon-collapse mode The Vue NavigationItem tree (ERM, SIP2, etc, rendered via LeftMenu.vue) supports real multi-level nesting (e.g. eHoldings > Local > Packages/ Titles in ERM), and LeftMenu.vue's own scoped style indents each nested <ul> by 2em for the expanded view. That indentation was still being applied when collapsed, so deeper icons drifted right with each level and fell outside the narrow 3rem icon rail entirely. Reset the nested-ul indentation (and its alternating background) to flush/transparent specifically in icon-collapse mode, so every level of a sub-tree renders as a plain icon in the same column. Hierarchy can't be conveyed through indentation once labels are hidden anyway. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #193 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211843 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211843&action=edit Bug 43576: Convert vendor menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required. Requires at least one vendor to exist (Acquisitions > Vendor search > New vendor, if needed). 2. Log in to the staff interface, click "More" in the top navigation, then "Acquisitions", then search for and open any vendor. 3. Confirm the sidebar (Baskets, Basket groups, Contracts, Vendor issues, Invoices, Uncertain prices, and, if the ERM module is enabled, ERM agreements/ERM licenses) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #194 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211845 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211845&action=edit Bug 43576: Convert acquisitions menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required. 2. Log in to the staff interface, click "More" in the top navigation, then "Acquisitions". 3. Confirm the sidebar (Acquisitions home, Advanced search, Late orders, Suggestions, Invoices, Reports, Administration, etc.) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #195 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211846 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211846&action=edit Bug 43576: Convert administration menu (Vue) to icon-collapse mode Test plan: 1. No system preference changes required for the core sections; a few optional links (e.g. Self-service circulation (SIP2), Desks, EDI accounts) only appear when their respective preferences/permissions are enabled. 2. Log in to the staff interface, click "More" in the top navigation, then "Administration", then any non-System-preferences page (e.g. "Authorized values"). 3. Confirm the sidebar (System preferences, Basic parameters, Patrons and circulation, Accounting, Plugins, Jobs, Catalog, Acquisition parameters, Additional parameters) now shows an icon next to each link. 4. Collapse the sidebar and confirm it shrinks to an icon-only rail with tooltips on hover and the current page still highlighted. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #196 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211848 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211848&action=edit Bug 43576: Add a divider between icon-collapse groups Several menus group their links under <h5> headings (Cataloging, Tools, Reports, Serials, Point of sale, Guided reports view, Circulation module nav, and the Vue Administration/Acquisitions menus). Those headings are hidden in icon-collapse mode, which left no visual cue separating one group's icons from the next. Add a thin border-top on the first icon of each group (skipping the menu's very first group, which needs no separator) as a lightweight substitute for the hidden heading -- the same "divider between icon clusters" pattern used by VS Code's activity bar, Slack, and similar icon rails. Menus with a single flat list (e.g. circ-menu, prefs-menu, biblio-view-menu, vendor-menu) are unaffected, since they have no <h5> groups to begin with. Test plan: 1. Log in to the staff interface and open a page using a grouped menu, e.g. More > Cataloging, or Administration > Authorized values. 2. Expand the sidebar; confirm the group headings (Import, Export, Reports, ... or System preferences, Basic parameters, ...) still render normally. 3. Collapse the sidebar; confirm a thin divider line now appears between each group's icons, with no divider above the very first group. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #197 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211849 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211849&action=edit Bug 43576: (follow-up) Seat the collapse toggle without an extra whitespace band QA feedback: the toggle's own .sidebar-toggle row sat above the grey .sidebar_menu box, adding its own top padding on top of that box's, which left a mostly-empty grey strip at the top of the bar whenever it was expanded. Drop that separate row. The button is now absolutely positioned in the grey box's own top-right corner (aside is already position:relative), and .sidebar_menu reserves just enough top padding to clear it, so there's a single continuous grey box with the toggle seated in its corner instead of a seam between two boxes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #198 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211851 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211851&action=edit Bug 43576: (follow-up) De-emphasise menu icons alongside labels QA feedback: several staff found the expanded (non-collapsed) sidebar menus more cluttered now that every link shows both an icon and a label; before this branch these menus were text-only, so the icons are new visual weight nobody opted into. Icons only need to carry the full meaning on their own once they're collapsed down to icon-only mode. While the label is still there alongside them, mute the icon to a lighter grey and a touch smaller than the label, so the label reads as the primary content and the icon recedes to a secondary affordance. Restore full icon strength (colour inherited from the link, so active/hover states still tint it) once collapsed mode makes the icon the only thing left to read. Give the icon an explicit margin-right for consistent spacing too, rather than relying on incidental markup whitespace between <i> and the label: the plain .inc templates have a literal space character there, but in the Vue components that whitespace spans a newline and gets stripped entirely by Vue's template compiler, so the two templating systems rendered inconsistent gaps otherwise. Drop the now- redundant literal space from the .inc templates so the gap comes from the same CSS margin everywhere. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #199 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211853 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211853&action=edit Bug 43576: (follow-up) Disambiguate icons reused across menu groups QA feedback: collapsing a menu down to icon-only sometimes stacks the same icon in two different groups with nothing to tell them apart, e.g. circulation's Holds and Recalls groups both used fa-list-check, fa-hand, and fa-box-open for their equivalent queue/pull/awaiting-pickup actions, and acquisitions' three "Manage ... fields" screens all used fa-list-check. Give the concrete clashes found so far more distinct icons: - circ-nav.inc: Recalls queue/to pull/awaiting pickup get their own icons instead of borrowing the Holds group's. - AcquisitionsMenu.vue: the invoice/basket/order-line "Manage fields" entries each get their own icon. Also thicken and darken the divider that marks a group boundary when collapsed (a hidden heading no longer visually separates the groups on its own), and tighten the gap above it: the previous group's <ul> was still carrying its normal-mode margin-bottom, stacking with the divider's own margin-top to read as more empty space than the divider needed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #200 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211854 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211854&action=edit Bug 43576: (follow-up) Apply the collapsed sidebar state before first paint QA feedback: collapse the sidebar and navigate to another page and the full menu shows briefly before the document-ready handler restores the collapsed state. The body is made visible before that handler runs, so the page painted expanded first. Set a sidebar-collapsed class on <html> from a small inline script in the document head, and let the stylesheet apply the collapsed width, the main column width and the chevron glyph from it. sidebar.js still sets .collapsed, the chevron classes and aria-expanded as before, so the existing behaviour and Sidebar_spec.ts are unchanged. This also stops sidebar.js from rewriting $("main").parent() on pages that have no sidebar at all, where a stored collapsed state turned the main column into col-md-12 at 90% width. setSidebarState now returns early when there is no #sidebar-container, and the main column width is handled in CSS under the same min-width as the toggle itself. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #201 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211856 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211856&action=edit Bug 43576: (follow-up) Keep collapsed menu labels available to assistive tech QA feedback: .menu-label was set to display: none when the sidebar collapses, which removes the label text from the accessibility tree. The links still got a name from their title attribute, but that is a weak fallback and gives the wrong name where the title is not the label: the circulation Overdues links were announced with their long warning tooltips rather than "Overdues" and "Overdues with fines". Use Bootstrap's visually-hidden mixin instead, so the label stays in the accessibility tree while looking exactly as before. The link becomes position: relative so the clipped label stays contained within it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #202 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211857 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211857&action=edit Bug 43576: (follow-up) Drop the grey rail when a collapsed sidebar is empty QA feedback: on pages like members/members-home.pl the sidebar holds only a filters form, which is hidden when collapsed, leaving an empty grey strip containing nothing but the toggle. When no .sidebar_menu.icon-collapse is present, make the collapsed sidebar transparent so only the chevron handle remains. Sidebars that still show an icon menu when collapsed keep their grey rail. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #203 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211859 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211859&action=edit Bug 43576: (follow-up) Use the icons already shown elsewhere in the menus QA feedback: the sidebar menus introduced their own icons for links that already have an established icon on the module home pages and in the header search tabs, e.g. Check out and Check in were fa-right-from-bracket and fa-right-to-bracket here but fa-upload and fa-download everywhere else. Take the icon from the existing home page for the same link in the circulation, cataloguing, labels and reports menus. Where a home page gives the same icon to two links in one menu, or to Holds and Recalls, keep the later link on its own icon so a collapsed menu never shows two identical icons next to each other. Test plan: 1. Apply the patch and rebuild the CSS 2. Open Circulation > Check in and compare the sidebar icons with those on the circulation home page and the header search tabs 3. Repeat for the cataloguing, labels and reports sidebars and compare with the cataloguing, label creator and reports home pages 4. Collapse the sidebar and confirm no two neighbouring icons match Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #204 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211861 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211861&action=edit Bug 43576: (follow-up) Let the main column fill the space beside a collapsed sidebar The collapsed sidebar column is a fixed 3rem wide, but the main column was held at 90% of the row, leaving a large empty gap on the right. Let the main column take the remaining width instead. Test plan: 1. Apply the patch and rebuild the CSS 2. Open Circulation > Check in and collapse the sidebar 3. Confirm the page content extends to the right edge with no gap Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #205 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211862 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211862&action=edit Bug 43576: (follow-up) Stop the home pages reusing one icon for different links The previous follow-up kept a distinct icon in the sidebar menu wherever the home page gave the same icon to several links. Bring the home pages in line so the same link has the same icon everywhere, and no page shows one icon for two different links. Circulation home: Recalls queue, Recalls to pull, Overdue recalls, Recalls awaiting pickup and Old recalls no longer share the Holds and Overdues icons, Overdues with fines gets its own icon, and Bookings to collect no longer matches Holds awaiting pickup. Cataloguing home: Batch record modification, Batch record deletion, Quick spine label creator, Upload local cover image and Preferences get their own icons instead of repeating those of the neighbouring links, and Advanced editor is distinguished from Batch item modification. Fast cataloging uses fa-bolt on both home pages and in the circulation menu, so it no longer matches the New record button. Test plan: 1. Apply the patch 2. Open the circulation and cataloguing home pages and confirm every link has an icon, with no two different links sharing one 3. Open Circulation > Check in and Cataloguing and compare the sidebar icons with the links on those home pages: they should match Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #206 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211864 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211864&action=edit Bug 43576: (follow-up) Align header search tab icons with the sidebar menus The header search tabs and the sidebar menus used different icons for the same links. Use one icon per link in both places. Sidebar menus now follow the tab: - System preferences uses fa-gears - Patron categories uses fa-id-card - Currencies uses fa-dollar-sign, in both the administration and acquisitions menus, which previously disagreed with each other Tabs now follow the menu, where the menu icon is the clearer one: - Search cities uses fa-city, as fa-building is the Libraries icon - Search funds uses fa-sack-dollar - Search contracts uses fa-file-signature - Search suggestions uses fa-lightbulb - Search notices uses fa-envelope The administration menu's Jobs entry gives up fa-gears, which it shared with System preferences, and uses fa-bars-progress instead. Test plan: 1. Apply the patch and rebuild the JS (yarn js:build) 2. Open Administration > Cities and compare the Search cities tab icon with the Cities and towns entry in the sidebar 3. Repeat for the Funds, Contracts, Suggestions and Notices search tabs and their sidebar entries 4. Confirm the System preferences, Patron categories and Currencies sidebar entries match their search tabs, and that no two entries in the administration menu share an icon Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #207 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211865 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211865&action=edit Bug 43576: (QA follow-up) Make the collapsed sidebar work on the Vue pages Three problems on the pages where the sidebar is rendered by Vue (Acquisitions > Vendors, Administration > SIP2, ERM, ILL, Preservation, Circulation triggers): - The content did not widen when the sidebar was collapsed. The rule that lets the main column fill the space is attached to the .sidebar-main class the templates give their main column, which the Vue Main components did not have. Add it. - After a reload with the sidebar collapsed, the first click on the toggle did nothing. The toggle decided what to do from the .collapsed class of #sidebar-container, but the Vue sidebar is not rendered yet when the saved state is restored, so it never got that class while the page was already collapsed by the class set on <html> before first paint. Decide from the class on <html> instead. - The collapsed icons had no label on hover, unlike those of the vendor and acquisitions menus, because NavigationItem did not set a title on its links. Set it to the item's title. Add Cypress tests for the three. To test: 1. Apply the patches, yarn js:build 2. Go to Acquisitions > Vendors and click "Toggle sidebar" => The sidebar shrinks to icons and the content fills the width, as on Circulation > Check in 3. Reload the page, then click "Toggle sidebar" once => The sidebar expands 4. Go to Administration > SIP2, click "Toggle sidebar" and hover over the icons => Each shows its label 5. Run the Cypress spec t/cypress/integration/Sidebar_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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #208 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211867 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211867&action=edit Bug 43576: (QA follow-up) Update the Acquisitions menu spec for the label span The menu text is now wrapped in a span.menu-label, so cy.get("a").contains("Acquisitions home") yields the span rather than the link, and "Should correctly apply the 'current' class" failed asserting the class on it. Ask for the link that contains the text instead. To test: 1. Apply the patches, yarn js:build 2. yarn cypress run --spec t/cypress/integration/Islands/AcquisitionsMenu_spec.ts => All tests pass (before: "Should correctly apply the 'current' class" failed) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #210 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Rebased the whole series onto current main (233 commits since the last submission) and re-attached it. Three conflicts, all in circ-nav.inc: bug 44012 era routing renamed circ/returns.pl to circ/checkin.pl, so the 'Check in' link keeps the new URL inside the icon-collapse markup. No functional change to the existing patches. New patch at the end: 'Convert the Notices management page and menu entry' for what bug 33260 added since the last submission. The Tools menu entry now has an icon and label span (it spilled out of the collapsed sidebar), and tools/notices.pl, which wrote its own two column layout without a sidebar container or toggle, now goes through main-container.inc so its sidebar can be collapsed too. Re-checked: koha-qa.pl over the 34 commits, Sidebar_spec, Tools/NoticesManagement_spec (45 tests), Preservation/Main, SIP2/Institutions, Islands/AcquisitionsMenu and Breadcrumbs specs all pass. Setting back to Passed QA, as it was before the failure; the earlier QA follow-ups are included in the series. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 --- Comment #211 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Correction to my last comment: the rename of circ/returns.pl to circ/checkin.pl that caused the three circ-nav.inc conflicts came from bug 42383 (not bug 44012, which I named by mistake). Nothing else changes. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |26.11.00 released in| | Status|Passed QA |Pushed to main --- Comment #212 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Pushed to main for 26.11 with permission from Release Manager as RM assistant.. going through the last PQA from before the hard freeze -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the|Enhance the collapsible |The collapsible staff release notes|side menu to make it |sidebar can now be |navigable whilst collapsed. |collapsed to an icon-only | |rail. Each link in the main |Add icons to all side menus |sidebar menus has an icon, |in the staff client and |and hovering over an icon |then retain them after |shows its label. The |collapse and use hover to |collapsed or expanded state |display menu hint text, |is remembered from page to |click to navigate. |page. The toggle is at the | |top of the sidebar. | | | |Menus converted so far are: | |circulation (patron and | |module menus), cataloguing, | |tools, system preferences, | |reports, guided reports, | |the bibliographic record | |view, serials, labels, | |point of sale, | |acquisitions, vendors and | |administration (the Vue | |menus), and the Notices | |management page. The icons | |match those on the module | |home pages and in the | |header search tabs, and no | |two neighbouring icons in a | |menu are the same. | | | |No system preference needs | |to be changed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Needs documenting --- Comment #213 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- No backport to 26.05.x -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org