Anton Gunnarsson
f79ff9b570
Merged in chore/cleanup-unused (pull request #3461 )
...
chore: Cleanup unused vars, exports, types
* Cleanup some unused exports
* Remove more
* Readd CampaignPageIncludedHotelsRef
* Add alias comment to procedure exports
* Remove unused exports
Approved-by: Linus Flood
2026-01-22 12:34:07 +00:00
Hrishikesh Vaipurkar
55e25d6c75
Merged in chore/SW-3397-move-confirmation-component-with (pull request #2759 )
...
chore(SW-3397) Moved Confirmation component with Header to booking-flow package
* chore(SW-3397) Moved Confirmation component with Header to booking-flow package
* chore(SW-3397): Optimised code
Approved-by: Anton Gunnarsson
2025-09-04 13:07:11 +00:00
Linus Flood
78e3259317
Merged in feat/sw-2967-mystay (pull request #2666 )
...
feat(mystay):SW-2967 - allow access if booking.guest == logged in user
* feat(mystay):SW-2967 - allow access if booking.guest == logged in user
* Fixed failing tests
Approved-by: Hrishikesh Vaipurkar
2025-08-18 11:50:57 +00:00
Hrishikesh Vaipurkar
c516860466
Merged in fix/SW-2358-find-my-booking-logged-in-user (pull request #2572 )
...
fix(SW-2358): Enabled anonymous booking view for logged in user
* fix(SW-2358): Enabled anonymous booking view for logged in user
* fix(SW-2358): Fixed test case for anonymous booking
Approved-by: Matilda Landström
2025-07-30 08:29:15 +00:00
Linus Flood
b35ceafc00
Merged in feat/SW-2903-tokens (pull request #2508 )
...
feat(SW-2358): Use personal token if logged in
* feat(SW-2903): Use personal token if logged in
* Avoid encoding values in cookie
* Fix tests
Approved-by: Anton Gunnarsson
2025-07-08 11:24:31 +00:00
Anton Gunnarsson
e572d9e7e9
Merged in feat/sw-2862-move-booking-router-to-trpc-package (pull request #2421 )
...
feat(SW-2861): Move booking router to trpc package
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* WIP first step
* update internal imports in trpc
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Move booking router to trpc package
* Move partners router to trpc package
* Move autocomplete router to trpc package
* Move booking router to trpc package
* Merge branch 'master' into feat/sw-2862-move-booking-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 13:21:16 +00:00
Michael Zetterberg
b910b6a313
feat(SW-2116): Use refId instead of confirmationNumber
2025-05-05 12:26:37 +00:00
Christian Andolf
5e98ffe38d
fix(SW-1942): fixed find my booking to be case-insensitive on form input
2025-03-17 16:07:23 +01:00
Christian Andolf
b65bdce277
fix: add some more informative messages when booking cant be accessed
...
upped cookie length from 30 seconds to 10 minutes
added default values to prevent the default required error message to appear in form
2025-03-17 14:09:08 +01:00
Christian Andolf
af08b3277d
fix(SW-1710): use access object references instead
...
correct incorrect test that granted access incorrectly
2025-03-10 09:45:57 +01:00
Christian Andolf
b0df70e552
feat(SW-1710): add access checks to my stay page for viewing booking
2025-03-10 09:45:56 +01:00