Commit Graph

61 Commits

Author SHA1 Message Date
Pontus Dreij
c14b413a34 feat(sw-453): fixed filter bug with key 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
05d353e224 sub-task/ SW-695 Prefill Guests data in booking widget 2024-10-28 23:21:39 +01: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
Bianca Widstam
748021cdab Merged in feat/SW-673-galleryicon-hotel-lightbox (pull request #734)
Feat/SW-673 galleryicon hotel lightbox

* feat(SW-673): add galleryChip to trigger lightbox

* feat(SW-673): add updated design galleryIcon

* feat(SW-673): add first image from hotelContent and heroImages

* feat(SW-673): fix import type

* feat(SW-673): fix css variables

* feat(SW-673): change component to include image that trigger lightbox

* feat(SW-673): refactor name to imageGallery


Approved-by: Niclas Edenvin
2024-10-24 08:41:26 +00:00
Erik Tiekstra
445bde8e2e feat(SW-671): Added correct icons to amenities list 2024-10-23 09:59:35 +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
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
fce9ef1b61 feat(sw-452): updated typing on util 2024-10-17 10:10:28 +02:00
Christel Westerberg
5870a31275 fix: add labels variants for Footnote and Caption 2024-10-16 16:58:05 +02:00
Pontus Dreij
420f3210e8 feat(sw-452): Added correct query params 2024-10-16 15:05:13 +02:00
Pontus Dreij
fd3cd053a2 feat(sw-452): Implement select room form submit 2024-10-15 15:48:23 +02:00
Pontus Dreij
cd5b9e7648 feat(sw-589): cleanups and PR comment fixes 2024-10-15 10:28:32 +02:00
Pontus Dreij
0f27d3b2b5 feat(SW-589): break out RateSummary 2024-10-15 09:52:50 +02:00
Pontus Dreij
72eca90d1b feat(SW-589): Room selection summary 2024-10-15 08:53:23 +02:00
Pontus Dreij
d97c869f40 feat(SW-415): Removed unused import 2024-10-11 15:34:44 +02:00
Pontus Dreij
5bf165866a feat(SW-415): Improvements 2024-10-11 15:30:59 +02:00
Pontus Dreij
f63cecc488 feat(SW-415): Added Image gallery 2024-10-11 14:45:52 +02: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
Christel Westerberg
c9684dee11 feat: add validation to enter details flow 2024-10-10 16:48:38 +02:00
Tobias Johansson
1bce311666 fix: race condition with booking confirmation being set in session storage 2024-10-10 15:55:51 +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
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
c69b473de1 feat(SW-415): Normalize roomSchema 2024-10-10 14:10:03 +02:00
Pontus Dreij
9d106713a0 feat(SW-415): Update typings 2024-10-10 13:38:05 +02: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
7c5205e7cf feat: add summary card 2024-10-10 10:47:09 +02:00
Simon Emanuelsson
eeae38ec1d feat: add selected room card 2024-10-10 10:46:28 +02:00
Simon Emanuelsson
a84940aa8f feat: add summary card 2024-10-10 09:11:52 +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
67df5f0771 Destruct prices 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
Niclas Edenvin
88d57035e8 Destruct prices 2024-10-08 21:42:48 +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
Pontus Dreij
a218b3685f feat(SW-415): Border room card 2024-10-08 13:58:50 +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
Tobias Johansson
4103e3fb37 Merged in feat/SW-431-payment-flow (pull request #635)
Feat/SW-431 payment flow

* feat(SW-431): Update mock hotel data

* feat(SW-431): Added route handler and trpc routes

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

* feat(SW-431): Updated booking page to poll for booking status

* feat(SW-431): Updated create booking contract

* feat(SW-431): small fix

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

* fix(SW-431): Changes from PR

* fix(SW-431): fixes from PR

* fix(SW-431): add todo comments

* fix(SW-431): update schema prop


Approved-by: Simon.Emanuelsson
2024-10-04 09:37:09 +00:00
Niclas Edenvin
b9dbcf7d90 Merged in feat/booking-flow-submit (pull request #580)
This implements the actual call to the API to create a booking. That’s the only thing it does, it doesn’t handle the response in any way.

This PR is just to get it there and the new booking sub team will handle it further, with payment etc.

Approved-by: Michael Zetterberg
Approved-by: Fredrik Thorsson
Approved-by: Simon.Emanuelsson
2024-09-20 13:05:23 +00:00