Commit Graph

43 Commits

Author SHA1 Message Date
Bianca Widstam
8b66c16e17 Merged in feat/SW-903-breadcrumbs-select-hotel (pull request #924)
Feat/SW-903 breadcrumbs select hotel

* feat(SW-903): break out breadcrumbs component and add on select-hotel page

* feat(903): updated paths

* feat(903): fix padding and remove translations

* feat(903): fix type

* feat(903): refactor padding

* feat(903): refactor padding again

* feat(903): refactor

* feat(903): fix comments

* feat(903): rename content breadcrumbs back


Approved-by: Pontus Dreij
Approved-by: Erik Tiekstra
2024-11-21 07:28:39 +00:00
Joakim Jäderberg
90184b8662 Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/syncblocking-parallel-routes 2024-11-20 12:43:41 +01:00
Hrishikesh Vaipurkar
bc344e64cf feat: SW-601 Implement filters and sort in map view 2024-11-19 17:21:11 +01:00
Pontus Dreij
ccf332490f Merged in fix/SW-934-isAllUnavailable (pull request #939)
fix(SW-934): Change logic to isAllUnavailable instad of hotels.length

Approved-by: Bianca Widstam
Approved-by: Niclas Edenvin
2024-11-19 14:58:56 +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
Pontus Dreij
ab9c8012c9 fix(SW-934): Change logic to isAllUnavailable instad of hotels.length 2024-11-19 15:36:20 +01:00
Bianca Widstam
ea3aff5dcd Merged in fix/translation-hotelpage-header (pull request #934)
Fix/SW-932-translation hotelpage header

* fix: add translation for hotel page header

* fix: add hotel translation

* fix: add translation where to when loading

* fix: update hotel(s) count if filtered

* fix(SW-932): update hotel(s) count


Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2024-11-19 14:34:45 +00:00
Joakim Jäderberg
7addf78740 fix: add missing loading.tsx and remove redundant ones 2024-11-19 08:05:14 +01:00
Simon Emanuelsson
c6fc500d9e feat: make steps of enter details flow dynamic depending on data 2024-11-19 08:05:14 +01:00
Bianca Widstam
d49e301634 fix/SW-902-update-response-city-availability (pull request #917)
Fix/SW-902 update response city availability

* fix(SW-902): update response for API changes

* fix(SW-902): add total row for pricePerStay

* fix(SW-902): fix optional requestedPrice

* fix(SW-902): fix bookingCode output

* feat(SW-903): fix sorting


Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2024-11-19 08:05:14 +01:00
Niclas Edenvin
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
Simon Emanuelsson
94f693c4f0 feat: make steps of enter details flow dynamic depending on data 2024-11-18 16:30:09 +01:00
Bianca Widstam
3c4907efce fix/SW-902-update-response-city-availability (pull request #917)
Fix/SW-902 update response city availability

* fix(SW-902): update response for API changes

* fix(SW-902): add total row for pricePerStay

* fix(SW-902): fix optional requestedPrice

* fix(SW-902): fix bookingCode output

* feat(SW-903): fix sorting


Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2024-11-18 15:08:12 +00: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
Bianca Widstam
ef2ef3c9a8 feat/SW-604-select-hotel-page-UI (pull request #905)
Feat/SW-604 select hotel page UI

* feat(SW-604): update header, scandic logo, and map text

* feat(SW-604): fix map button

* feat(SW-604): fix align header

* feat(SW-604): hide filter for mobile

* feat(SW-604): fix padding

* feat(SW-604): fix padding again

* feat(SW-604): fix mobile design

* feat(SW-604): fix padding


Approved-by: Pontus Dreij
2024-11-15 10:15:26 +00:00
Pontus Dreij
d158aca6fd feat(SW-629): Added no availabilty if no hotels are listed 2024-11-14 16:23:44 +01:00
Pontus Dreij
87b999676b feat(SW-344) Correct position of pins in mobile 2024-11-12 14:34:02 +01:00
Pontus Dreij
b73421dbde feat(SW-344): Hotel list in mobile 2024-11-12 14:34:02 +01: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
Pontus Dreij
3c1ae18c86 feat(SW-340): Icon size 2024-11-11 09:16:58 +01:00
Pontus Dreij
2d5d8a5ec9 feat(SW-340): Fixed Map Link in desktop 2024-11-11 09:14:26 +01:00
Pontus Dreij
2748120890 feat(SW-340): Added HotelCardDialog component 2024-11-11 09:12:44 +01:00
Pontus Dreij
7a49d4a393 feat(SW-340): Added Hotel Card Listing on map 2024-11-11 09:12:44 +01:00
Pontus Dreij
378225f995 feat(SW-340): Added hotel pins 2024-11-11 09:12:44 +01:00
Erik Tiekstra
fe6582ccbb fix(SW-812): styling fixes for the header and related components 2024-11-11 07:48:47 +01:00
Niclas Edenvin
a8558eb499 feat/sw-251 Filter hotels on select hotel page 2024-11-07 13:34:49 +00:00
Christel Westerberg
560fb25aee fix: send totalPrice to create booking 2024-11-07 13:53:24 +01:00
Linus Flood
a76857a62b Merge branch 'develop' into feat/performance-improvements 2024-11-06 13:48:26 +01:00
Pontus Dreij
d83126d133 feat(SW-343): Added flag 2024-11-06 09:23:16 +01:00
Pontus Dreij
a5afc3515e feat(343): reuse of map page modal 2024-11-06 09:21:09 +01:00
Pontus Dreij
32a5b8f3aa feat(SW-343): rename button and useSearchParams 2024-11-06 08:55:46 +01:00
Pontus Dreij
399c23ea02 feat(sw-343): fixed desktop view 2024-11-06 08:52:24 +01:00
Pontus Dreij
1b008422d3 feat(sw-343): fixed map page (without modal) 2024-11-06 08:52:24 +01:00
Pontus Dreij
3a5ec28dc1 feat(343): Style fixes on map 2024-11-06 08:52:24 +01:00
Pontus Dreij
efad3381b6 feat(sw-343) set up intercepted routes for map modal 2024-11-06 08:52:21 +01:00
Pontus Dreij
0aed1d9d57 feat(sw-343) added buttons to open map in mobile 2024-11-06 08:51:31 +01:00
Pontus Dreij
3ad8bf0197 Added See on map button 2024-11-06 08:51:02 +01:00
Linus Flood
ae2601bef8 Refactor 2024-11-05 14:46:52 +01:00
Christel Westerberg
77d65df931 fix: handle children in enter details 2024-11-05 11:14:09 +01:00
Christel Westerberg
7954c704d9 feat: consume serach params in summary and step page 2024-10-30 15:50:08 +01: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
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
Simon Emanuelsson
2d23f9bbf3 feat: booking confirmation page with hardcoded data 2024-10-23 11:56:02 +02:00