Commit Graph

91 Commits

Author SHA1 Message Date
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
Niclas Edenvin
88d57035e8 Destruct prices 2024-10-08 21:42:48 +02:00
Niclas Edenvin
baf6ed9f2b SW-454 Use the API on select room page 2024-10-08 15:24:01 +02:00
Simon Emanuelsson
155b6683c4 feat: rename form/card to form/choicecard 2024-10-08 14:08:55 +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
Simon Emanuelsson
e6b22b81f4 feat: select bed type 2024-10-08 09:58:10 +02:00
Linus Flood
158472524f More design fixes 2024-10-07 14:10:25 +02:00
Linus Flood
ed55f966c7 feat/sw-561: some design tweaks for container widths 2024-10-07 09:17:04 +02:00
Simon Emanuelsson
451d461c7f feat: guest information form enter details 2024-10-07 08:12:07 +02: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
03fa798670 Use the interactive map on the map page 2024-09-27 14:23:49 +02: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
Fredrik Thorsson
7547da73d2 feat(SW-251): add comment 2024-09-12 16:55:36 +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
297fdfab57 feat(SW-251): add error text 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
3f6e2ca06e feat(SW-251): set up filter route 2024-09-12 16:52:43 +02:00
Fredrik Thorsson
3966cf59e7 feat(SW-176): use currency input 2024-09-04 09:44:54 +02:00
Fredrik Thorsson
60de4d16b9 feat(SW-176): remove fixed width on grid column 2024-09-04 09:44:54 +02:00
Fredrik Thorsson
a3e540baa6 feat(SW-176): filter in route 2024-09-04 09:44:54 +02:00
Fredrik Thorsson
493ceb5d72 feat(SW-176): remove null check 2024-09-04 09:44:03 +02:00
Fredrik Thorsson
fa6108d718 feat(SW-176): use temp data for hotel 2024-09-04 09:44:03 +02:00
Fredrik Thorsson
ad0f42a90d feat(SW-176): destructure response 2024-09-04 09:44:03 +02:00
Fredrik Thorsson
3c82a8b4b5 feat(SW-176): use the availability endpoint 2024-09-04 09:44:03 +02:00
Niclas Edenvin
56a49ee56d Link select hotel to select rate 2024-09-02 10:28:49 +02:00
Niclas Edenvin
0ab825278c feat: SW-280 implement basic details component 2024-09-02 09:01:21 +02:00
Fredrik Thorsson
51285f359f feat(SW-252): change semantic element 2024-08-29 16:07:29 +02:00
Fredrik Thorsson
8c4ade719f feat(SW-252): wrap image for layout 2024-08-29 16:07:29 +02:00
Fredrik Thorsson
bb820afd0e feat(SW-252): add icons 2024-08-29 16:07:29 +02:00
Fredrik Thorsson
69ebf254d1 feat(SW-252): add new ux 2024-08-29 16:07:29 +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
72ebc14f7d feat(SW-243): import tempdata 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
5c357bc88b feat(SW-243): add translations 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
f4e63bedca feat(SW-243): remove height on desktop 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
47c1b763fc feat(SW-243): change title to subtitle 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
0362e5eff3 feat(SW-243): set button asChild 2024-08-21 15:32:53 +02:00