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

--- Comment #28 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 209561
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209561&action=edit
Bug 42383: Add Vue.js checkin page

Adds the Vue-based checkin (returns) page that consumes the checkin REST
API and its sub-resource confirmation/cancellation endpoints:

* circ/checkin.pl + checkin.tt entry point
* Vue module, store and components (BarcodeInput, CheckedInItems,
  CheckinOptions, ConfirmationModal, ResolveClaimModal,
  BundleVerificationModal, Main) under vue/components/Circ/Checkin/
* checkin-api-client fetch client, registered in the Vue api-client
* rspack: new `checkin` entry building to js/vue/dist/checkin.js
* http-client: honour return_response on non-ok responses so callers
  can inspect the error body/headers
* Koha::Checkin->verify_bundle for the bundle verification modal
* docs/checkin-vue-usecases.md

The Vue app reads its module policy from the page hydration at load time
(X-Koha-Module-Policy is not fetched per request).

Test plan:
1. Apply patch
2. Run:
   $ ktd --shell
  k$ yarn build
=> SUCCESS: rspack compiles, js/vue/dist/checkin.js is produced
3. Enable the page, go to Circulation -> Check in (checkin.pl), scan a
   barcode
=> SUCCESS: item is checked in, confirmations/messages render
4. Sign off :-D

Assisted-by: Sonnet 4.6 (Anthropic)
Signed-off-by: Brendan Lawlor <[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