Commit Graph

4159 Commits

Author SHA1 Message Date
Joakim Jäderberg
c1505ce50e Merged in feature/warmup (pull request #1887)
* unified warmup function

Approved-by: Linus Flood
2025-04-29 06:18:14 +00:00
Anton Gunnarsson
bbbd665a32 Merged in fix/sw-2527-incorrect-toast-when-tier-matching (pull request #1879)
SW-2527 - Fix boosted toast when tier matching

* Compare levels to ensure toast is only displayed when actually boosted

* Fix 200 name

* Update naming


Approved-by: Linus Flood
2025-04-28 13:41:14 +00:00
Bianca Widstam
bfc25453c7 Merged in fix/SW-1415-my-stay-tracking-hotelId (pull request #1880)
fix(SW-1415): add hotelId in tracking for my stay

* fix(SW-1415): add hotelId in tracking for my stay

* fix: remove toast if cancel guarantee

* fix(SW-1415): rebase master

* fix(SW-1415): fix comment shorthand hotelId


Approved-by: Christian Andolf
2025-04-28 13:20:18 +00: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
Simon Emanuelsson
ec087a3d15 feat: refactor of my stay 2025-04-28 12:40:52 +00:00
Simon Emanuelsson
b5deb84b33 fix: always use totalPrice to display roomCharge 2025-04-28 12:40:52 +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
Matilda Landström
8e78dec6c2 Merged in feat/SW-1477-external-gym (pull request #1875)
feat/SW-1477-handle-external-gym

* feat/SW-1477-handle-external-gym


Approved-by: Erik Tiekstra
2025-04-28 09:27:36 +00:00
Erik Tiekstra
5beffe4968 feat(SW-1780): Hotel address now leads to map view with hotel active
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-04-28 09:12:17 +00:00
Bianca Widstam
416a95d592 Merged in fix/SW-1997-tracking-correct-price-or-points (pull request #1869)
fix(SW-1997): only add points or card if payed with

* fix(SW-1997): only add points or card if payed with

* fix(SW-1997): use buildAncillaries function


Approved-by: Michael Zetterberg
2025-04-28 09:05:55 +00:00
Anton Gunnarsson
7c191aa875 Merged in fix/tiny-translation-fixes (pull request #1874)
Tiny updates to copy in SAS flow

* Tiny translation fixes


Approved-by: Joakim Jäderberg
2025-04-28 07:35:34 +00:00
Anton Gunnarsson
8f67e20300 Merged in fix/sw-2453-refresh-data-on-tier-match (pull request #1866)
Refresh page if tier match happens on My Pages SAS page

* Refresh page if tier match happens on My Pages SAS page


Approved-by: Joakim Jäderberg
2025-04-28 07:28:58 +00:00
Arvid Norlin
6cf01e8990 Merged in fix/redirect-content-types (pull request #1855)
Fix/redirect content types

* feat(SW-2429): Removed [contentType]>[uid] and use app router based structure for content types

* feat(SW-2429): Added breadcrumbs to follow contenttype folder structure

* fix(SW-2112): reenabling redirect middleware since working with new content-type routing strategy


Approved-by: Michael Zetterberg
2025-04-28 07:02:15 +00:00
Matilda Landström
5c189da123 Merged in feat/SW-2495-card-type-tracking (pull request #1868)
fix(SW-2495): add saved card type to payment tracking

* fix(SW-2495): add saved card type to tracking


Approved-by: Michael Zetterberg
2025-04-27 14:47:04 +00:00
Matilda Landström
1f8594e5c8 Merged in feat/SW-2220-destination-list (pull request #1851)
Feat/SW-2220 destination list

* fix(SW-2220): remove old hotels

* fix(SW-2220): add filtering of cities without urls

* fix(SW-2220): destinations English

* fix(SW-2220): update all country files

* refactor(SW-2220): cleanup


Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-04-25 13:14:23 +00:00
Chuma Mcphoy (We Ahead)
035653349a Merged in chore/add-rel-no-follow-to-language-switcher-links (pull request #1865)
chore(SW-2369): dont index language switcher links

* chore(SW-2177): dont index language switcher links


Approved-by: Linus Flood
2025-04-25 12:58:46 +00:00
Niclas Edenvin
3a958c4dd1 Merged in fix/sw-1897-member-price-modal (pull request #1856)
fix(sw-1897): show member price modal immediately

* fix(sw-1897): show member price modal immediately

* Make checkbox fully controlled

* Remove action in the store that wasn't used


Approved-by: Hrishikesh Vaipurkar
2025-04-25 09:55:24 +00:00
Hrishikesh Vaipurkar
0011cbe8d2 Merged in fix/SW-2375-aa-tracking-critical-pageview- (pull request #1863)
fix: SW-2375 Fixed object comparison in bookingflow params flag

* fix: SW-2375 Fixed object comparison in bookingflow params flag


Approved-by: Niclas Edenvin
2025-04-25 07:06:53 +00:00
Erik Tiekstra
b75177ad98 Fix/SW-2429 map view
* feat(SW-2429): Removed [contentType]>[uid] and use app router based structure for content types

* feat(SW-2429): Added breadcrumbs to follow contenttype folder structure

* feat(SW-2429): Removed modal/dialog functionality from map views on hotel and destination pages

* fix(SW-2429): Fixed issue with booking widget on meeting pages. Also used same structure for content types

Approved-by: Arvid Norlin
2025-04-25 05:36:44 +00:00
Matilda Landström
6d7fbe0894 Merged in feat/SW-2440-ancillaries-tracking (pull request #1846)
Feat(SW-2440): Ancillaries tracking

* fix(SW-2440): move ancillaries tracking to separate object


Approved-by: Christian Andolf
2025-04-24 15:08:40 +00:00
Matilda Landström
d097547ec7 Merged in feat/SW-1755-facility-cards (pull request #1847)
fix(SW-1755): Handle facility card images left or right side

* fix(SW-1755): handle facility card images


Approved-by: Erik Tiekstra
Approved-by: Christian Andolf
2025-04-24 14:42:46 +00:00
Matilda Landström
297f9cedb4 Merged in feat/SW-2467-clear-search (pull request #1857)
fix(SW-2467): Change "clear" to x in Search

* fix(SW-2467): Change clear to x

* fix(SW-2467): add aria-label


Approved-by: Erik Tiekstra
2025-04-24 14:37:46 +00:00
Bianca Widstam
77eff2b49c Merged in fix/SW-1997-gla-tracking (pull request #1852)
fix(SW-1997): add price and currency

* fix(SW-1997): add price and currency

* fix(SW-1997): wrap lateArrivalGuaranteee and guaranteedProduct in hotelInfo


Approved-by: Niclas Edenvin
2025-04-24 13:41:29 +00:00
Anton Gunnarsson
26d3d1b1d3 Merged in fix/sw-2502-magic-link-signin-sas-tier-match-scope (pull request #1859)
Add correct scope to magic link sign in for SAS flow

* Add correct scope to magic link sign in


Approved-by: Joakim Jäderberg
2025-04-24 12:30:42 +00:00
Anton Gunnarsson
b354398c69 Merged in fix/improve-sas-error-logging (pull request #1854)
Improve SAS flow logging

* Improve logging


Approved-by: Joakim Jäderberg
2025-04-24 12:30:34 +00:00
Chuma Mcphoy (We Ahead)
169094fc37 Merged in refactor/SW-2476-use-react-aria-radio-group-for-payment-options (pull request #1849)
Refactor(SW-2177): Use react aria RadioGroup & Radio for payment options

* fix(SW-SW-2177): enhance accessibility for payment options

* Added keyboard navigation support to payment options.
* Updated CSS to improve focus styles for payment option labels.

* refactor: use RadioGroup & Radio from react aria for payment options

* refactor(SW-2177): replace setValue and watch with useController for payment method handling

* fix(SW-2177): remove comment and use cx for styles on PaymentOption

* fix(SW-2177): Add keyboard focus indicator to payment option


Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-04-24 11:22:36 +00: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
Joakim Jäderberg
d66a3aabdf Merged in fix/SW-2478-search-label-inverted-colors (pull request #1850)
fix: colors of the search field on <JumpTo/> had inverted behaviour

* fix: colors of the search field on <JumpTo/> had inverted behaviour


Approved-by: Linus Flood
2025-04-24 06:52:00 +00:00
Bianca Widstam
d077184e5e Merged in fix/SW-2481-booking-number (pull request #1845)
fix(SW-2481): add booking number for multiroom

* fix(SW-2481): add booking number for multiroom


Approved-by: Michael Zetterberg
2025-04-23 23:44:52 +00:00
Erik Tiekstra
d827bf04d0 fix(SW-2210): Checking for session inside MyPagesMenu to sync session state 2025-04-24 00:48:42 +02:00
Erik Tiekstra
7b76e351d9 fix(SW-2210): Removed isUserLoggedIn from RatesStore 2025-04-24 00:48:40 +02:00
Michael Zetterberg
5323a8e46e feat: harmonize log and metrics 2025-04-23 22:40:46 +00:00
Bianca Widstam
858a81b16f Merged in fix/SW-2435-modal-whitespace (pull request #1848)
Fix/SW-2435 modal whitespace

* fix(SW-2435): prevent modal content to move when clicking checkbox

* fix(SW-2435): prevent modal content to move when clicking checkbox


Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-04-23 14:50:59 +00:00
Bianca Widstam
2f0a196b49 Merged in fix/SW-1414-tracking-gla (pull request #1837)
fix(SW-1414): add hotelId to tracking for gla

* fix(SW-1414): add hotelId to tracking for gla


Approved-by: Niclas Edenvin
2025-04-23 11:05:43 +00:00
Simon Emanuelsson
722d4505ba fix: always use totalPrice to display roomCharge 2025-04-23 11:50:44 +02:00
Simon Emanuelsson
1f94c581ae fix: unite all price details modals to one and align on ui 2025-04-23 08:45:50 +00:00
Erik Tiekstra
8152aea649 fix(SW-1241): Adjusted amenities sidepeek on hotel pages and booking flow
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-04-23 08:41:04 +00:00
Erik Tiekstra
c23a32cd10 fix(SW-2414): Removed continue button on single room member bookings
Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-04-23 08:33:15 +00:00
Matilda Landström
bcd7474da6 Merged in fix/map-card-amenities (pull request #1840)
Fix/map card amenities

* fix: only display 3 amenities on map card

* fix: add Typography


Approved-by: Christian Andolf
2025-04-22 12:46:45 +00: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
Niclas Edenvin
8d1312c0fa Merged in fix/sw-2444-view-all-on-mobile (pull request #1834)
fix(sw-2444): view all ancillaries mobile

* fix(sw-2444): view all ancillaries mobile

On mobile the view all button to show all ancillaries shouldn't be
shown. It's already a carousel showing all available ancillaries.


Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-04-22 09:07:24 +00:00
Niclas Edenvin
3f6a65d390 Merged in fix/sw-1867-multiroom-guests (pull request #1822)
fix(sw-1867): Don't allow same name or membno between rooms

* fix(sw-1867): Don't allow same name or membno between rooms

We don't want to allow two different rooms to have the same firstname
and lastname combination or the same membership number.

* Fine tune validation triggers

* Add comments explaining manual validation triggering

* Change to react-hook-form built-in deps instead


Approved-by: Simon.Emanuelsson
2025-04-22 09:06:43 +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