Commit Graph

51 Commits

Author SHA1 Message Date
Erik Tiekstra
f9a03052b1 Merged in feat/SW-1616-clustering (pull request #1330)
feat(SW-1616): Added clustering on destination country/city pages

* feat(SW-1616): Added clustering on destination country/city pages


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-02-14 06:31:01 +00:00
Arvid Norlin
d46a85a529 Merged in fix/handle-bed-reselect-navigation (pull request #1321)
fix: adjust allowed step navigation condition

* fix: adjust allowed step navigation condition


Approved-by: Tobias Johansson
2025-02-13 08:39:43 +00:00
Tobias Johansson
d0e2bd5c8d Merged in fix/booking-status-retry-and-timeout (pull request #1258)
fix: increase retry for getting booking status and dont show spinner if timeout occurs

* fix: increase retry for getting booking status and dont show spinner if timeout occurrs


Approved-by: Arvid Norlin
2025-02-06 08:09:15 +00:00
Erik Tiekstra
e3b1bfc414 Merged in feat/SW-1454-hotel-listing-city-page (pull request #1250)
feat(SW-1454): added hotel listing

* feat(SW-1454): added hotel listing


Approved-by: Fredrik Thorsson
2025-02-05 13:10:28 +00:00
Pontus Dreij
ab7b826cd2 feat(SW-718) created useRoomFilteringStore 2025-01-30 11:19:22 +01:00
Pontus Dreij
3f43d35448 feat(SW-718) Removed unused 2025-01-30 11:19:22 +01:00
Pontus Dreij
bfdc62d263 feat(SW-718): fix comments 2025-01-30 11:19:22 +01:00
Pontus Dreij
328cbbe0e1 feat(SW-718) Fixed filtering with multirooms 2025-01-30 11:19:22 +01:00
Linus Flood
02d3352ea5 Merged in fix/rename-sessionid (pull request #1177)
fix: rename sessionId storage name to avoid conflict with current web

* fix: rename sessionId storage name to avoid conflict with current web
2025-01-13 18:24:41 +00:00
Michael Zetterberg
d2ce9c0d7c fix(i18n): prepare for Lokalise 2025-01-13 13:35:03 +01:00
Erik Tiekstra
96820ba89a feat(SW-1347): SidePeekProvider is now using '#s-' instead of '?s=' 2025-01-13 08:22:53 +01:00
Erik Tiekstra
c82b6866e7 feat(SW-392): Added tab navigation click tracking 2025-01-13 08:15:40 +01:00
Niclas Edenvin
77d449b8cb Merged in fix/sw-1160-booking-widget-sticky (pull request #1053)
fix(SW-1160): include current header as sticky

* fix(SW-1160): include current header as sticky

* fix(sw-1160): only count with current header height if its shown


Approved-by: Erik Tiekstra
2024-12-18 08:51:58 +00:00
Linus Flood
f91d74294e Merge remote-tracking branch 'origin' into feature/tracking 2024-12-16 09:11:28 +01:00
Pontus Dreij
20cbb4b0a0 Fix: Merging issues 2024-12-13 12:19:47 +01:00
Pontus Dreij
c2b4d8abcf Fix: created hook for useScrollToTop to reuse functionallity and util for getSortedHotels 2024-12-13 12:19:47 +01:00
Linus Flood
742a2820d1 Merge remote-tracking branch 'origin' into feature/tracking 2024-12-13 09:02:37 +01:00
Christel Westerberg
8534405358 fix: reset searchparams after errorcode from planet 2024-12-13 08:20:36 +01:00
Tobias Johansson
af3c68e464 fixes 2024-12-06 09:13:36 +01:00
Linus Flood
bbadd3ac10 Use nanoid instead of uuid 2024-12-05 10:57:45 +01:00
Linus Flood
adf6095762 Check if client for session id hook 2024-12-03 14:20:13 +01:00
Linus Flood
b9111511b7 Track sessionId 2024-12-03 11:46:43 +01:00
Hrishikesh Vaipurkar
65f3ac7325 fix: SW-1010 Optimized code 2024-11-28 09:24:44 +01:00
Hrishikesh Vaipurkar
bf60306236 fix: SW-1010 Fixed low screen height accessibility issue 2024-11-28 09:24:44 +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
Tobias Johansson
70000afe1f Merged in feat/SW-755-price-change-non-happy (pull request #957)
Feat/SW-755 price change non happy

* fix(SW-755): dont show field error if checkbox has no children

* feat(SW-755): Price change route + dialog WIP

* fix(SW-755): minor refactoring

* fix(SW-755): added logging to price change route

* fix(SW-755): remove redundant search param logic

* fix(SW-755): moved enum cast to zod instead

* fix(SW-755): move prop type to types folder

* fix(SW-755): Added suspense to Payment and refactored payment options hook

* fix(SW-755): seperated terms and conditions copy from the checkbox label

* fix(SW-755): add currency format and fixed wrong translation

* fix(SW-755): change from undefined to null

* fix(SW-755): added extra type safety to payment options


Approved-by: Christian Andolf
Approved-by: Simon.Emanuelsson
2024-11-26 09:06:41 +00:00
Simon Emanuelsson
94f693c4f0 feat: make steps of enter details flow dynamic depending on data 2024-11-18 16:30:09 +01:00
Tobias Johansson
a70f8a3b97 Merged in feat/SW-618-payment-non-happy-path (pull request #874)
Feat/SW-618 payment non happy path

* feat(SW-618): filter out expired saved cards

* feat(SW-618): Added payment error codes and way of showing messages based on code

* feat(SW-618): show error message if max retries has been reached and remove search param after showing toast

* fix(SW-618): move fallback error codes

* fix(SW-618): remove ref from stopping useEffect to run twice

* fix(SW-618): refactored logic for toast message and minor fixes

* fix(SW-618): remove error message enum due to static analysis problems


Approved-by: Christian Andolf
Approved-by: Arvid Norlin
2024-11-18 14:10:11 +00:00
Pontus Dreij
87b999676b feat(SW-344) Correct position of pins in mobile 2024-11-12 14:34:02 +01:00
Christel Westerberg
e2e2d786bd fix: add correct login button instead of sending everyone to my pages 2024-11-05 08:16:16 +01:00
Erik Tiekstra
dabdd597e2 fix(SW-391): fixed issues with sidepeek functionality inside teaser cards 2024-11-04 12:21:53 +01:00
Erik Tiekstra
fbdfeafcb5 feat(SW-650): added sitewide alert to use sticky position hook 2024-11-01 07:28:52 +00:00
Erik Tiekstra
20e3c9a35f feat(SW-650): added sticky position hook and store 2024-11-01 07:28:52 +00:00
Linus Flood
c816b9f802 useMemo instead 2024-10-21 13:48:09 +02:00
Linus Flood
09777ee909 PR fixes 2024-10-21 09:53:40 +02:00
Erik Tiekstra
4212f5c97b fix(SW-441): fixes after PR 2024-10-10 12:08:18 +02:00
Erik Tiekstra
275d85f482 feat(SW-441): Implemented useScrollSpy hook 2024-10-10 12:08:18 +02:00
Erik Tiekstra
bc43f79c24 fix(SW-216): Fixes after PR 2024-10-08 15:11:54 +02:00
Erik Tiekstra
5e4ef02ebf feat(SW-441): Added table block component 2024-10-08 15:11:53 +02:00
Erik Tiekstra
676b763e67 fix(SW-272): now closing on click outside and also closing the mobile menu when changing to screensizes larger than mobile 2024-10-07 14:04:28 +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
Erik Tiekstra
d1a2175804 chore: cleanup 2024-09-03 13:26:15 +02:00
Erik Tiekstra
a02dcd3428 fix(SW-184): fixed implementation of useTrapFocus 2024-09-03 13:26:15 +02:00
Erik Tiekstra
bdec054ecd feat(SW-184): my pages menu mobile/desktop functionality 2024-09-03 13:26:15 +02:00
Erik Tiekstra
7ef7b4a544 feat(SW-184): language switcher mobile/desktop functionality 2024-09-03 13:26:15 +02:00
Christel Westerberg
fd5380a812 fix: move useLazyPathname to hooks dir 2024-08-28 15:41:54 +02: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
Chuma McPhoy
e82dcddd5c fix(SW-94): update useHash 2024-08-12 14:21:09 +02:00
Chuma McPhoy
ae066d850e fix(feat-SW-94): use function declarations 2024-08-12 11:07:41 +02:00
Chuma McPhoy
ebe79c43e0 feat: Add tab navigation to hotel page 2024-08-12 10:26:02 +02:00