Commit Graph

225 Commits

Author SHA1 Message Date
Pontus Dreij 3ad8bf0197 Added See on map button 2024-11-06 08:51:02 +01:00
Christel Westerberg 77d65df931 fix: handle children in enter details 2024-11-05 11:14:09 +01:00
Christel Westerberg d8d77479b1 fix: filter out available bedtypes 2024-11-05 09:52:42 +01:00
Christel Westerberg 3e41703df1 fix: validate member in enter details store 2024-11-04 16:05:45 +01:00
Matilda Landström d5efaa686c Merged in feat/SW-286-collectionPage (pull request #765)
Feat(SW-286): CollectionPage

Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2024-11-04 12:10:51 +00:00
Hrishikesh Vaipurkar f836695919 feat/ SW-633 Optimized code 2024-11-04 09:41:39 +01:00
Hrishikesh Vaipurkar bb8f09ed88 feat: SW-633 Validation for URL data 2024-11-04 09:41:39 +01:00
Christel Westerberg 644ce369aa fix: booking confirmation validation 2024-11-01 10:25:40 +01:00
Simon Emanuelsson 46a1874a76 fix: prevent phone input from running validation on mount when empty 2024-11-01 08:59:16 +01:00
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 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
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