https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383
--- Comment #237 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 211729 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211729&action=edit Bug 42383: (QA follow-up) Say the result of a dialog once, in an alert, and keep the dialogs for decisions Dialogs are for what staff have to decide or read: a transfer, a hold, a recall, a claim, the contents of a bundle, a note of the patron. The results of the check-in are alerts under the form, including the result of what was chosen in a dialog. Two things did not follow that: - The dialog of a transfer listed all the check-in messages (item type message, fees, restrictions...), and the dialog of a claim the messages about the lost item fees. They were shown again as alerts as soon as the dialog was closed. They are no longer in the dialogs, the alerts have them. The dialogs keep what is needed to decide: the reason of the transfer, the hold and its patron, the recall, the fields of the claim - Nothing said the result of the choice: after Confirm hold, Cancel transfer or Resolve claim only the badge of the row changed. An alert now says it once the dialog is closed: "Hold confirmed: the item is waiting at X" or "being sent to X", "The hold was cancelled.", "The item is being sent to X.", "The transfer was cancelled." or "The item was not transferred.", "Recall confirmed.", "The return claim was resolved." Test plan: 1. Apply the patch and rebuild the JS (yarn js:build) 2. Check in an item that belongs to another library, with an item type message (Check in message of the item type), and open the transfer dialog => The dialog has the reason of the transfer, not the message 3. Press OK (Y) => The alerts say that the item is being sent, and show the message 4. Repeat with a hold (Confirm hold), a cancelled transfer and a return claim => An alert says the result each time 5. Run: $ yarn cypress run --spec t/cypress/integration/Circulation/Checkin_spec.ts => SUCCESS: Tests pass! Assisted-by: Sonnet 5.5 (Anthropic) Signed-off-by: Martin Renvoize <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
