Commit Graph

45 Commits

Author SHA1 Message Date
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
Arvid Norlin
724f429696 feat(SW-341): add hotels listing sidepeeks 2024-10-02 08:55:05 +02:00
Niclas Edenvin
a5dff7b97d New filter data format 2024-09-27 14:42:40 +02:00
Niclas Edenvin
03fa798670 Use the interactive map on the map page 2024-09-27 14:23:49 +02:00
Fredrik Thorsson
85460e95e5 feat(SW-251): type assertion 2024-09-12 16:55:36 +02:00
Fredrik Thorsson
d338fee8a9 feat(Sw-251): rename file 2024-09-12 16:55:36 +02:00
Fredrik Thorsson
7eeafd2a20 feat(SW-251): use response to render filters 2024-09-12 16:55:36 +02:00
Fredrik Thorsson
43e58dcf01 feat(SW-251): use parallel fetch for hotels 2024-09-12 16:52:44 +02:00
Fredrik Thorsson
8c530658c5 feat(SW-251): use availability to get hotel 2024-09-12 16:52:44 +02:00
Fredrik Thorsson
024a095dc6 feat(SW-251): check for undefined 2024-09-12 16:52:44 +02:00
Fredrik Thorsson
6089af764a feat(SW-251): filter request 2024-09-12 16:52:44 +02:00
Fredrik Thorsson
e26a2aec85 feat(SW-176): add enum 2024-09-04 09:44:53 +02:00
Fredrik Thorsson
3c82a8b4b5 feat(SW-176): use the availability endpoint 2024-09-04 09:44:03 +02:00
Niclas Edenvin
0ab825278c feat: SW-280 implement basic details component 2024-09-02 09:01:21 +02:00
Niclas Edenvin
f178f7fde0 Merged in feature/select-room-ux-one-page (pull request #523)
This updates the select room page according to the new UX. It has different sections on the same page, but with specific URLs per section. Since neither UX, UI nor API is completely done both design and data structures are a bit temporary.

Approved-by: Simon.Emanuelsson
2024-08-29 13:38:14 +00:00
Fredrik Thorsson
65509622d2 feat(SW-243): add temp data 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
798d19d3c8 feat: filter route changes 2024-08-06 13:12:22 +02:00
Fredrik Thorsson
a48019a6a0 feat: pass filters as prop 2024-08-06 13:12:22 +02:00
Fredrik Thorsson
ebfe4d45dc feat: add router for filters 2024-08-06 13:12:22 +02:00
Niclas Edenvin
3374505aee feat(SW-72): Add flexibility selection 2024-07-10 16:04:25 +02:00
Niclas Edenvin
8e94c92c70 feat(SW-72): move the room selection to its own component 2024-07-10 16:04:25 +02:00
Fredrik Thorsson
286d772de1 feat: use getHotel data 2024-07-10 11:31:46 +02:00
Niclas Edenvin
c5473f477e feat(SW-70): Move RoomCard types to /types 2024-07-09 13:28:44 +02:00