Commit Graph

29 Commits

Author SHA1 Message Date
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
Simon Emanuelsson
82e4d40203 feat(WEB-154): my profile view 2024-04-12 16:25:52 +02:00