[Bug 44141] New: Check-in page: add the Fast cataloging link to the sidebar
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44141 Bug ID: 44141 Summary: Check-in page: add the Fast cataloging link to the sidebar Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: martin.renvoize@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle@bywatersolutions.com Depends on: 42383 Target Milestone: --- The 'Fast cataloging' link is missing from the sidebar of the new Vue check-in page. The old check-in page and the other circulation pages (for example Renew) have it when a Fast add framework exists. Follow-up to bug 42383, reported by Pedro Amorim. Test plan: 1. Go to Circulation > Renew (/cgi-bin/koha/circ/renew.pl): the sidebar has a 'Fast cataloging' link (KTD has the 'FA' framework) 2. Go to Circulation > Check in (/cgi-bin/koha/circ/checkin.pl) 3. Expected: the same 'Fast cataloging' link in the sidebar, as on the old page. Actual: it is not there Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383 [Bug 42383] Migrate check-in page to Vue -- 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=44141 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- 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=44141 --- Comment #1 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211905 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211905&action=edit Bug 44141: Check-in page: add the Fast cataloging link to the sidebar The sidebar of the circulation pages has a 'Fast cataloging' link when a 'FA' framework exists. circ/checkin.pl did not tell the template, so the link was missing from the check-in page, which the old returns.pl did. Set fast_cataloging as the other circulation scripts do. The test that checks the dialog covers the sidebar probed a point 4 pixels inside the first link, which sits at the edge of the viewport now that the sidebar is longer. It scrolls the link into view and probes its centre instead. To test: 1. Go to Circulation > Renew: the sidebar has a 'Fast cataloging' link (KTD has the 'FA' framework) 2. Go to Circulation > Check in 3. The same link is in the sidebar 4. Remove the 'FA' framework in Administration > MARC bibliographic frameworks: the link is gone from both pages 5. Run the Cypress spec: t/cypress/integration/Circulation/Checkin_spec.ts Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- 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=44141 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Assignee|koha-bugs@lists.koha-commun |martin.renvoize@openfifth.c |ity.org |o.uk -- 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=44141 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com Status|Needs Signoff |Failed QA --- Comment #2 from David Nind <david@davidnind.com> --- If there is no fast add framework, the tests fail. They pass if there is a fast add framework. Test failure messages: ... 2 failing 1) Circulation - Check in Simple check-in has the Fast cataloging link in the sidebar: AssertionError: Timed out retrying after 10000ms: Expected to find element: `.circ-nav-menu a[href$='addbiblio.pl?frameworkcode=FA']`, but never found it. at Context.eval (webpack://koha/./t/cypress/integration/Circulation/Checkin_spec.ts:312:17) 2) Circulation - Check in Return date takes a time and does not allow a future date: AssertionError: Timed out retrying after 10000ms: expected '<div.flatpickr-calendar.hasTime.animate.arrowTop.arrowLeft>' to be 'visible' This element `<div.flatpickr-calendar.hasTime.animate.arrowTop.arrowLeft>` is not visible because it has CSS property: `display: none` ... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44141 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This fixes the sidebar when release notes| |selecting Circulation > | |Circulation > Check in. The | |"Fast cataloging" menu item | |now appears (if there is a | |fast add bibliographic | |framework). Before this | |fix, the "Fast cataloging" | |link in the sidebar was | |missing. | | | |(This fixes a regression | |from Bug 42383 - Migrate | |check-in page to Vue, added | |in Koha 26.11.) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44141 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Comma delimited| |OpenFifth list of Sponsors| |<https://openfifth.co.uk> Patch complexity|--- |Trivial patch Status|Failed QA |Needs Signoff Sponsorship status|--- |Sponsored -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44141 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #211905|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=44141 --- Comment #3 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211940 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211940&action=edit Bug 44141: Check-in page: add the Fast cataloging link to the sidebar The sidebar of the circulation pages has a 'Fast cataloging' link when a 'FA' framework exists. circ/checkin.pl did not tell the template, so the link was missing from the check-in page, which the old returns.pl did. Set fast_cataloging as the other circulation scripts do. The test that checks the dialog covers the sidebar probed a point 4 pixels inside the first link, which sits at the edge of the viewport now that the sidebar is longer. It scrolls the link into view and probes its centre instead. To test: 1. Go to Circulation > Renew: the sidebar has a 'Fast cataloging' link (KTD has the 'FA' framework) 2. Go to Circulation > Check in 3. The same link is in the sidebar 4. Remove the 'FA' framework in Administration > MARC bibliographic frameworks: the link is gone from both pages 5. Run the Cypress spec: t/cypress/integration/Circulation/Checkin_spec.ts 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=44141 --- Comment #4 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Thanks David, I amended the test to check for the existence of the framework and add one if it doesn't exist (and remove it again after). That should make the test reliably pass. Martin -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44141 David Nind <david@davidnind.com> 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=44141 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #211940|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=44141 --- Comment #5 from David Nind <david@davidnind.com> --- Created attachment 211991 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211991&action=edit Bug 44141: Check-in page: add the Fast cataloging link to the sidebar The sidebar of the circulation pages has a 'Fast cataloging' link when a 'FA' framework exists. circ/checkin.pl did not tell the template, so the link was missing from the check-in page, which the old returns.pl did. Set fast_cataloging as the other circulation scripts do. The test that checks the dialog covers the sidebar probed a point 4 pixels inside the first link, which sits at the edge of the viewport now that the sidebar is longer. It scrolls the link into view and probes its centre instead. To test: 1. Go to Circulation > Renew: the sidebar has a 'Fast cataloging' link (KTD has the 'FA' framework) 2. Go to Circulation > Check in 3. The same link is in the sidebar 4. Remove the 'FA' framework in Administration > MARC bibliographic frameworks: the link is gone from both pages 5. Run the Cypress spec: t/cypress/integration/Circulation/Checkin_spec.ts Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44141 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |tomascohen@gmail.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org