Commit Graph

535 Commits

Author SHA1 Message Date
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
Christel Westerberg
2fab1fd917 fix: handle back button 2024-10-18 12:12:13 +02:00
Pontus Dreij
be08f0b4d1 Merged in feat/sw-452-select-room-form-submit (pull request #711)
Feat/sw 452 select room form submit

Approved-by: Simon.Emanuelsson
2024-10-17 11:46:49 +00:00
Pontus Dreij
0238e9e07e feat(sw-452): added children 2024-10-17 10:25:04 +02:00
Pontus Dreij
fce9ef1b61 feat(sw-452): updated typing on util 2024-10-17 10:10:28 +02:00
Pontus Dreij
a967431672 feat(sw-452): remove console log 2024-10-17 09:39:06 +02:00
Pontus Dreij
7b1e2d8a06 feat(sw-452): get searchParams and fetch availability 2024-10-17 09:36:49 +02:00
Michael Zetterberg
4fdefcd270 Merged in fix/feature-flag-communications (pull request #685)
fix: feature flag communications settings in profile

Approved-by: Christian Andolf
2024-10-16 08:52:35 +00:00
Michael Zetterberg
adf8e21224 Merged in feat/improve-env (pull request #701)
Feat/improve env
2024-10-16 08:51:32 +00:00
Arvid Norlin
b1beb7931a fix: remove redundant DialogTrigger from SidePeek 2024-10-16 10:26:10 +02:00
Arvid Norlin
103dcc7f1e feat(SW-472): Add EnterDetails SidePeek 2024-10-16 10:26:10 +02:00
Michael Zetterberg
261d1bc3c7 fix(SW-126): feature flag communications settings in profile 2024-10-16 07:30:45 +02:00
Michael Zetterberg
4a846540c3 feat: improve handling of deployment env vars
These are now defined in Netlify UI for dedicated environments (test, stage, production):

AUTH_URL
NEXTAUTH_URL
PUBLIC_URL

Code now falls back to incoming request host. Mainly used for
deployment previews which do not have Akamai in front, meaning
we do not need the above workaround as incoming request host
matches the actual public facing host. When Akamai is in front,
we lose the public facing host in Netlify's routing layer as they
internally use `x-forwarded-for` and we can't claim it for our usage.
2024-10-15 17:03:36 +02:00
Pontus Dreij
72eca90d1b feat(SW-589): Room selection summary 2024-10-15 08:53:23 +02:00
Linus Flood
81ece30a0d Merge branch 'develop' into feature/sw-561-design-fixes-2 2024-10-14 08:48:58 +02:00
Linus Flood
5075b72a9b More design fixes 2024-10-14 07:09:04 +02:00
Erik Tiekstra
9620071c78 feat(SW-391): Added sidepeek functionality to teasercard 2024-10-11 14:48:37 +02:00
Linus Flood
a6a1ff1aa0 Moved maxwidth to hotelpage instead of layout 2024-10-11 14:31:43 +02:00
Linus Flood
1408284af8 feat:sw-561 updated design 2024-10-11 12:58:46 +02:00
Pontus Dreij
393ac27369 Merge in fix/SW-592-booking-widget (pull request #665)
Fix/SW-592 booking widget
2024-10-11 06:54:51 +00:00
Pontus Dreij
7c4a880519 Merge in feat/SW-415-select-room-card (pull request #663)
Feat/SW-415 select room card
2024-10-11 06:48:57 +00:00
Linus Flood
4d5a9ec82c feat: #SW-561 Added max-width to layout again 2024-10-11 07:23:52 +02:00
Christel Westerberg
c9684dee11 feat: add validation to enter details flow 2024-10-10 16:48:38 +02:00
Pontus Dreij
7c3ff7f94e Merge remote-tracking branch 'origin/develop' into feat/SW-415-select-room-card 2024-10-10 14:45:35 +02:00
Pontus Dreij
2c6c978525 Merge remote-tracking branch 'origin/develop' into feat/SW-415-select-room-card 2024-10-10 14:35:38 +02:00
Pontus Dreij
98e8a048b4 fix(SW-592): Fix layout in mobile on select-hotel 2024-10-10 14:34:01 +02:00
Tobias Johansson
740419bad2 Merged in feat/SW-459-payment-flow-ui-ux (pull request #657)
Feat/SW-459 payment flow ui ux

* feat(SW-431): List payment methods and handle booking status and redirection

* feat(SW-431): small fix

* fix(SW-431): Added intl string and sorted dictionaries

* fix(SW-431): add todo comments

* feat(SW-459): Added payment method icons

* feat(SW-459): refactored into new component and added form

* feat(SW-459): Localized strings

* feat(SW-459): added checkbox

* feat(SW-459): Refactored payment options and updated payment form

* feat(SW-459): update input bg color

* feat(SW-459): add current web links and style fixes

* fix(SW-459): fix issue with booking confirmation not being accessible

* feat(SW-459): style changes

* feat(SW-459): update max width of payment container

* feat(SW-459): update create booking schema

* feat(SW-459): fixes from PR


Approved-by: Arvid Norlin
2024-10-10 12:20:41 +00:00
Erik Tiekstra
353ae5ec80 feat(SW-441): Updated sticky position of tabnavigation and map 2024-10-10 12:08:18 +02:00
Pontus Dreij
1d4947ecb6 feat(SW-415): Fix merge issues 2024-10-10 11:08:58 +02:00