Files
calendar/scripts
Hariom BalharaGitHubDevin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>Udit Takkar
2bc17313fd fix: deep link reschedule audit log to booking drawer history tab (#27709)
* fix: deep link reschedule audit log to booking drawer history tab

Co-Authored-By: [email protected] <[email protected]>

* fix: make booking drawer tab-agnostic for cross-tab deep links

Co-Authored-By: [email protected] <[email protected]>

* fix: use status-agnostic /bookings URL for audit log deep links

- Update audit service URLs from /bookings/upcoming?uid=... to /bookings?uid=...
- Add /bookings/page.tsx redirect that routes to /bookings/upcoming preserving query params
- Update tests to expect new URL format

Co-Authored-By: [email protected] <[email protected]>

* fixes

* refactor: use client-side replaceState instead of server redirect for booking deep links

Co-Authored-By: [email protected] <[email protected]>

* fix: use router.replace instead of replaceState to update tab and booking list

Co-Authored-By: [email protected] <[email protected]>

* improvements

* refactor: extract deep link logic from BookingListContainer into usePreSelectedBooking hook

Co-Authored-By: [email protected] <[email protected]>

* fix: use proper BookingOutput status type in test helper

Co-Authored-By: [email protected] <[email protected]>

* fix: decouple getTabForBooking from BookingOutput type for simpler testing

Co-Authored-By: [email protected] <[email protected]>

* fix: accept Date | string for endTime in BookingForTabResolution interface

Co-Authored-By: [email protected] <[email protected]>

* refactor: eliminate initialBookingUid prop drilling and revert formatting-only changes

Co-Authored-By: [email protected] <[email protected]>

* fix: use AuditDeepLink wrapper to preserve target=_blank through ServerTrans cloneElement

Co-Authored-By: [email protected] <[email protected]>

* Improve code organization

* refactor: rename usePreSelectedBooking to useSwitchToCorrectStatusTab

Co-Authored-By: [email protected] <[email protected]>

* fix: push preSelectedBooking into store so drawer opens on direct navigation

Co-Authored-By: [email protected] <[email protected]>

* fixes

* fixes

* fixes

* fix

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Udit Takkar <[email protected]>
2026-02-17 13:20:06 +05:30
..
2022-08-11 18:43:59 -06:00