Commit Graph

89 Commits

Author SHA1 Message Date
Christian Andolf
06d861fb6f chore: add no unused vars lint rule 2025-02-17 10:43:54 +01:00
Hrishikesh Vaipurkar
eabe45b73c Merged in feat/SW-1557-implement-booking-code-select (pull request #1304)
feat: SW-1577 Implemented booking code city search

* feat: SW-1577 Implemented booking code city search

* feat: SW-1557 Strict comparison

* feat: SW-1557 Review comments fix


Approved-by: Michael Zetterberg
Approved-by: Pontus Dreij
2025-02-13 09:24:47 +00:00
Linus Flood
ebb007b7f0 Merged in feat/booking-flow-performance (pull request #1282)
feat: booking flow performance

* feat: booking flow performance

* Cleanup


Approved-by: Michael Zetterberg
Approved-by: Pontus Dreij
2025-02-08 10:40:42 +00:00
Michael Zetterberg
1d822dad5a Merged in fix/labels-english (pull request #1249)
fix(i18n): validated English messages

Approved-by: Bianca Widstam
Approved-by: Christian Andolf
2025-02-06 20:54:25 +00:00
Hrishikesh Vaipurkar
bb0f35fb98 feat: SW-1422 Updated UI 2025-02-05 16:18:34 +01:00
Hrishikesh Vaipurkar
304fc7f1c9 feat:SW-1422 Updated Tablet mode 2025-02-05 16:18:34 +01:00
Hrishikesh Vaipurkar
63f456da5a feat: SW-1422 Updated UX for booking code desktop and mobile 2025-02-05 16:18:28 +01:00
Hrishikesh Vaipurkar
1b5b09d7a6 feat: SW-1422 Enabled booking code in booking widget 2025-02-05 16:16:45 +01:00
Bianca Widstam
8d755071bc Merged in fix/SW-1335/city-label-missing (pull request #1218)
Fix/SW-1335/city label missing

* fix(SW-1335): add fallback label when missing

* fix(SW-1335): update location if valid


Approved-by: Niclas Edenvin
2025-01-28 12:51:15 +00:00
Michael Zetterberg
d2ce9c0d7c fix(i18n): prepare for Lokalise 2025-01-13 13:35:03 +01:00
Pontus Dreij
b4060d720b Merged in feat/SW-716-multiroom-guest-picker (pull request #1084)
feat(SW-716) Added UI to add more rooms in guest/room picker

* feat(SW-716) Added UI to add more rooms in guest/room picker

* feat(SW-716) Renamed GuestRoom Type and updated html structure

* Feat(SW-716): Created a BookingFlowIteration1 folder

* feat(SW-716) Moved forms/bookingwidget to new flow

* feat(SW-716) Added new ENABLE_BOOKING_FLOW_ITERATION_1 and ENABLE_BOOKING_FLOW_ITERATION_2

* feat(SW-716) Re added booking widget into interaction1 of how it looks now in prod

* Revert "feat(SW-716) Re added booking widget into interaction1 of how it looks now in prod"

This reverts commit 9a5514e8e71b1487e610bf64986ca77a538c0023.

* Revert "feat(SW-716) Added new ENABLE_BOOKING_FLOW_ITERATION_1 and ENABLE_BOOKING_FLOW_ITERATION_2"

This reverts commit b00bfc08cb7878d91483220ba3e8322671c145e4.

* Revert "feat(SW-716) Moved forms/bookingwidget to new flow"

This reverts commit 6c81635fe929a71fb3a42d8f174706787d8578ed.

* Revert "Feat(SW-716): Created a BookingFlowIteration1 folder"

This reverts commit db41f1c7fcd8e3adf15713d5d36f0da11e03e3a4.

* feat(SW-716): Added NEXT_PUBLIC_HIDE_FOR_NEXT_RELEASE

* feat(SW-716) Readded Tooltip if NEXT_PUBLIC_HIDE_FOR_NEXT_RELEASE is true

* feat(SW-716) remove log


Approved-by: Niclas Edenvin
Approved-by: Christian Andolf
2025-01-08 15:09:29 +00:00
Christel Westerberg
5901cab440 fix: refactor breadcrumbs to take page type variants to better match margins 2025-01-07 11:41:39 +01:00
Niclas Edenvin
0ac09f37f6 Merged in fix/sw-1177-search-history (pull request #1124)
fix(SW-1177): fix localization problems in search history

* fix(SW-1177): fix localization problems in search history

When saving search history the whole location objects where stored and
also used later. This made the list display in different languages if
the user previously had search for something in another language.
Another issue where that the list where also deduped based on name of
the search item, which meant that there could be multiple history
items for the same entity and the same ID, e.g. `Gothenburg` and
`Göteborg`.


Approved-by: Bianca Widstam
2025-01-07 10:32:32 +00:00
Arvid Norlin
f7ec34d86f fix: pass correct location data to session storage 2024-12-20 10:15:01 +01:00
Christel Westerberg
f7e396ff50 fix: avoid stingifying undefined to session storage 2024-12-20 09:46:09 +01:00
Simon Emanuelsson
51f422510c feat(SW-865): link to booking without validation 2024-12-19 12:42:21 +01:00
Simon Emanuelsson
9d4998c9c5 feat(SW-885): ancillary and book next stay 2024-12-19 12:42:21 +01:00
Pontus Dreij
0c62cb6d96 Merged in feat/SW-977-update-bookingwidget-with-hotel-name (pull request #1071)
Feat/SW-977 update bookingwidget with hotel name

Approved-by: Fredrik Thorsson
2024-12-17 14:47:43 +00:00
Pontus Dreij
24ef1e98e0 feat(SW-977): Add more controls if Json is valid 2024-12-17 15:29:20 +01:00
Linus Flood
431ab477eb Fixes bookingwidget skeleton and memoize fetching of creditcards 2024-12-17 14:31:52 +01:00
Pontus Dreij
237147825c feat(SW-977) check if json is valid 2024-12-17 14:21:48 +01:00
Pontus Dreij
c635a8b072 feat(SW-977): Scenario 2 & 4 2024-12-17 14:07:26 +01:00
Pontus Dreij
4f92d1da08 feat(SW-977): Scenario 1 2024-12-17 14:07:26 +01:00
Christian Andolf
e08e960209 chore: add consistent type imports 2024-12-12 11:47:44 +01:00
Pontus Dreij
df6333fa22 fix(SW-1115) merge to one if 2024-12-11 13:02:12 +01:00
Pontus Dreij
3c9aaa3dd3 fix(SW-1115) trigger search 2024-12-11 13:02:12 +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
Niclas Edenvin
cebbdfce53 Merged in fix/sw-1110-search-suggestions (pull request #1046)
fix(sw-1110): only match search keywords from start of word

* fix(sw-1110): only match search keywords from start of word

This changes the search field so when it tries to match on a keyword it
has to match from the beginning of the word, not anywhere in the word


Approved-by: Bianca Widstam
2024-12-09 09:48:31 +00:00
Hrishikesh Vaipurkar
e3f93e0de6 fix: SW-1102 show error on invalid entry 2024-12-06 14:11:08 +01:00
Hrishikesh Vaipurkar
dd0a699e4a fix: SW-1040 Updated fields clickable area 2024-11-28 18:04:15 +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
0b36e661da Fix(SW-343): reverted color 2024-11-15 16:46:07 +01:00
Pontus Dreij
8b89801a6d Fix(SW-343): Updated search and booking widget comments 2024-11-15 16:45:25 +01:00
Linus Flood
c7465855cf Merged master into feat/SW-888-skeleton-loaders 2024-11-14 19:14:31 +00:00
Anton Gunnarsson
2bfe8df741 Refactor booking widget skeleton 2024-11-14 13:25:49 +01:00
Anton Gunnarsson
1980ae4350 Skeleton loader for booking widget on desktop 2024-11-14 13:24:06 +01:00
Christel Westerberg
ca3819f7cc fix: remove guest picker store 2024-11-14 11:42:24 +01:00
Hrishikesh Vaipurkar
256f4dfce3 fix: JSON parsing fix 2024-11-07 16:33:32 +01:00
Hrishikesh Vaipurkar
c456fca19b feat: SW-693 Updated appropriate dependency 2024-11-07 16:33:31 +01:00
Hrishikesh Vaipurkar
0a430a0480 feat: SW-693 Moved state changes to reducer 2024-11-07 16:33:31 +01:00
Hrishikesh Vaipurkar
726a57c515 feat: SW-693 Moved borwser storage code in useEffect of component 2024-11-07 16:33:31 +01:00
Hrishikesh Vaipurkar
11e94f42ba fix: SW-693 Fixed hydration error 2024-11-07 16:33:30 +01:00
Pontus Dreij
cac1a6891e fix(sw-350): Fix issue where value where not updated 2024-11-04 15:49:13 +01:00
Pontus Dreij
b69eda9b05 feat(sw-350) removed comment 2024-11-01 16:15:10 +01:00
Pontus Dreij
f4d924e45f fix(sw-350): Fixed styling issues and error modal issue 2024-11-01 16:12:33 +01:00
Christian Andolf
a37cd3ff44 fix: only phrasing content is allowed inside label element 2024-11-01 14:31:40 +01:00
Hrishikesh Vaipurkar
05d353e224 sub-task/ SW-695 Prefill Guests data in booking widget 2024-10-28 23:21:39 +01:00
Christian Andolf
69ed852fc4 fix: only phrasing content is allowed inside buttons meaning no div or p elements, these are now replaced by span 2024-10-28 15:35:56 +01: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
Christel Westerberg
5870a31275 fix: add labels variants for Footnote and Caption 2024-10-16 16:58:05 +02:00