Niclas Edenvin
2660faf4ac
Merged in fix/sw-1013-calendar-no-scroll (pull request #1026 )
...
fix(SW-1013): extract custom components from day picker
* fix(SW-1013): extract custom components from day picker
The custom components in the mobile day picker made a lot of components
in the day picker to unmount and mount again, which had weird scrolling
behaviour. They don't need to be baked in to the day picker so they are
now extracted to regular sibling elements.
Approved-by: Pontus Dreij
2024-12-03 16:01:19 +00:00
Niclas Edenvin
a69d14ff61
Merged in fix/sw-1011-calendar (pull request #975 )
...
fix(SW-1011): when only choosing one date on mobile
* fix(SW-1011): when only choosing one date on mobile
When choosing only from date on mobile the to date is set to the next
day. This was only the case on desktop before, no it's on mobile too.
* Remove unnecessary dependency
Approved-by: Pontus Dreij
Approved-by: Hrishikesh Vaipurkar
2024-11-27 08:38:29 +00:00
Niclas Edenvin
c309619cdc
Merged in feat/SW-863-remove-filters (pull request #935 )
...
feat(SW-863): remove filters without a type
* feat(SW-863): remove filters without a type
Approved-by: Pontus Dreij
2024-11-19 14:39:25 +00:00
Niclas Edenvin and Joakim Jäderberg
5fb70866ea
Merged in feat/SW-342-filtering-and-sorting-mobile (pull request #919 )
...
Feat/SW-342 filtering and sorting mobile
* feat(SW-342): add sort and filter on mobile
* Use zustand for state management
* Add count and translations
* Clear filters
* Small fixes
* Fixes
Approved-by: Pontus Dreij
2024-11-19 08:05:14 +01:00
Niclas Edenvin
d18bc45b19
Merged in feat/SW-342-filtering-and-sorting-mobile (pull request #919 )
...
Feat/SW-342 filtering and sorting mobile
* feat(SW-342): add sort and filter on mobile
* Use zustand for state management
* Add count and translations
* Clear filters
* Small fixes
* Fixes
Approved-by: Pontus Dreij
2024-11-18 14:02:32 +00:00
Niclas Edenvin
18d40120b9
Merged in feat/SW-338-filter-sort-ui (pull request #896 )
...
Feat/SW-338 design filters and sorting on select hotel
* feat(SW-338): design hotel sort dropdown
* Translations
* feat(SW-338): style filters
* Bold
* Import type
* Translations
* Rename and add translation
* Rename translation
Approved-by: Bianca Widstam
2024-11-15 07:18:30 +00:00
Niclas Edenvin
0f97757e31
Merged in feat/sw-620-sort-hotels (pull request #868 )
...
Feat/sw-620 sort hotels
* SW-620 Add radio button to select box
* feat(SW-620): Implement sorting on select hotel
* Fix casing
* Shallow copy hoteldata
* Use translations
* Remove unnecessary style
* Import order
* Type
Approved-by: Pontus Dreij
2024-11-11 08:55:49 +00:00
Niclas Edenvin
a8558eb499
feat/sw-251 Filter hotels on select hotel page
2024-11-07 13:34:49 +00:00
Niclas Edenvin
7bf89e80ff
Update values for cancellation rule
2024-11-06 15:50:34 +01:00
Niclas Edenvin
a9663c856f
Make parking data optional
2024-11-05 09:36:10 +01:00
Niclas Edenvin and Erik Tiekstra
eb0494c2a2
Don't memoize unnecessarily
2024-11-01 07:28:52 +00:00
Niclas Edenvin and Erik Tiekstra
63dbbac014
feat(SW-650): fix sticky bug on booking widget mob
2024-11-01 07:28:52 +00: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
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
Niclas Edenvin
d37f99f2ba
Merged in feat/sw-590-update-room-configuration-schema (pull request #687 )
...
Rename bedType to roomTypeCode
* Rename bedType to roomTypeCode
Approved-by: Fredrik Thorsson
2024-10-14 12:56:11 +00:00
Niclas Edenvin and Pontus Dreij
67df5f0771
Destruct prices
2024-10-09 11:03:33 +02:00
Niclas Edenvin and Pontus Dreij
4a64cd083d
Fix response validation for get stays
2024-10-09 11:03:33 +02:00
Niclas Edenvin and Pontus Dreij
c2c1a676ca
SW-454 Use the API on select room page
2024-10-09 11:03:33 +02:00
Niclas Edenvin and Pontus Dreij
6e2fc38952
Merged in feat/SW-454-select-room-implement-use-of-api (pull request #652 )
...
Feat/SW-454 select room implement use of api
Approved-by: Pontus Dreij
2024-10-09 06:19:10 +00:00
Niclas Edenvin
88d57035e8
Destruct prices
2024-10-08 21:42:48 +02:00
Niclas Edenvin
1b1c7e6398
Fix response validation for get stays
2024-10-08 15:24:01 +02:00
Niclas Edenvin
baf6ed9f2b
SW-454 Use the API on select room page
2024-10-08 15:24:01 +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
Niclas Edenvin
a5dff7b97d
New filter data format
2024-09-27 14:42:40 +02:00
Niclas Edenvin
4477adacdc
Change to new enum format for point of interest
2024-09-27 14:30:03 +02:00
Niclas Edenvin
2d25496d79
Update availability endpoint to v1
2024-09-27 14:23:49 +02:00
Niclas Edenvin
03fa798670
Use the interactive map on the map page
2024-09-27 14:23:49 +02:00
Niclas Edenvin
1e7c24f875
Adapt the interactive map for reuse
2024-09-27 14:23:49 +02:00
Niclas Edenvin
1440b4dbae
Move map out to its own component
2024-09-27 14:23:45 +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
Niclas Edenvin
6cfc79f8b5
Merged in feat/booking-flow-documentation (pull request #581 )
...
Add readme for booking flow
* Add readme for booking flow
Approved-by: Fredrik Thorsson
2024-09-16 07:09:47 +00:00
Niclas Edenvin
56a49ee56d
Link select hotel to select rate
2024-09-02 10:28:49 +02:00
Niclas Edenvin
bb9b457525
Go to select hotel when booking widget submits
2024-09-02 10:20:55 +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
Niclas Edenvin
819ac454b0
Merged in feature/refresh-token (pull request #401 )
...
feat: SW-101 Proactively refresh tokens
Approved-by: Michael Zetterberg
2024-08-16 13:56:09 +00:00
Niclas Edenvin
59ae1a1d42
Merged in bug/lang-client-component (pull request #411 )
...
bug: Make staycard a client component
* bug: Make staycard a client component
Approved-by: Hrishikesh Vaipurkar
2024-08-15 12:12:39 +00:00
Niclas Edenvin
e67212bd94
Merged in feature/refactor-lang (pull request #387 )
...
feat: SW-238 Avoid prop drilling of lang
Approved-by: Michael Zetterberg
2024-08-14 11:00:20 +00:00
Niclas Edenvin and Michael Zetterberg
a5dbd38654
Merged in feature/stays-hover (pull request #380 )
...
bug: SW-235 Fix hover state on stay card
Approved-by: Michael Zetterberg
2024-08-01 08:34:17 +00:00
Niclas Edenvin
eca9669222
bug: SW-235 Fix hover state on stay card
2024-08-01 10:22:43 +02:00
Niclas Edenvin
39f2b88088
bug: SW-233 Fix wrong padding on membership number
2024-07-31 13:37:42 +02:00
Niclas Edenvin
5347ae5b6c
feat(SW-71): Create bed selection
2024-07-19 09:34:28 +02:00
Niclas Edenvin
364979fdf4
feat(SW-74): add hotel information
2024-07-15 16:13:54 +02:00
Niclas Edenvin
e83c967eb3
Add some console logging to auth, for debug
2024-07-12 16:23:35 +02:00
Niclas Edenvin
5c6d9d03ce
feat(SW-73): Create breakfast selection
2024-07-12 11:09:12 +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
Niclas Edenvin
c5473f477e
feat(SW-70): Move RoomCard types to /types
2024-07-09 13:28:44 +02:00
Niclas Edenvin
722bab97ad
feat(SW-70): Create TRPC route to get rates
2024-07-09 13:25:26 +02:00
Niclas Edenvin
78c1452ed3
Add texts to i18n
2024-07-09 13:25:26 +02:00
Niclas Edenvin
337dfe24ff
feat(SW-70): Use CSS variable
2024-07-09 13:25:26 +02:00
Niclas Edenvin
d6fe6a33b4
feat(SW-70): create base for rate selection page
...
This is the foundation for the rate selection. Since we don't have UX
and UI ready yet this is on a best effort basis. Things that will be
changed later includes proper API fetching, correct design,
internationalization of text and form handling.
2024-07-09 13:25:26 +02:00
Niclas Edenvin
404b1b38cb
Remove debug logging
2024-06-28 14:17:38 +02:00
Niclas Edenvin
6b39f2d990
fix(WEB-233): make cookiebot more resilient
2024-06-28 13:41:37 +02:00
Niclas Edenvin
3b54aea6d7
fix(WEB-233): add the disabled checkbox for cookiebot
2024-06-28 13:41:37 +02:00