https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383

--- Comment #223 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211715
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211715&action=edit
Bug 42383: (QA follow-up) Restore the card layout of the check-in page

The legacy check-in page presents the form in a white block: the heading,
the barcode box and the settings that expand when the sliders icon in the
barcode box is clicked, separated by a rule. The checked-in items sit in a
second white block (".page-section") with a "Checked-in items" heading.

The Vue page lost this. Only the barcode row was white, the settings
panel was rendered on the grey page background outside any block, and the
checked-in items table had no block at all, so the form and the results
ran into the page background.

Restore it:

 - the heading, the barcode box, the active-settings badges and the
   settings panel share one white card, as before
 - the checked-in items are in their own card with the "Checked-in items"
   heading when there is something to show (the empty message stays plain)

The settings keep their legacy layout: the return date with its
"Remember" checkbox, then the other checkboxes, stacked.

The ids and behaviour of the options are unchanged.

Test plan:
1. Apply the patch and rebuild the JS (yarn js:build)
2. Go to Circulation > Check in
=> The heading and the barcode box are in a white card
3. Click the sliders icon in the barcode box
=> The settings expand inside the same card, below a rule: the return
   date, then the checkboxes, stacked as on the legacy page
4. Check in an item
=> The checked-in items are in a second white card, headed "Checked-in
   items"
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/

Reply via email to