Commit Graph
100 Commits
Author SHA1 Message Date
Christian Andolf 726ea44105 Merged in fix/consistent-link-colors (pull request #2245)
feat: update links default color to match design documents

Approved-by: Michael Zetterberg
2025-06-02 14:38:16 +00:00
Christian Andolf 13136509b6 fix: replace old spacing variables with new matching ones 2025-06-02 15:34:42 +02:00
Christian Andolf b3b3704c86 feat: update links default color to match design documents 2025-06-02 15:34:40 +02:00
Christian Andolf 7694a188da Merged in chore/remove-duplicate-upcoming-stays (pull request #2244)
chore: remove duplicate upcoming stays block

Approved-by: Michael Zetterberg
2025-06-02 13:29:03 +00:00
Christian Andolf d782b85329 chore: remove duplicate upcoming stays block 2025-06-02 15:12:35 +02:00
Christian Andolf d36754e24d Merged in fix/ref-errors-typography (pull request #2240)
fix: rendering errors when applying components to children that are already applying to children

Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-06-02 08:36:02 +00:00
Christian Andolf d8ac5614e2 fix: rendering errors when applying components to children that are already applying to children 2025-05-28 14:43:03 +02:00
Christian Andolf 76e377d5d5 Merged in fix/update-footer-variables (pull request #2239)
fix: match footer to design documents with typography and colors

Approved-by: Erik Tiekstra
2025-05-27 13:44:44 +00:00
Christian Andolf ade0279c8d fix: match footer to design documents with typography and colors 2025-05-27 13:46:43 +02:00
Christian Andolf ec31dcda1a Merged in fix/SW-2172-accessibility-issues-sidepeek-and-other-buttons (pull request #2202)
fix(SW-2172): update sidepeek buttons to use new ones for accessibility

Approved-by: Erik Tiekstra
2025-05-27 11:31:41 +00:00
Christian Andolf 8e1a83ee7d fix(SW-2172): update sidepeek buttons to use new ones for accessibility
updated enter details header overlay to match design

updated change room button to use new one for accessibility

other minor fixes to match design
2025-05-27 12:05:04 +02:00
Christian Andolf 3d95a08ab4 Merged in fix/set-default-text-color-body (pull request #2211)
fix: set default text color on body

Approved-by: Erik Tiekstra
2025-05-27 07:36:49 +00:00
Christian Andolf 46faf93aba Merged in fix/hotel-card-fixes (pull request #2209)
fix: update typography including missing header element in hotel cards

Approved-by: Tobias Johansson
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-05-27 07:32:48 +00:00
Christian Andolf 883fd23949 Merged in fix/LOY-52-remove-spinner-stay-cards (pull request #2232)
fix(LOY-52): remove spinner on stay cards to prevent loading to spin indefinitely when opening link in a new tab

Approved-by: Linus Flood
2025-05-27 07:31:47 +00:00
Christian Andolf 6f585a2c1e fix(LOY-52): remove spinner on stay cards to prevent loading to spin indefinitely when opening link in a new tab 2025-05-26 17:19:03 +02:00
Christian Andolf 642a6881e2 fix: update typography including missing header element in hotel cards
add responsive sizes to hotel card image

removed non-existing class
2025-05-26 16:56:54 +02:00
Christian Andolf 88687c512f fix: set default text color on body 2025-05-26 16:56:27 +02:00
Christian Andolf ea90e8c920 Merged in fix/update-typography-footer (pull request #2210)
fix: update typography footer

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-26 08:05:00 +00:00
Christian Andolf 6e089c6ca3 fix: update typography footer 2025-05-23 16:14:39 +02:00
Christian Andolf afd9b3b246 Merged in fix/cleanup-profile-pages (pull request #2187)
fix: cleanup profile pages

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-23 13:24:02 +00:00
Christian Andolf aa06a0654d fix: cleanup profile pages in renaming to follow naming convention
cleanup profile page html to be valid

replace old temp design system components with new ones

divider is now correctly an hr element

less section elements to be valid html
2025-05-23 09:20:21 +02:00
Christian Andolf 502ffa449d Merged in fix/SW-2170-outline-for-chip (pull request #2199)
fix(SW-2170): add outline for chip for keyboard focus

Approved-by: Erik Tiekstra
2025-05-23 07:19:27 +00:00
Christian Andolf 16efce3a43 fix(SW-2170): add outline for chip for keyboard focus
add nonmodal prop to booking code rates dropdown to ensure booking widgets stays sticky when opened
2025-05-22 16:28:58 +02:00
Christian Andolf 0a7df9de12 Merged in fix/replace-tempdesignsystem-surprises (pull request #2185)
fix: replace temp design system components with design system package in surprises

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-22 08:59:01 +00:00
Christian Andolf 76994f6e01 fix: replace temp design system components with design system package in surprises 2025-05-21 17:13:46 +02:00
Christian Andolf d3023a909b Merged in chore/update-ancillary-imageurl-typing (pull request #2182)
chore: update ancillary imageurl typing to reflect that the image url may be undefined

Approved-by: Niclas Edenvin
2025-05-21 12:48:27 +00:00
Christian Andolf cddd9c1ea8 chore: update ancillary imageurl typing to reflect that the image url may be undefined 2025-05-21 13:40:01 +02:00
Christian Andolf e0a87ec122 Merged in fix/LOY-93-hide-confetti-reduced-motion (pull request #2149)
fix(LOY-93): add quickfix for hiding confetti canvas when reduced motion is turned on

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-20 09:28:09 +00:00
Christian Andolf 822043f433 fix(LOY-93): add quickfix for hiding confetti canvas when reduced motion is turned on
we shouldn't need this fix but currently tsparticles doesn't support this because of a bug in their lib
2025-05-19 15:55:39 +02:00
Christian Andolf b8eb9c9095 Merged in fix/handle-non-loaded-surprises (pull request #2140)
fix: handle non loaded surprises in case they're returned as null from server

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-19 09:45:31 +00:00
Christian Andolf 6fad2a6022 fix: handle non loaded surprises in case they're returned as null from server 2025-05-19 10:59:55 +02:00
Christian Andolf 3c0204eb2c Merged in fix/LOY-199-add-missing-benefits-link (pull request #2038)
fix(LOY-199): add missing benefits link

Approved-by: Erik Tiekstra
Approved-by: Chuma Mcphoy (We Ahead)
2025-05-19 07:25:16 +00:00
Christian Andolf 84d4faf6df fix(LOY-199): add missing benefits link 2025-05-19 09:15:50 +02:00
Christian Andolf 627477b308 Merged in fix/add-missing-body-classname-webviews (pull request #2031)
fix: add missing classname on body in webviews to add new css variables

Approved-by: Erik Tiekstra
2025-05-09 12:28:06 +00:00
Christian Andolf 845f84bf73 fix: add missing classname on body in webviews to add new css variables 2025-05-09 14:19:06 +02:00
Christian Andolf ae657c2b49 Merged in fix/dtmc-card-fixes (pull request #2022)
Fix/dtmc card fixes

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-09 11:37:08 +00:00
Christian Andolf 2b32a9c1ff chore: rename functions to make more sense 2025-05-09 09:57:55 +02:00
Christian Andolf 485fddfa3d fix: make sure of design system button and inherent typography props 2025-05-09 09:57:40 +02:00
Christian Andolf 494f44f216 Merged in feat/LOY-198-dtmc-card-animation (pull request #2010)
feat(LOY-198): dtmc card animation when hovering

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-08 14:55:06 +00:00
Christian Andolf a8c6e21e4d Merged in fix/use-rac-label-select (pull request #2018)
fix: use proper label component from rac for consistency

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-08 14:54:21 +00:00
Christian Andolf 4e9cefb43a Merged in feat/LOY-199-add-benefits-link-to-dtmc (pull request #2014)
feat(LOY-199): add benefits link to dtmc modal

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-08 14:53:57 +00:00
Christian Andolf c4a02ee750 fix: use proper label component from rac for consistency 2025-05-08 16:33:50 +02:00
Christian Andolf 53c21bb601 feat(LOY-199): add benefits link to dtmc modal 2025-05-08 14:25:16 +02:00
Christian Andolf d53b07b907 feat(LOY-198): dtmc card animation when hovering 2025-05-08 11:59:20 +02:00
Christian Andolf bf7992da5b Merged in feat/LOY-197-screen-wake-dtmc (pull request #1996)
feat(LOY-197): add screen wake lock to dtmc

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-07 13:18:19 +00:00
Christian Andolf 62eef660fe feat(LOY-197): add screen wake lock to dtmc 2025-05-07 14:01:51 +02:00
Christian Andolf 49fb2c44de Merged in feat/LOY-196-dtmc-modal (pull request #1982)
feat(LOY-196): add modal to dtmc button containing card

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-07 09:07:44 +00:00
Christian Andolf 0066c058e3 fix(LOY-196): change svg color to be derived from css and variables instead 2025-05-07 10:48:08 +02:00
Christian Andolf 8ca0aee25e fix(LOY-196): replace employee number with dummy value
add support for className to modal
2025-05-07 10:32:32 +02:00
Christian Andolf 9b22459837 feat(LOY-196): add modal to dtmc button containing card 2025-05-06 15:08:54 +02:00
Christian Andolf 74358c1a4e feat(LOY-195): digital team member card button on my pages overview 2025-05-06 15:03:29 +02:00
Christian Andolf 52115f0ba1 Merged in feat/LOY-195-dtmc-button-my-pages (pull request #1953)
feat(LOY-195): digital team member card button on my pages overview

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-06 13:03:12 +00:00
Christian Andolf 7359ab4afd feat(LOY-195): digital team member card button on my pages overview 2025-05-06 14:46:12 +02:00
Christian Andolf f681fa7675 Merged in chore/replace-corner-radius-variable-with-new (pull request #1943)
chore: replace old border-radius variables with new tokens

Approved-by: Erik Tiekstra
2025-05-05 11:24:48 +00:00
Christian Andolf 3bcf6cff4a Merged in chore/remove-useless-color-attr (pull request #1944)
chore: remove useless color attributes on html elements

Approved-by: Erik Tiekstra
2025-05-05 10:49:14 +00:00
Christian Andolf 5da16ed10a chore: remove useless color attributes on html elements 2025-05-05 11:40:10 +02:00
Christian Andolf d6b70edfa3 chore: replace old border-radius variables with new tokens 2025-05-05 11:11:37 +02:00
Christian Andolf 17b0d53e4f Merged in fix/use-link-component-content-card (pull request #1899)
fix: use link component for all types of links to add proper styling to set text decoration none when external

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-05 08:24:16 +00:00
Christian Andolf 244560cfac fix: use link component for all types of links to add proper styling to set text decoration none when external 2025-05-05 09:20:07 +02:00
Christian AndolfandNiclas Edenvin 43bdd80dff Merged in fix/SW-2508-new-api-cancel-booking-contract (pull request #1906)
Ending up doing some extra things:

Consolidated booking queries: We had both cancel and cancelMany, but functionally they’re the same, only one accepts an array and the other doesn’t. Didn’t see much point in keeping the single cancel as it wasn’t used anywhere. Thus, I could rename cancelMany to be the one stop method.

remove method for API now properly supports body so we don’t have to hijack the typing in certain places

* fix(SW-2508): now sending additional params to cancel api for new contract


Approved-by: Niclas Edenvin
2025-05-02 07:37:23 +00:00
Christian AndolfandMichael Zetterberg 0cd2e9c89f fix(SW-2463): scroll to payment error 2025-05-02 06:37:37 +00:00
Christian Andolf 5f836b0c82 Merged in fix/prevent-jump-when-hover-card (pull request #1889)
fix: prevent jumping layout when hovering card

Approved-by: Erik Tiekstra
2025-04-29 07:42:45 +00:00
Christian Andolf ffafdd24d1 Merged in fix/reduce-amount-of-section-elements (pull request #1883)
fix: reduce the amount of section elements being used since most have no headers connected to them

Approved-by: Chuma Mcphoy (We Ahead)
2025-04-29 07:03:37 +00:00
Christian Andolf 2bdc49b32d Merged in fix/invalid-svg-values-jsx (pull request #1885)
fix: update incorrect attributes on svg in jsx

Approved-by: Chuma Mcphoy (We Ahead)
2025-04-29 07:02:59 +00:00
Christian Andolf 49feab6c89 Merged in fix/cleanup-ts-stays-components (pull request #1884)
fix: make proper use of type predicates and minor cleanup to avoid double ternary and reduce computation

Approved-by: Erik Tiekstra
2025-04-29 07:02:31 +00:00
Christian Andolf 8501a12f8f fix: prevent jumping layout when hovering card 2025-04-28 16:41:50 +02:00
Christian Andolf 95e09968ca fix: update incorrect attributes on svg in jsx 2025-04-28 15:07:55 +02:00
Christian Andolf 8ed74f08a4 fix: make proper use of type predicates and minor cleanup to avoid double ternary and reduce computation 2025-04-28 15:00:38 +02:00
Christian Andolf 32e95fcbbd fix: reduce the amount of section elements being used since most have no headers connected to them 2025-04-28 14:56:02 +02:00
Christian Andolf 265cecc22a Merged in fix/points-color-bug (pull request #1881)
fix: text color on points is now correct when revisiting the page

Approved-by: Chuma Mcphoy (We Ahead)
2025-04-28 12:49:02 +00:00
Christian Andolf 05fab4d2f6 fix: text color on points is now correct when revisiting the page 2025-04-28 14:33:03 +02:00
Christian Andolf edc4f0c016 Merged in fix/email-type-input (pull request #1878)
fix: change input type to email

Approved-by: Chuma Mcphoy (We Ahead)
2025-04-28 12:26:53 +00:00
Christian Andolf e5f1342e77 fix: change input type to email 2025-04-28 12:56:08 +02:00
Christian Andolf 055f9ab139 Merged in fix/remove-useless-check (pull request #1844)
fix: remove useless check since cmsreward is always defined

Approved-by: Chuma Mcphoy (We Ahead)
2025-04-24 09:41:28 +00:00
Christian Andolf f17c8005d4 fix: remove useless check since cmsreward is always defined 2025-04-24 10:14:52 +02:00
Christian Andolf 652023fac3 Merged in fix/SW-2476-country-select-controlled (pull request #1839)
fix(SW-2476): turn country select into a controlled component again

Approved-by: Chuma Mcphoy (We Ahead)
2025-04-22 12:40:02 +00:00
Christian Andolf 3df28f950e fix(SW-2476): turn country select into a controlled component again 2025-04-22 14:01:43 +02:00
Christian Andolf 2fadf71a58 Merged in fix/add-data-testid-to-date-selects (pull request #1838)
fix: add back data-testid attributes to date selects

Approved-by: Chuma Mcphoy (We Ahead)
2025-04-22 11:53:15 +00:00
Christian Andolf 3181579d38 fix: add back data-testid attributes to date selects 2025-04-22 13:44:42 +02:00
Christian Andolf 281efd0df5 Merged in fix/dont-request-cms-with-no-reward-ids (pull request #1836)
fix: dont request cms rewards if we have no reward ids

Approved-by: Linus Flood
2025-04-22 09:18:48 +00:00
Christian Andolf 55b255d36b fix: dont request cms rewards if we have no reward ids
fixes a cache issue since we have no keys to cache on
2025-04-22 10:55:04 +02:00
Christian Andolf e62e87e306 Merged in feat/LOY-169-use-new-country-select (pull request #1832)
feat(LOY-169): use new filter select for country select

Approved-by: Erik Tiekstra
2025-04-22 07:14:06 +00:00
Christian Andolf c773dc3dfc feat(LOY-169): use new filter select for country select
standardised colors on error messages

fixed error validation on date field

removed duplicates in country list
2025-04-22 08:48:34 +02:00
Christian Andolf 3ce3063973 Merged in fix/restore-generated-id-inputs (pull request #1829)
fix: restore generated id for inputs

Approved-by: Arvid Norlin
2025-04-17 07:03:43 +00:00
Christian Andolf b52e1b0629 fix: restore generated id for inputs
really this shouldn't be needed but in multiple cases we're passing the field name as id which causes multiple labels to use the same for value. really we should just omit this prop unless necessary so we don't need to generate it like this.
2025-04-16 17:31:14 +02:00
Christian Andolf 4076f8d6d8 Merged in fix/deprecated-motion-instantiate (pull request #1825)
fix: now using the correct method to instantiate motion since its constructor is deprecated in favor of the create method

Approved-by: Chuma Mcphoy (We Ahead)
2025-04-16 12:54:21 +00:00
Christian Andolf c23121fceb Merged in fix/booking-code-error-messages (pull request #1824)
fix: booking code and reward night messages are now displayed correctly

Approved-by: Michael Zetterberg
2025-04-16 12:16:46 +00:00
Christian Andolf 8a9107cdf2 fix: now using the correct method to instantiate motion since its constructor is deprecated in favor of the create method 2025-04-16 14:11:24 +02:00
Christian Andolf b252c8be2d fix: booking code and reward night messages are now displayed correctly
also fixed an incorrect css value
2025-04-16 14:07:28 +02:00
Christian AndolfandMichael Zetterberg 27f5ca9851 fix(SW-2385): use booking widget error constants in component 2025-04-16 10:17:17 +00:00
Christian AndolfandMichael Zetterberg e544feaa36 fix(SW-2385): add booking widget error messages 2025-04-16 10:17:17 +00:00
Christian AndolfandMichael Zetterberg 595eb575d7 fix(SW-2385): handle error messages provided from zod validation in forms client side 2025-04-16 10:17:17 +00:00
Christian Andolf 6028080e5b Merged in fix/SW-1970-focusable-input-ios-safari (pull request #1796)
fix(SW-1970): focusable inputs on safari ios

Approved-by: Michael Zetterberg
2025-04-16 07:39:37 +00:00
Christian Andolf 563567716b fix(SW-1970): focusable inputs on safari ios
some cleanup and non-interactive label texts in inputs
2025-04-16 09:16:37 +02:00
Christian Andolf 65a3e3fc58 Merged in feat/SW-1509-new-select-usage-in-forms (pull request #1787)
feat(SW-1509): simplified date of birth component to work with new select

Approved-by: Chuma Mcphoy (We Ahead)
2025-04-15 14:18:04 +00:00
Christian Andolf af918ac442 fix(SW-1509): fix default selected key by using initial parsed user values and not the re-rendered ones 2025-04-15 13:14:33 +02:00
Christian Andolf e04342110a feat(SW-1509): simplified date of birth component to work with new select
added animated labels to new select
2025-04-15 13:14:33 +02:00
Christian Andolf 8a0b917824 Merged in fix/find-booking-fixes (pull request #1792)
fix: add title to find booking page

Approved-by: Erik Tiekstra
Approved-by: Chuma Mcphoy (We Ahead)
2025-04-14 14:21:48 +00:00
Christian Andolf d00e8f09a6 fix: add title to find booking page
add email type to email field
2025-04-14 16:14:52 +02:00
Christian Andolf cc7aa6e317 Merged in fix/nullable-redeem-description (pull request #1777)
fix: set redeem description nullable in order to handle the transition from string to RTE

Approved-by: Linus Flood
2025-04-14 07:06:26 +00:00