Commit Graph

632 Commits

Author SHA1 Message Date
Anton Gunnarsson
fbeb23c2aa Merged in chore/remove-env-log (pull request #1966)
Don't log entire process.env

* Don't log entire process.env

* Don't log entire env on logout


Approved-by: Michael Zetterberg
2025-05-06 09:16:46 +00:00
Simon Emanuelsson
73c2af2766 feat: re-add outline to add room button 2025-05-06 08:53:17 +00:00
Matilda Landström
8bff7f2cf2 Merged in fix/SW-2440-breakfast-tracking (pull request #1967)
fix(SW-2440): correct total price

* fix(SW-2440): correct total price

* Merge branch 'fix/SW-2440-breakfast-tracking' of bitbucket.org:scandic-swap/web into fix/SW-2440-breakfast-tracking

* fix(SW-2440): multiply by number of nights for breakfast tracking


Approved-by: Niclas Edenvin
2025-05-06 08:52:20 +00:00
Simon Emanuelsson
4d41d4fd92 feat: autofill all fields on enter details and countryselector clean up 2025-05-06 10:03:24 +02:00
Michael Zetterberg
81c2afe570 feat(SW-2616): use refId from booking, not search params 2025-05-06 08:30:42 +02:00
Michael Zetterberg
4432cdc245 fix: booking widget search type 2025-05-06 07:32:48 +02:00
Arvid Norlin
afda7f851a fix: correct membershipFailedError logic 2025-05-06 04:19:28 +00:00
Simon Emanuelsson
7213bde423 feat: make sure we update status for when public rates are fetched 2025-05-06 04:19:10 +00:00
Bianca Widstam
1438007d89 fix(SW-2608): add night on breakfast modal 2025-05-06 04:01:38 +00:00
Arvid Norlin
77c9206a94 fix: update BookingWidget type based on if hotelId is specified 2025-05-06 04:01:10 +00:00
Arvid Norlin
fa1ace9a2c fix: remove lingering cancel/error message based on sessionStorage 2025-05-06 04:00:32 +00:00
Bianca Widstam
314644c88c fix(SW-2051): issues on confirmation page 2025-05-05 17:15:24 +02:00
Erik Tiekstra
21e7932058 fix(SW-2449): Small cluster changes and added optional boundsPadding prop 2025-05-05 12:56:16 +00:00
Tobias Johansson
b6c066ea8d Merged in fix/SW-2497-tracking-remove-ancilleries-data (pull request #1949)
fix: remove ancilleries data when reloading booking confirmation

* fix: remove ancilleries data when reloading booking confirmation


Approved-by: Arvid Norlin
Approved-by: Christian Andolf
2025-05-05 12:40:47 +00:00
Arvid Norlin
2f7a3e624b fix: remove placeholder example texts 2025-05-05 12:37:03 +00:00
Matilda Landström
5c6f468bd6 Merged in fix/SW-2440-breakfast-tracking (pull request #1947)
Fix/SW-2440 breakfast tracking

* fix(SW-2440): fix confirmation ancillaries tracking

* fix(SW-2440): add breakfast ancillary when preselected


Approved-by: Bianca Widstam
2025-05-05 12:27:25 +00:00
Michael Zetterberg
b910b6a313 feat(SW-2116): Use refId instead of confirmationNumber 2025-05-05 12:26:37 +00: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
Joakim Jäderberg
5784822a1e Merged in feature/SW-2320-languagebased-hide-for-next-release (pull request #1937)
Language based alternative to HIDE_FOR_NEXT_RELEASE

Approved-by: Anton Gunnarsson
2025-05-05 10:53:28 +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
Matilda Landström
dc201bf8ed Merged in fix/SW-2598-gym (pull request #1942)
fix(SW-2598): gym opening hours

* fix(SW-2598): gym opening hours


Approved-by: Erik Tiekstra
2025-05-05 09:53:02 +00:00
Christian Andolf
5da16ed10a chore: remove useless color attributes on html elements 2025-05-05 11:40:10 +02:00
Hrishikesh Vaipurkar
d2bbc59f47 Merged in fix/SW-2602-select-hotel-page-booking-code (pull request #1941)
Fix/SW-2602 select hotel page booking code filtering

* fix: SW-2602 Fixed booking code filtering

* fix: SW-2602 Fixed lint issues


Approved-by: Niclas Edenvin
2025-05-05 09:17:44 +00:00
Christian Andolf
d6b70edfa3 chore: replace old border-radius variables with new tokens 2025-05-05 11:11:37 +02:00
Anton Gunnarsson
aa43d7d059 Merged in fix/sw-2563-pass-lang-to-sas-auth (pull request #1938)
Set ui_locales on SAS auth link

* Set ui_locales on SAS auth link


Approved-by: Joakim Jäderberg
2025-05-05 09:00:05 +00:00
Tobias Johansson
88a1333ed1 Merged in fix/SW-2601-incorrect-availability-alert (pull request #1940)
fix: update condition when to display NoAvailabilityAlert when using booking code

* fix: update condition when to display NoAvailabilityAlert when using booking code


Approved-by: Michael Zetterberg
Approved-by: Arvid Norlin
2025-05-05 08:44:47 +00: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
Bianca Widstam
c39baabb03 Merged in fix/SW-2573-children-count-booking-confirmation (pull request #1939)
fix(SW-2573): add children count to summary

* fix(SW-2573): add children count to summary


Approved-by: Michael Zetterberg
2025-05-05 08:13:52 +00:00
Niclas Edenvin
4191441f32 Merged in fix/submit-booking-disabled (pull request #1936)
Don't disable payment based on room forms

* Don't disable payment based on room forms


Approved-by: Arvid Norlin
Approved-by: Tobias Johansson
2025-05-05 07:55:25 +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
Simon Emanuelsson
91933f47cf feat: comment updates 2025-05-03 22:43:09 +02:00
Tobias Johansson
f56a1ece0f feat(SW-1255): Added loading state to submit button in enter details 2025-05-03 22:18:50 +02:00
Tobias Johansson
80ccdc0e44 fix: benefits banner broke layout on mobile 2025-05-03 22:01:10 +02:00
Arvid Norlin
79a009fd4b feat: add final url lists 2025-05-03 20:00:14 +00:00
Matilda Landström
1d648817b1 fix: add (available in some rooms) 2025-05-03 19:56:19 +00:00
Simon Emanuelsson
db289b80b1 feat: refactor NewDates, clean up legacy code
This reverts commit 0c7836fa59.
2025-05-03 21:45:45 +02:00
Niclas Edenvin
c6a0b4ee30 Merged in fix/terms-and-conditions-link (pull request #1933)
Don't check checkbox when clicking link inside the label

* Don't check checkbox when clicking link inside the label
2025-05-03 14:51:06 +00:00
Matilda Landström
cd01b34606 fix: update copy 2025-05-03 09:59:55 +00:00
Matilda Landström
e70273f257 fix: update copy 2025-05-03 09:59:54 +00:00
Matilda Landström
e059c5d30d fix: update copy 2025-05-03 09:59:54 +00:00
Matilda Landström
19407d1b09 fix: update copy 2025-05-03 09:59:54 +00:00
Matilda Landström
2a333334ac fix: update copy 2025-05-03 09:59:54 +00:00
Hrishikesh Vaipurkar
e8b17deb52 Merged in fix/SW-2579-aa-tracking-2-times-bed-sel- (pull request #1932)
Fix: SW-2579 Fixed bed selection triggering twice

* Fix: SW-2579 Fixed bed selection triggering twice


Approved-by: Tobias Johansson
2025-05-03 09:21:45 +00:00
Tobias Johansson
ffb29ddaad Merged in fix/tracking-issue-pageview (pull request #1931)
fix: tracking issues

* fix: tracking issues


Approved-by: Hrishikesh Vaipurkar
2025-05-03 09:21:14 +00:00
Tobias Johansson
71f1e9fe2c Merged in fix/tracking-fixes (pull request #1930)
Fix/tracking fixes

* fix: remove hotelInfo and paymentInfo when user reloads page on confirmation page

* fix: clean session storage item on unmount

* fix: commented out hard navigation hook

* fix: update price calculation on room ancillary in tracking

* fix: update discount calculation

* fix: add space between fns

* fix: allow useSoftNavigation to fire pageview again on same pathname

* fix: prevent bedSelection and breakfastSelection from tracking twice


Approved-by: Hrishikesh Vaipurkar
2025-05-03 07:27:54 +00:00
Arvid Norlin
0c7836fa59 Merged in fix/SW-2553-sidepeeks (pull request #1919)
Fix/SW-2553 sidepeeks

* fix(SW-2553): apply sidepeek display logic

* chore: move convertToChildType and getPriceType utils

* fix: apply PR requested changes

* fix(SW-2553): fix roomNumber for multiroom

* fix(SW-2553): fix sidepeek for my-stay page


Approved-by: Michael Zetterberg
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-05-02 15:10:34 +00:00
Matilda Landström
f5f9aba2e5 Merged in fix/unique-sellingpoint (pull request #1929)
fix: remove check on uniqueSellingPoint

* fix: remove check on uniqueSellingPoint


Approved-by: Bianca Widstam
2025-05-02 14:30:05 +00:00
Hrishikesh Vaipurkar
53b630b6d8 Merged in feat/SW-2308-family-friends-booking-rest (pull request #1916)
feat: SW-2308 FnF code restriction added

* feat: SW-2308 FnF code restriction added

* feat: 2308 Optimized code


Approved-by: Niclas Edenvin
2025-05-02 14:22:05 +00:00
Niclas Edenvin
fb44990777 Merged in fix/SW-2501-validation-trigger (pull request #1924)
fix(SW-2501): validation trigger

* fix(SW-2501): validation trigger

On enter details, when submitting we want to trigger the validation for
the details forms for each room. This will display error messages for
the form fields with errors if they are not already displayed, so the
user knows which fields has errors.


Approved-by: Tobias Johansson
2025-05-02 13:59:23 +00:00
Linus Flood
d49ecdae1f Merged in feat/sw-2323-find-booking3 (pull request #1928)
Feat/sw-2323 New Find booking endpoint

* wip

* wip


Approved-by: Anton Gunnarsson
2025-05-02 13:21:00 +00:00