https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41129
--- Comment #11 from Paul Derscheid <[email protected]> --- Created attachment 193911 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193911&action=edit Bug 41129: Sync bookings with refactored base and API/embed compatibility Replace the Bookings module with the refactored architecture and adapt API specs for upstream compatibility. Module restructuring: - Split calendar.mjs into focused modules under lib/adapters/calendar/ (events, highlighting, locale, markers, prevention, visibility) - Add BookingDate class (immutable, timezone-aware date wrapper) - Add availability/ sub-modules (date-change, disabled-dates, period-validators, rules, unavailable-map) - Add useFormDefaults composable for pickup and item type defaults - Add conflict-resolution, constraints, highlighting, markers modules - Add hover-feedback module for calendar feedback bar - Convert BookingModal.vue to <script setup lang="ts"> - Manage error state in Pinia store Behavior additions: - Add 3-way payload construction for "any item" bookings - Add editable property to timeline booking items - Show transient success message after booking save - Apply server timezone conversion for timeline dates API/embed compatibility: - Add GET /libraries/{id}/holidays endpoint (Libraries.pm, swagger) - Allow "library" embed on GET /patrons/{id} (patrons.yaml) Test updates: - Move specs to Circulation/ directory, split into Basic, DatePicker, and Timezone specs - Add Vue Select test helpers (vue-select.js) - Validate flatpickr state via instance API instead of DOM classes -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
