Commit Graph

211 Commits

Author SHA1 Message Date
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
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
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
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
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
Simon Emanuelsson
2d23f9bbf3 feat: booking confirmation page with hardcoded data 2024-10-23 11:56:02 +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
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
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
5075b72a9b More design fixes 2024-10-14 07:09:04 +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
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
Pontus Dreij
1d4947ecb6 feat(SW-415): Fix merge issues 2024-10-10 11:08:58 +02:00
Pontus Dreij
7cfea83be5 Merge remote-tracking branch 'origin/develop' into feat/SW-415-select-room-card 2024-10-10 10:58:04 +02:00
Pontus Dreij
4c06a1b98d feat(SW-415): Added content from API 2024-10-10 10:48:02 +02:00
Simon Emanuelsson
a15524098f fix: re-add user fetch for enter details 2024-10-10 10:47:09 +02:00