Commit Graph

469 Commits

Author SHA1 Message Date
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 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
Simon Emanuelsson 7c5205e7cf feat: add summary card 2024-10-10 10:47:09 +02:00
Chuma McPhoy cd898b494a fix(SW-360): service procedure update + contentyp layout fix 2024-10-10 10:47:09 +02:00
Simon Emanuelsson eeae38ec1d feat: add selected room card 2024-10-10 10:46:28 +02:00
Linus Flood ba5410bb97 feat/sw-561: some design tweaks for container widths 2024-10-10 10:44:06 +02:00
Simon Emanuelsson 4938588916 fix: re-add user fetch for enter details 2024-10-10 10:10:17 +02:00
Chuma Mcphoy (We Ahead) 11d9dd9025 Merged develop into feat/SW-360-signup-flow 2024-10-10 07:56:16 +00:00
Chuma McPhoy 87fb4d79dd fix(SW-360): service procedure update + contentyp layout fix 2024-10-10 09:37:38 +02:00
Simon Emanuelsson a84940aa8f feat: add summary card 2024-10-10 09:11:52 +02:00
Linus Flood aa38382b14 Merge branch 'develop' into feature/sw-561-design-fixes 2024-10-09 14:51:44 +02:00
Simon Emanuelsson cc60b4d264 feat: add selected room card 2024-10-09 13:36:55 +02:00
Pontus Dreij 79442d80b8 feat(SW-415): Update Room card UI 2024-10-09 11:03:33 +02:00
Niclas Edenvin c2c1a676ca SW-454 Use the API on select room page 2024-10-09 11:03:33 +02:00
Pontus Dreij 94a1aa625a feat/SW-415: Added select-rate to hotelReservation 2024-10-08 15:51:07 +02:00
Niclas Edenvin baf6ed9f2b SW-454 Use the API on select room page 2024-10-08 15:24:01 +02:00
Linus Flood 31356a264d Merge branch 'develop' into feature/sw-561-design-fixes 2024-10-08 13:23:07 +02:00
Linus Flood ee2637407e Merge branch 'develop' into feature/sw-561-design-fixes 2024-10-08 13:20:40 +02:00
Christel Westerberg f72f3a40ee fix: add forms in accordions 2024-10-08 11:42:06 +02:00
Christel Westerberg 668eedd837 fix: toggle section accordion open 2024-10-08 11:42:06 +02:00
Christel Westerberg 1bb2d3f687 feat(SW-467): add routing for details steps 2024-10-08 11:42:06 +02:00
Niclas Edenvin 6e6d14875d Merged in feat/SW-454-select-room-api (pull request #648)
Feat/SW-454 Create select rate page foundation

* Extract select-rate page to its own, fixed route

* Rename availability to hotelsAvailability

* Update availability hotels response

* Number to string


Approved-by: Pontus Dreij
2024-10-08 09:10:06 +00:00
Simon Emanuelsson 372ec171f5 feat: breakfast choice 2024-10-08 09:59:48 +02:00