[Bug 44206] New: Check-in transfer dialog mentions buttons it does not show
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44206 Bug ID: 44206 Summary: Check-in transfer dialog mentions buttons it does not show Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal 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: --- On the new check-in page, when an item needs to go to another library and the transfer has already been created (AutomaticItemReturn), the dialog "Please return this item to: <library>" shows this grey text: The transfer has already been created. "Cancel transfer" cancels it and records the cancellation in the item's transfer history. "Ignore" leaves it exactly as it is. With TransfersBlockCirc enabled (the default), the dialog only has "OK (Y)" and "Print slip (P)". "Cancel transfer (X)" and "Ignore (I)" are only offered when TransfersBlockCirc is off, because with it on the page is blocked until a choice is made. So the text describes two buttons that are not on the screen, which is confusing. It was reported on Mattermost by someone looking for them. The text is also long, and is not needed: the buttons say what they do. The dialog already has the title, the reason for the transfer, and the Esc hint when closing it is allowed. Remove the explanatory text. Test plan: 1. Make sure TransfersBlockCirc is set to "Block" and AutomaticItemReturn is enabled 2. Have an item whose home library is not the library you are logged in at 3. Go to Circulation > Check in and check the item in => The dialog "Please return this item to: <library>" is shown with the grey text above, and only the buttons "OK (Y)" and "Print slip (P)" 4. Apply the patch, run yarn js:build and hard refresh 5. Check in another such item => The dialog has no grey text, with the same two buttons 6. Set TransfersBlockCirc to "Don't block" and check in another such item => The dialog has "OK (Y)", "Print slip (P)", "Cancel transfer (X)" and "Ignore (I)", and no grey text 7. Run the Cypress spec t/cypress/integration/Circulation/Checkin_spec.ts 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=44206 --- Comment #1 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 212195 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212195&action=edit Bug 44206: Remove the redundant text from the check-in transfer dialog When the transfer already exists (AutomaticItemReturn), the dialog "Please return this item to: <library>" showed a grey text saying that "Cancel transfer" cancels it and "Ignore" leaves it as it is. With TransfersBlockCirc enabled, which is the default, the page is blocked until a choice is made, so the dialog only has "OK (Y)" and "Print slip (P)". The text described two buttons that are not shown. The text is also not needed: the buttons say what they do, and the dialog still has the reason for the transfer and, when closing it is allowed, the hint about Escape. Remove the text, and test that the blocking dialog does not describe buttons it does not show. To test: 1. Set TransfersBlockCirc to "Block" and enable AutomaticItemReturn 2. Check in an item whose home library is not the library you are logged in at => Without the patch the dialog has a grey text about "Cancel transfer" and "Ignore", and only the buttons "OK (Y)" and "Print slip (P)" 3. Apply the patch, run yarn js:build and hard refresh 4. Check in another such item => The dialog has no grey text, with the same two buttons 5. Set TransfersBlockCirc to "Don't block" and check in another such item => The dialog has "OK (Y)", "Print slip (P)", "Cancel transfer (X)" and "Ignore (I)", and no grey text 6. Run the Cypress spec t/cypress/integration/Circulation/Checkin_spec.ts -- 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=44206 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- 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=44206 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |martin.renvoize@openfifth.c |ity.org |o.uk Keywords| |regression -- 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=44206 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=44206 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #212195|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=44206 --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 212472 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212472&action=edit Bug 44206: Remove the redundant text from the check-in transfer dialog When the transfer already exists (AutomaticItemReturn), the dialog "Please return this item to: <library>" showed a grey text saying that "Cancel transfer" cancels it and "Ignore" leaves it as it is. With TransfersBlockCirc enabled, which is the default, the page is blocked until a choice is made, so the dialog only has "OK (Y)" and "Print slip (P)". The text described two buttons that are not shown. The text is also not needed: the buttons say what they do, and the dialog still has the reason for the transfer and, when closing it is allowed, the hint about Escape. Remove the text, and test that the blocking dialog does not describe buttons it does not show. To test: 1. Set TransfersBlockCirc to "Block" and enable AutomaticItemReturn 2. Check in an item whose home library is not the library you are logged in at => Without the patch the dialog has a grey text about "Cancel transfer" and "Ignore", and only the buttons "OK (Y)" and "Print slip (P)" 3. Apply the patch, run yarn js:build and hard refresh 4. Check in another such item => The dialog has no grey text, with the same two buttons 5. Set TransfersBlockCirc to "Don't block" and check in another such item => The dialog has "OK (Y)", "Print slip (P)", "Cancel transfer (X)" and "Ignore (I)", and no grey text 6. Run the Cypress spec t/cypress/integration/Circulation/Checkin_spec.ts Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org