Commit Graph

72 Commits

Author SHA1 Message Date
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
Pontus Dreij
e547f8c83e Merged in feat/sw-697-pet-room-fee-on-card (pull request #827)
feat(SW-697): Update package structure on price from API

Approved-by: Linus Flood
Approved-by: Niclas Edenvin
2024-11-04 15:42:06 +00:00
Christel Westerberg
3e41703df1 fix: validate member in enter details store 2024-11-04 16:05:45 +01:00
Pontus Dreij
7f9af6c12e feat(SW-697): Update package structure on price from API 2024-11-04 14:20:46 +01:00
Arvid Norlin
3ea48b3846 fix: make Bed and Breakfast Accordion texts dynamic based on selection 2024-11-04 10:28:02 +01:00
Pontus Dreij
f79eb7d5a9 fix(sw-453): Correct view of cards and icons when filter 2024-11-01 10:58:11 +01:00
Fredrik Thorsson
e3a96a2c14 feat(SW-713): move roomsidepeek types 2024-11-01 09:52:35 +01:00
Fredrik Thorsson
ddc190e0c8 feat(SW-713): add rooms sidepeek on hotelpage 2024-11-01 09:52:35 +01:00
Linus Flood
b0fbf8a9e4 Merged develop into fix/SW-712-hotelFacts-removed-properties 2024-11-01 07:17:40 +00:00
Simon Emanuelsson
4513828ae7 feat: block all entries to enter details that miss the required params 2024-10-31 15:23:20 +01:00
Bianca Widstam
105e730e89 fix(SW-712): remove hotelFacts.hotelFacilityDetail, hotelFacts.hotelInformation and use detailedFacilities 2024-10-31 13:38:43 +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
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
Bianca Widstam
fc8844eb96 feat/SW-689-image-gallery-sizes (pull request #781)
Feat/SW-689 image gallery sizes

* feat(SW-689): initial gallery changes

* feat(SW-689): remove console.log

* feat(SW-689): remove unneccessary code

* feat(SW-689): change sizes

* feat(SW-689): change size

* feat(SW-689): add design for ipad for fullview

* feat(SW-689): fix import type

* feat(SW-689): fix tripAdvisor placement

* feat(SW-689): fix image gallery type

* feat(SW-689): fix check gallery length


Approved-by: Christian Andolf
Approved-by: Matilda Landström
2024-10-29 13:54:12 +00:00
Pontus Dreij
83cd9cf518 feat(sw-453): import types 2024-10-29 11:15:36 +01:00
Pontus Dreij
62cf5dab80 feat(sw-453): fixed pr comments and default filter 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
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
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
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
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
fce9ef1b61 feat(sw-452): updated typing on util 2024-10-17 10:10:28 +02:00
Pontus Dreij
fd3cd053a2 feat(sw-452): Implement select room form submit 2024-10-15 15:48:23 +02:00
Pontus Dreij
3996ffa5fe fix(sw-589): Correct type 2024-10-15 10:47:38 +02:00
Pontus Dreij
f6f529017e fix(sw-589): Correct type 2024-10-15 10:44:19 +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
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
Pontus Dreij
9d106713a0 feat(SW-415): Update typings 2024-10-10 13:38:05 +02:00
Pontus Dreij
4c06a1b98d feat(SW-415): Added content from API 2024-10-10 10:48:02 +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
Niclas Edenvin
baf6ed9f2b SW-454 Use the API on select room page 2024-10-08 15:24:01 +02:00
Christel Westerberg
668eedd837 fix: toggle section accordion open 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
Tobias Johansson
869c9b67b8 Merged in feat/SW-475-enter-details-header (pull request #630)
Feat/SW-475 enter details header

* feat(SW-475): updated hotel mock data to reflect api

* feat(SW-475): Added hotel selection header with sidepeek buttons

* fix(SW-475): fixes from PR

* fix(SW-475): changed intl string


Approved-by: Arvid Norlin
2024-10-03 07:42:26 +00:00