Christian Andolf
8f4834a6ef
Merged in fix/consolidate-media-queries (pull request #1769 )
...
fix: consolidate media queries to be consistent with ranges
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-04-09 14:38:05 +00:00
Christian Andolf
ee72f58c33
fix: consolidate media queries to be consistent with ranges
2025-04-09 16:30:12 +02:00
Christian Andolf
c9e3680b6b
Merged in fix/enable-surprises-flag (pull request #1749 )
...
fix: add new feature flag for surprises
Approved-by: Linus Flood
Approved-by: Chuma Mcphoy (We Ahead)
2025-04-07 13:13:50 +00:00
Christian Andolf
5e55b60807
fix: add new feature flag for surprises
2025-04-07 14:26:13 +02:00
Christian Andolf
0a4550c761
Merged in chore/cleanup-booking-widget (pull request #1701 )
...
Chore/cleanup booking widget
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
Approved-by: Simon.Emanuelsson
2025-04-04 07:25:35 +00:00
Christian Andolf
7b66533dba
chore: rename html element for context
2025-04-04 09:06:42 +02:00
Christian Andolf
d4f5aea31c
chore: add missing type to watch
2025-04-04 09:06:42 +02:00
Christian Andolf
2a07fcf7be
chore: remove locations type to opt for location in array instead, this highlights array objects
2025-04-04 09:06:42 +02:00
Christian Andolf
14f9b68365
chore: Cleanup booking widget with types and other minor issues
2025-04-04 09:06:42 +02:00
Christian Andolf
fa1f637136
Merged in fix/SW-1877-new-responsive-breadcrumbs (pull request #1671 )
...
fix(SW-1877): new responsive breadcrumbs
Approved-by: Erik Tiekstra
2025-04-01 07:11:05 +00:00
Christian Andolf
4bd33e908f
fix(SW-1877): rewrote css to be a bit more modern
2025-04-01 08:38:08 +02:00
Christian Andolf
f5f12c2f18
fix(SW-1877): fixed size on home icon in skeleton
...
fixed width and padding for other pages
2025-04-01 08:38:08 +02:00
Christian Andolf
19723856c3
refactor(SW-1877): a bit of cleanup of code to maintain patterns and separate components and types
2025-04-01 08:38:08 +02:00
Christian Andolf
52b461fbb4
fix(SW-1877): new responsive breadcrumbs
2025-04-01 08:38:08 +02:00
Christian Andolf
a2f943dfc5
Merged in chore/typing-debounce (pull request #1668 )
...
chore: debounce function is now typed to accommodate typed parameters in a callback
Approved-by: Simon.Emanuelsson
2025-03-31 08:15:00 +00:00
Christian Andolf
32e769fd09
chore: debounce function is now typed to accommodate typed parameters in a callback
2025-03-28 14:40:36 +01:00
Christian Andolf
1c42639423
Merged in chore/LOY-175-remove-references-to-old-rewards (pull request #1519 )
...
Chore/LOY-175 remove references to old rewards and refactor reward typing
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-26 09:08:11 +00:00
Christian Andolf
cf3a903710
Merged in fix/default-loyalty-level-two-lines (pull request #1637 )
...
fix: default loyalty levels to be two rows to be compatible with existing behaviour
Approved-by: Pontus Dreij
2025-03-26 09:07:23 +00:00
Christian Andolf
f272dde1ef
chore: remove unused filter modal
...
remove old cms model
refactor reward types
2025-03-26 09:55:26 +01:00
Christian Andolf
45d57a9c89
fix(LOY-175): fix issues of getting correct expiration date on reward coupon
2025-03-26 09:55:26 +01:00
Christian Andolf
b86347b4f4
refactor(LOY-175): rewrite reward types according to new api endpoints
2025-03-26 09:55:26 +01:00
Christian Andolf
0ae4c5db17
chore(LOY-175): remove references to old reward endpoints
2025-03-26 09:55:26 +01:00
Christian Andolf
f2252ce0f7
fix: default loyalty levels to be two rows to be compatible with existing behaviour
2025-03-26 09:51:54 +01:00
Christian Andolf
7dcdaa1f4f
Merged in fix/LOY-160-utc-date-on-reward-expiry-time (pull request #1619 )
...
fix(LOY-160): now parses and formats expiration date on rewards in utc
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-25 12:44:10 +00:00
Christian Andolf
7c62ea6971
fix(LOY-160): now parses and formats expiration date on rewards in utc
2025-03-25 13:32:02 +01:00
Christian Andolf
53a610913a
Merged in fix/SW-1721-startpage-padding-adjustment (pull request #1626 )
...
fix(SW-1721): change startpage padding between sections
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-25 12:31:30 +00:00
Christian Andolf
4c038b3e4d
Merged in fix/LOY-206-add-missing-lang-input-transactions-query (pull request #1623 )
...
fix(LOY-206): add missing lang input to friends transactions query, handles both server and client side
Approved-by: Michael Zetterberg
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-25 12:27:02 +00:00
Christian Andolf
a02285a3d1
fix(SW-1721): change startpage padding between sections
2025-03-25 12:23:54 +01:00
Christian Andolf
d67d04e416
fix(LOY-206): add missing lang input to friends transactions query, handles both server and client side
2025-03-25 09:42:37 +01:00
Christian Andolf
d406725a65
Merged in fix/SW-1971-close-mobile-menu-footer-link-click (pull request #1583 )
...
fix(SW-1971): now closes mobile menu on clicking the find booking link
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-21 08:22:51 +00:00
Christian Andolf
9a37a2f4c0
fix(SW-1971): now closes mobile menu on clicking the find booking link
...
removed useless class usage
added customer service url to link
2025-03-21 09:18:59 +01:00
Christian Andolf
0666b62a4c
Merged in fix/LOY-192-fix-surprises-toasts-webview (pull request #1591 )
...
fix(LOY-192): fix toasts for surprises in webviews
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-21 08:03:06 +00:00
Christian Andolf
ac8df04c49
fix(LOY-192): fix toasts for surprises in webviews
2025-03-20 16:27:24 +01:00
Christian Andolf and Linus Flood
7ddca4acba
Merged in fix/change-ref-id-to-query-param (pull request #1578 )
...
fix: my stay now uses ref id in query param rather than path param to support legacy
* fix: my stay now uses ref id in query param rather than path param to support legacy
Approved-by: Michael Zetterberg
2025-03-19 11:39:16 +00:00
Christian Andolf
2fc33966ac
Merged in fix/LOY-141-add-surprises-to-webview (pull request #1561 )
...
fix(LOY-141): add suprises to webview
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-18 12:33:37 +00:00
Christian Andolf
afb367c478
fix(LOY-141): add suprises to webview
2025-03-18 10:56:21 +01:00
Christian Andolf
6d0f47fd4f
Merged in fix/SW-1942-case-in-sensitive-find-my-booking (pull request #1552 )
...
fix(SW-1942): fixed find my booking to be case-insensitive on form input
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-17 15:34:00 +00:00
Christian Andolf
5e98ffe38d
fix(SW-1942): fixed find my booking to be case-insensitive on form input
2025-03-17 16:07:23 +01:00
Christian Andolf
38f3b0e6a4
Merged in fix/access-booking-fixes (pull request #1550 )
...
fix: add some more informative messages when booking cant be accessed
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-17 14:54:37 +00:00
Christian Andolf
b65bdce277
fix: add some more informative messages when booking cant be accessed
...
upped cookie length from 30 seconds to 10 minutes
added default values to prevent the default required error message to appear in form
2025-03-17 14:09:08 +01:00
Christian Andolf and Michael Zetterberg
1a8a57599c
fix: encoding find my booking cookie since next decodes when parsing
...
this is done in order to handle emails containing plus signs
2025-03-13 08:28:03 +00:00
Christian Andolf
796112ca28
Merged in feat/LOY-154-add-expiration-date-to-rewards (pull request #1506 )
...
feat(LOY-154): add expiration date to rewards
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-12 07:39:03 +00:00
Christian Andolf
b45157818f
feat(LOY-154): add expiration date to rewards
2025-03-11 16:25:33 +01:00
Christian Andolf
9280bb3f1c
Merged in feat/SW-1710-access-checks-my-stay (pull request #1486 )
...
feat(SW-1710): add access checks to my stay page for viewing booking
Approved-by: Michael Zetterberg
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Pontus Dreij
2025-03-10 09:25:18 +00:00
Christian Andolf
e2a76736b9
fix(SW-1710): add missing prop
2025-03-10 10:10:05 +01:00
Christian Andolf
af08b3277d
fix(SW-1710): use access object references instead
...
correct incorrect test that granted access incorrectly
2025-03-10 09:45:57 +01:00
Christian Andolf
b0df70e552
feat(SW-1710): add access checks to my stay page for viewing booking
2025-03-10 09:45:56 +01:00
Christian Andolf
63ea994f43
Merged in fix/LOY-145-no-confirm-close-on-pos-rewards (pull request #1492 )
...
fix(LOY-145): no confirm close box after redeeming pos rewards
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-07 14:58:52 +00:00
Christian Andolf
88f6000208
fix(LOY-145): no confirm close box after redeeming pos rewards
2025-03-06 16:43:43 +01:00
Christian Andolf
41d2089c40
Merged in fix/footer-at-bottom (pull request #1480 )
...
fix: ensure footer stays at bottom
Approved-by: Joakim Jäderberg
2025-03-05 14:56:25 +00:00
Christian Andolf
11a1f35bbf
fix: ensure footer stays at bottom
2025-03-05 13:50:52 +01:00
Christian Andolf
e6e50ade45
Merged in feat/SW-1773-find-my-booking-validation (pull request #1453 )
...
feat(SW-1773): add proper validation to form and query
Approved-by: Linus Flood
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-03 12:24:01 +00:00
Christian Andolf
37a853f399
fix(SW-1773): added defineMessage declarations in order for localise to find the proper schema keys
2025-03-03 08:57:48 +01:00
Christian Andolf
c98ac88ac0
feat(SW-1773): add proper validation to form and query
2025-03-03 08:57:48 +01:00
Christian Andolf
5d7815bd28
Merged in feat/SW-1273-find-my-booking-page (pull request #1414 )
...
feat(SW-1273): find my booking page with rudimentary validation and redirect
Approved-by: Michael Zetterberg
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-27 09:17:15 +00:00
Christian Andolf
7a8b926f0a
fix(SW-1273): update customer service info with link instead of phone number
2025-02-27 09:57:18 +01:00
Christian Andolf
8f17622f21
fix(SW-1273): move find my booking page to the correct folder after monorepo migration
2025-02-27 09:57:18 +01:00
Christian Andolf
7d3c0c96e3
refactor(SW-1273): move find my booking routes in order to import them directly into next config
2025-02-27 09:57:18 +01:00
Christian Andolf
51f71383d4
fix(SW-1273): usage of Link component
...
move getLang further down the render to reduce CPU cycles
swap to min-width on button to compensate larger strings
remove useless async declaration
2025-02-27 09:57:18 +01:00
Christian Andolf
85cd815968
feat(SW-1273): find my booking page with rudimentary validation and redirect
2025-02-27 09:57:17 +01:00
Christian Andolf
7711f78ab3
Merged in fix/lint-and-build-error-2025-02-27 (pull request #1429 )
...
fix: remove useless imports and sort them
Approved-by: Linus Flood
Approved-by: Anton Gunnarsson
2025-02-27 08:50:37 +00:00
Christian Andolf
0c1396f2ee
fix: remove useless imports and sort them
...
add missing key in iterator
2025-02-27 09:43:57 +01:00
Christian Andolf
ec00a598d2
Merged in fix/LOY-137-fetch-surprises-client (pull request #1363 )
...
fix(LOY-137): now fetches surprises client side in intervals
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-21 14:59:56 +00:00
Christian Andolf
0ba71f205d
fix(LOY-137): now fetches surprises client side in intervals
2025-02-21 15:37:59 +01:00
Christian Andolf
7b15687f07
Merged in fix/scandic-friends-tablet-layout (pull request #1372 )
...
fix: fix scandic friends block for tablet view
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-19 15:03:26 +00:00
Christian Andolf
220ce1e93b
fix: change header level
2025-02-19 15:31:50 +01:00
Christian Andolf
f55ac3999a
fix: preamble, title and scripted text has been corrected in sizes and rotate
2025-02-19 15:31:50 +01:00
Christian Andolf
9b88b9d1da
fix: fix scandic friends block for tablet view
2025-02-19 15:31:50 +01:00
Christian Andolf
cd8b2e4b73
Merged in fix/SW-1671-align-usp-items-scandic-friends (pull request #1371 )
...
fix(SW-1671): align heart markers to the top
Approved-by: Erik Tiekstra
2025-02-18 14:45:28 +00:00
Christian Andolf
f14eb05262
Merged in fix/LOY-95-localize-country-names (pull request #1364 )
...
fix(LOY-95): localize and sort country names in select
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-18 14:31:00 +00:00
Christian Andolf
8462b17cdd
fix(SW-1671): align heart markers to the top
...
make sure usp lists are evenly squared columns
2025-02-18 15:28:36 +01:00
Christian Andolf
9a443a9cb0
fix(LOY-95): localize and sort country names in select
2025-02-17 17:46:35 +01:00
Christian Andolf
0b9298027c
Merged in feat/LOY-135-change-redeem-desc-to-rte (pull request #1350 )
...
feat(LOY-135): change redeem description to be RTE
Approved-by: Erik Tiekstra
2025-02-17 14:12:16 +00:00
Christian Andolf
a192d32f7e
feat(LOY-135): change redeem description to be RTE
2025-02-17 15:05:32 +01:00
Christian Andolf
577271c577
Merged in chore/no-unused-vars-lint-rule (pull request #1339 )
...
chore: add no unused vars lint rule
Approved-by: Michael Zetterberg
2025-02-17 09:54:33 +00:00
Christian Andolf
06d861fb6f
chore: add no unused vars lint rule
2025-02-17 10:43:54 +01:00
Christian Andolf
2d5111fed3
Merged in feat/LOY-61-add-confirm-close-to-redeem (pull request #1322 )
...
feat(LOY-61): add confirmation box to close when redeemed a reward
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-17 08:41:01 +00:00
Christian Andolf
4f0c4a0acb
fix(LOY-61): only invalidate current rewards if reward is redeemed or confirm close redeemed reward
2025-02-17 09:34:54 +01:00
Christian Andolf
b656023bac
feat(LOY-61): add confirmation box to close when redeemed a reward
2025-02-17 09:34:54 +01:00
Christian Andolf
962836606e
Merged in fix/LOY-88-hide-expiration-date-if-missing (pull request #1338 )
...
fix(LOY-88): expiration date is now not defaulted to todays date if it's missing, instead nothing is shown
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-17 08:34:18 +00:00
Christian Andolf
bc81b18e85
fix(LOY-88): expiration date is now not defaulted to todays date if it's missing, instead nothing is shown
2025-02-17 09:07:32 +01:00
Christian Andolf
81643883ff
Merged in fix/SW-1615-usp-list-now-grows-vertically (pull request #1336 )
...
fix(SW-1615): usp list for scandic friends block now grows vertically instead of horizontally
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-14 15:43:34 +00:00
Christian Andolf
3044bc87d1
Merged in fix/LOY-138-remove-membership-id-surprises (pull request #1337 )
...
fix(LOY-138): remove membership id from showing in surprises
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-14 07:51:08 +00:00
Christian Andolf
03e9e5c9ca
fix(LOY-138): remove membership id from showing in surprises
2025-02-13 16:44:40 +01:00
Christian Andolf
c74cb7da58
fix(SW-1615): usp list for scandic friends block now grows vertically instead of horizontally
2025-02-13 16:23:22 +01:00
Christian Andolf
bc23314275
Merged in fix/LOY-136-dont-invalidate-rewards-until-redeem-close (pull request #1308 )
...
fix(LOY-136): rewards are no longer invalidated and refetched when redeeming rewards, instead it happens when modal is closed
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-13 11:30:36 +00:00
Christian Andolf
4832688254
fix(LOY-136): rewards are no longer invalidated and refetched when redeeming rewards, instead it happens when modal is closed
2025-02-13 12:22:11 +01:00
Christian Andolf
409ba5bf4c
Merged in feat/LOY-134-add-informative-reward-modal (pull request #1307 )
...
feat(LOY-134): display informative rewards and modal
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-13 10:13:35 +00:00
Christian Andolf
509c83868d
feat(LOY-134): display informative rewards and modal
2025-02-13 10:16:02 +01:00
Christian Andolf
98e3afe9db
Merged in fix/LOY-119-hide-redeemed-rewards (pull request #1292 )
...
fix(LOY-119): hiding redeemed rewards
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-11 12:09:44 +00:00
Christian Andolf
4459d5762c
fix(LOY-119): hiding redeemed rewards
...
some smaller cleanup on coupon property to avoid optional checks
2025-02-11 13:02:29 +01:00
Christian Andolf
1d4993fb7f
Merged in fix/LOY-89-more-user-friendly-surprise-error-message (pull request #1298 )
...
fix(LOY-89): add a more user friendly error message for when unwrapping surprises
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-11 09:13:56 +00:00
Christian Andolf
72049ed88b
fix(LOY-89): add a more user friendly error message for when unwrapping surprises
2025-02-11 10:08:40 +01:00
Christian Andolf
818daed5b8
Merged in fix/full-width-campaign-full-height (pull request #1277 )
...
fix: full width campaign is now full height on mobile
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-07 15:02:15 +00:00
Christian Andolf
5f2b86b6c4
fix: full width campaign is now full height on mobile
2025-02-07 15:55:44 +01:00
Christian Andolf
fae0b124a5
Merged in feat/SW-1543-hide-join-scandic-friends-logged-in (pull request #1261 )
...
feat(SW-1543): join scandic friends block is now hidden for logged in users
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-07 14:50:35 +00:00
Christian Andolf
69d57b73a2
feat(SW-1543): move auth check within component to be suspended
2025-02-07 15:43:51 +01:00
Christian Andolf
ced8dd5d99
fix: startpage blocks now default to an array
2025-02-07 15:43:51 +01:00
Christian Andolf
c622a65a8a
feat(SW-1543): join scandic friends block is now hidden for logged in users
2025-02-07 15:43:51 +01:00
Christian Andolf
9fafb33d26
Merged in feat/SW-1391-join-scandic-friends-startpage (pull request #1260 )
...
feat(SW-1391): add join scandic friends block
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-06 15:05:06 +00:00