Commit Graph

563 Commits

Author SHA1 Message Date
Simon Emanuelsson
4513828ae7 feat: block all entries to enter details that miss the required params 2024-10-31 15:23:20 +01:00
Christel Westerberg
86b085b8f1 Merged in feat/sw-610-summary (pull request #774)
Feat/SW-610 summary

Approved-by: Tobias Johansson
Approved-by: Simon.Emanuelsson
2024-10-30 18:52:48 +00:00
Michael Zetterberg
6e8d63d884 Merged in fix/webview-refresh (pull request #799)
fix: remove loading.tsx from webviews because token refresh strategy does not work with it

Approved-by: Linus Flood
2024-10-30 16:05:46 +00:00
Michael Zetterberg
b20731e096 fix: remove loading.tsx from webviews because token refresh strategy does not work with it 2024-10-30 16:58:08 +01:00
Christel Westerberg
317619ea78 fix: preload requests to avoid needing to promise.all 2024-10-30 16:43:35 +01:00
Christel Westerberg
46622d0515 fix: move crunching of data to trpc layer 2024-10-30 15:52:04 +01:00
Christel Westerberg
7710d3f8f9 fix: make summary sticky 2024-10-30 15:51:04 +01:00
Christel Westerberg
7954c704d9 feat: consume serach params in summary and step page 2024-10-30 15:50:08 +01:00
Christel Westerberg
85fdefb5ac feat: save search params from select-rate to store 2024-10-30 15:47:20 +01:00
Bianca Widstam
b5dce01fd3 fix/SW-729-enter-details-page-error (pull request #796)
feat(SW-729): fix availability params

* feat(SW-729): fix availability params

* feat(SW-729): use paramsObject


Approved-by: Tobias Johansson
2024-10-30 14:31:18 +00:00
Tobias Johansson
a5fad308ef fix(SW-614): remove room availabiltiy from preload 2024-10-30 09:44:49 +00:00
Tobias Johansson
60ceeaf9c3 fix(SW-614): move filtering logic to routes 2024-10-30 09:44:49 +00:00
Tobias Johansson
7819db2bb2 fix(SW-614): update enter details strings 2024-10-30 09:44:49 +00:00
Tobias Johansson
a690750c36 feat(SW-614): Add mustBeGuaranteed flag and update content based on this 2024-10-30 09:44:49 +00:00
Bianca Widstam
eff0d122cd feat/SW-711-update-children-params (pull request #791)
Feat/SW-711 update children params

* feat(SW-711): add new child params for availability

* feat(SW-711): fix children schema

* feat(SW-711): fix optional values

* feat(SW-711): add children as parameter iff not undefined

* feat(SW-711): add bedType enum

* feat(SW-711): remove optional number type

* feat(SW-711): fix wrong slash

* feat(SW-711): remove optional


Approved-by: Hrishikesh Vaipurkar
2024-10-30 09:34:54 +00:00
Simon Emanuelsson
62f549e85d feat: get breakfast package from API 2024-10-29 15:39:21 +01:00
Michael Zetterberg
1e92348fb4 fix(SW-126): remove feature flag communications settings in profile 2024-10-29 12:56:30 +01:00
Pontus Dreij
83cd9cf518 feat(sw-453): import types 2024-10-29 11:15:36 +01:00
Pontus Dreij
c679fa83e2 feat(sw-453): removed log 2024-10-29 11:15:06 +01:00
Pontus Dreij
62cf5dab80 feat(sw-453): fixed pr comments and default filter 2024-10-29 11:15:06 +01:00
Pontus Dreij
3b2b39fdc6 feat(sw-453): removed log 2024-10-29 11:15:06 +01:00
Pontus Dreij
917f44f323 feat(sw-453): fixed mobile view and some improvements 2024-10-29 11:15:03 +01:00
Pontus Dreij
8da94fc259 feat(SW-453): Fixed new filter buttons and updated price in summary 2024-10-29 11:12:32 +01:00
Pontus Dreij
7b36139684 feat(sw-453): implemented filter from packages 2024-10-29 11:10:27 +01:00
Pontus Dreij
fc63a8e5ca feat(SW-453) added filter options 2024-10-29 11:10:26 +01:00
Pontus Dreij
aea963740b feat(sw-453): Added selected types count 2024-10-29 11:10:26 +01:00
Hrishikesh Vaipurkar
24384c08f3 sub-task: SW-685 Optimized params 2024-10-28 23:21:39 +01:00
Hrishikesh Vaipurkar
05d353e224 sub-task/ SW-695 Prefill Guests data in booking widget 2024-10-28 23:21:39 +01:00
Linus Flood
65b6830472 Merged develop into feat/sw-694-performance 2024-10-28 12:55:52 +00:00
Niclas Edenvin
0efa52ada5 Merged in feat/sw-587-sidepeek-for-room (pull request #767)
Create the sidepeek for a specific roomtype. This also changes the lightbox to use react-aria instead of radix-ui, so we use the same for the lightbox and the sidepeek. Works better together!


Approved-by: Bianca Widstam
2024-10-25 14:11:06 +00:00
Linus Flood
687a110a39 Utilizing memoized requests 2024-10-25 15:33:06 +02:00
Linus Flood
4a8d38912f Loading.tsx for webviews and suspense for footer 2024-10-25 15:02:28 +02:00
Christian Andolf
ba30e2fe08 chore(SW-556): hiding surprises until new API endpoints are implemented 2024-10-25 14:02:32 +02:00
Christian Andolf
e6db1b17c6 fix(SW-556): now fetching surprises separately in component.
also showing surprises on any account page
2024-10-25 14:02:32 +02:00
Linus Flood
83a88f33a7 Suspense on Sidebar 2024-10-25 13:10:08 +02:00
Linus Flood
9f813bebfe Refactor and built a breadcrums skeleton 2024-10-25 11:48:20 +02:00
Linus Flood
1a921940e8 feat: #sw-694 using suspense when loading dynamic content and breadcrumbs 2024-10-25 10:59:34 +02:00
Hrishikesh Vaipurkar
8fe4294bf9 feat: SW-683 SW-684 Prefill location & date in BW via query params 2024-10-25 09:16:50 +02:00
Bianca Widstam
d8bc677b4d feat/SW-627-query-available-hotels (pull request #751)
Feat/SW-627 query available hotels

* feat(SW-627): use correct search query to find available hotels

* feat(SW-627): fix type name

* feat(SW-627): update correct params

* feat(SW-627): update correct params type

* feat(SW-627): fix select hotel searchParams type


Approved-by: Niclas Edenvin
2024-10-25 06:48:29 +00:00
Niclas Edenvin
8d490e14f2 fix(SW-690): use correct naming of search params in booking
Approved-by: Bianca Widstam
Approved-by: Linus Flood
2024-10-24 08:49:06 +00:00
Erik Tiekstra
d94c55a46d fix: import order fix 2024-10-24 10:24:57 +02:00
Erik Tiekstra
a29657a6b2 feat(SW-508): Added hotel alerts 2024-10-24 09:35:19 +02:00
Erik Tiekstra
0fe4a7c42c feat(SW-498): added sitewide alert 2024-10-24 09:34:57 +02:00
Michael Zetterberg
cd40875403 Merged in fix/feature-flag-scopes (pull request #743)
Fix/feature flag scopes

Approved-by: Christel Westerberg
2024-10-23 12:28:51 +00:00
Tobias Johansson
025c5c8291 Merged in feat/SW-659-payment-send-query-params (pull request #727)
feat(SW-659): Receive query params from Planet callbacks

* feat(SW-659): read confirmation number from url and update callback url if dev

* fix(SW-659): moved callback url into env variable


Approved-by: Simon.Emanuelsson
2024-10-23 11:51:44 +00:00
Michael Zetterberg
52c5f6d29e fix: feature flag booking widget and sitewidealert 2024-10-23 12:18:55 +02:00
Simon Emanuelsson
2d23f9bbf3 feat: booking confirmation page with hardcoded data 2024-10-23 11:56:02 +02:00
Erik Tiekstra
db9f31e2c3 feat(SW-498): added sitewide alert 2024-10-22 11:41:32 +02:00
Bianca Widstam
ea3b86c33e feat/SW-451-ui-hotel-card (pull request #700)
Feat/SW-451 ui hotel card

* feat(SW-451): initial design

* feat(SW-451): add gallery icon and responsive  design for mobile

* feat(SW-451): refactor name, add routing to sidepeek

* feat(SW-451): add updated design

* feat(SW-451): add tripadvisor chip

* feat(SW-451): fix gallery icon

* feat(SW-451): fix additional falsy value check

* feat(SW-451): fix import type

* feat(SW-451): remove galleryIcon until image data exists

* feat(SW-451): fix css styling

* feat(SW-451): add new design for mobile

* feat(SW-451): add translation

* feat(SW-451): change css to mobile first

* feat(SW-451): change div to article


Approved-by: Matilda Landström
2024-10-22 06:18:40 +00:00
Tobias Johansson
b33381d1b4 Merged in feat/SW-588-payment-saved-card (pull request #697)
feat(SW-588): Added saved card to payment step

* feat(SW-588): Added saved card to payment step

* feat(SW-588): Add proper label for saved card

* feat(SW-588): fix from PR feedback

* feat(SW-588): Add preloading of data

* feat(SW-588): remove onChange logic for PaymentOption

* feat(SW-588): moved payment files to correct folder

* feat(SW-588): moved preload to layout

* fix: remove unused prop


Approved-by: Simon.Emanuelsson
2024-10-21 10:39:19 +00:00