Commit Graph

78 Commits

Author SHA1 Message Date
Christian Andolf
e08e960209 chore: add consistent type imports 2024-12-12 11:47:44 +01:00
Pontus Dreij
a7b193c96d fix(SW-1143) removed async from fallback 2024-12-10 15:02:14 +01:00
Pontus Dreij
f9e50b7ea7 fix(SW-1143) fix breadcrumbs skeleton 2024-12-10 13:40:55 +01:00
Pontus Dreij
153ed086cb fix(SW-1143) Set with on breadcrumbs shimmer 2024-12-10 13:40:55 +01:00
Pontus Dreij
22a5edc2d7 fix(SW-1143): added safeTry 2024-12-10 13:40:55 +01:00
Pontus Dreij
d4e4c4a0d0 fix(SW-1143): Added loading/skeleton to select hotel 2024-12-10 13:40:55 +01:00
Pontus Dreij
f8d10d7b8c fix(SW-1111) fix filter button and filter flimmer in mobile 2024-12-10 09:30:58 +01:00
Pontus Dreij
15c5afc43a fix(SW-1111) refactor state of active hotel card and hotel pin 2024-12-09 16:50:02 +01:00
Pontus Dreij
b14a1a7097 feat(SW-1111) Added Suspense on map 2024-12-09 16:50:02 +01:00
Pontus Dreij
9204eb6cca feat(SW-1111) Only sort on button click 2024-12-09 16:50:02 +01:00
Pontus Dreij
007b77101b fix(SW-1111) added filter on pins 2024-12-09 16:50:02 +01:00
Pontus Dreij
69fa5b9b31 fix(SW-1111) Moved map to a page instead of intercepted route 2024-12-09 16:50:02 +01:00
Pontus Dreij
098e35d8d7 fix(SW-1111) added position for backToTopButton 2024-12-09 16:50:02 +01:00
Pontus Dreij
cf8fd5d978 fix(SW-1111) fix filter hiding search 2024-12-09 16:50:02 +01:00
Pontus Dreij
f1473c1a7c fix(SW-1111): Fix close button on map 2024-12-09 16:50:02 +01:00
Bianca Widstam
8f3d203b70 Merged in fix/SW-1041-design-feedback-select-hotel (pull request #986)
fix(SW-1041): fix UI design feedback

* fix(SW-1041): fix UI design feedback

* fix(SW-1041): small fix

* fix(SW-1041): add filter and sort badge

* fix(SW-1041): update activefilter when entering map view

* fix(SW-1041): create hook with activefilters

* fix(SW-1041): hook only sets filter

* fix(SW-1041): fix padding breadcrumbs

* fix(SW-1041): rename hook

* fix(SW-1041): fix double scroll


Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2024-11-28 07:42:52 +00:00
Pontus Dreij
0283c777ca fix(SW-984): Scroll to active card (desktop) 2024-11-25 13:27:19 +01:00
Pontus Dreij
333be1379c fix(SW-983): Fixed bug with hotel card in map 2024-11-22 17:05:29 +01:00
Bianca Widstam
c345600d78 Merged in fix/SW-948-map-no-availability (pull request #961)
Fix/SW-948 map no availability

* fix(SW-948): add no availability message on hotel map

* fix(SW-948): add placeholder image for map


Approved-by: Niclas Edenvin
2024-11-22 11:13:30 +00:00
Pontus Dreij
08e71a8dc6 fix(946) Center from town name instead of calculate center 2024-11-21 14:15:51 +01:00
Hrishikesh Vaipurkar
1330c8b537 feat: SW-601 Optimized code 2024-11-19 17:32:43 +01:00
Hrishikesh Vaipurkar
cb98f5a907 feat: SW-601 Optimized css 2024-11-19 17:21:11 +01:00
Hrishikesh Vaipurkar
bc344e64cf feat: SW-601 Implement filters and sort in map view 2024-11-19 17:21:11 +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
Pontus Dreij
60f1d268a9 Merged in feat/SW-904-add-back-to-top-button (pull request #923)
Feat/SW-904 add back to top button on hotel list page

* feat(SW-904): Added back to top button

* fix: removed alert on hotel listing page

* Remove console.log


Approved-by: Niclas Edenvin
2024-11-19 08:22:03 +00:00
Simon Emanuelsson
94f693c4f0 feat: make steps of enter details flow dynamic depending on data 2024-11-18 16:30:09 +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
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
2f26680733 Merged in feat/SW-629-empty-state-hotel-page (pull request #901)
feat(SW-629): Added no availabilty if no hotels are listed

Approved-by: Niclas Edenvin
2024-11-15 07:19:16 +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
Pontus Dreij
d158aca6fd feat(SW-629): Added no availabilty if no hotels are listed 2024-11-14 16:23:44 +01:00
Pontus Dreij
32429d0a57 feat(SW-344): Updated height on card wrapper 2024-11-12 15:14:41 +01:00
Pontus Dreij
87b999676b feat(SW-344) Correct position of pins in mobile 2024-11-12 14:34:02 +01:00
Pontus Dreij
96a5277881 feat(SW-344): set active pin on scroll 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
32b6507817 feat(SW-340): Removed !important 2024-11-11 09:14:28 +01:00
Pontus Dreij
39edd1d422 feat(SW-340): Hover actions 2024-11-11 09:12:44 +01:00
Pontus Dreij
5f46844b9b feat(SW-340): Added scroll to top button 2024-11-11 09:12:44 +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
Niclas Edenvin
a8558eb499 feat/sw-251 Filter hotels on select hotel page 2024-11-07 13:34:49 +00: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
Niclas Edenvin
03fa798670 Use the interactive map on the map page 2024-09-27 14:23:49 +02:00