Commit Graph

412 Commits

Author SHA1 Message Date
Joakim Jäderberg
eb46f08ef1 Merged in fix/sitemap-use-dt-over-dayjs-directly (pull request #1773)
fix: use dt() over dayjs when creating sitemap

* fix: use dt() over dayjs when creating sitemap


Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-04-10 07:42:16 +00:00
Bianca Widstam
77c03905e4 Merged in fix/hide-payment-if-only-points (pull request #1741)
Feat(SW-1943): add new design for pay ancillaries with points

* fix: hide card and payment info if only quantity with points is selected

* feat(SW-1943): add new design for pay ancillaries with points

* feat(SW-1943): add missing translation

* feat(SW-1943): fix rebase

* feat(SW-1943): remove console log


Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-04-10 06:18:02 +00:00
Christian Andolf
ee72f58c33 fix: consolidate media queries to be consistent with ranges 2025-04-09 16:30:12 +02:00
Bianca Widstam
e6aa177e6f Merged in fix/SW-2236-remove-modify-for-save (pull request #1771)
fix(SW-2236): show modify by only if changable

* fix(SW-2236): show modify by only if changable


Approved-by: Niclas Edenvin
2025-04-09 14:09:23 +00:00
Matilda Landström
6bbe80526e Merged in feat/SW-2238-icons (pull request #1767)
Feat/SW-2238: Fix swapped icons, add missing translation

* fix(SW-2238): switch swapped icons

* fix: add missing translation


Approved-by: Christian Andolf
2025-04-09 12:58:48 +00:00
Anton Gunnarsson
32ac7c8a3d Merged in fix/sw-2174-enter-click-should-select-radiocard (pull request #1768)
SW-2174 Handle Enter press on RadioCard label

* Handle Enter click on RadioCard label


Approved-by: Linus Flood
2025-04-09 12:13:18 +00:00
Joakim Jäderberg
da07e8a458 Merged in feature/autocomplete-search (pull request #1725)
Feature/autocomplete search

* wip autocomplete search

* add skeletons to loading

* Using aumlauts/accents when searching will still give results
remove unused reducer
sort autocomplete results

* remove testcode

* Add tests for autocomplete

* cleanup tests

* use node@20

* use node 22

* use node22

* merge
fix: search button outside of viewport

* merge

* remove more unused code

* fix: error message when empty search field in booking widget

* fix: don't display empty white box when search field is empty and no searchHistory is present

* merge

* fix: set height of shimmer for search skeleton

* rename autocomplete trpc -> destinationsAutocomplete

* more accute cache key naming

* fix: able to control wether bookingwidget is visible on startPage
fix: sticky booking widget under alert

* remove unused code

* fix: skeletons
fix: error overlay on search startpage

* remove extra .nvmrc

* merge


Approved-by: Linus Flood
2025-04-09 10:43:08 +00:00
Chuma Mcphoy (We Ahead)
7e6abe1f03 Merged in fix/SW-2166-fix-filtercheckbox-focus-state (pull request #1765)
fix(SW-2166): enhance FilterCheckbox accessibility

* fix(SW-2166): enhance FilterCheckbox accessibility

- Added cursor pointer to the checkbox container.
- Introduced focus outline for when the checkbox is focused.
- Wrapped checkbox name in Typography component.


Approved-by: Christian Andolf
2025-04-09 09:52:56 +00:00
Michael Zetterberg
d8133fcfb8 fix: clean up svgs 2025-04-09 08:06:14 +00:00
Michael Zetterberg
36f1406deb fix: update Material Symbols 2025-04-09 08:06:14 +00:00
Anton Gunnarsson
8dee7b0243 Merged in feat/sw-2260-update-sas-toc-links (pull request #1763)
Update terms and conditions link for sas

* Update terms and conditions link for sas


Approved-by: Joakim Jäderberg
2025-04-09 07:50:58 +00:00
Matilda Landström
77f9a01995 Merged in fix/SW-2256-sidepeek-slug (pull request #1762)
fix(SW-2256): change slugs

* fix(SW-2256): change slugs


Approved-by: Erik Tiekstra
2025-04-09 07:05:24 +00:00
Bianca Widstam
c41dea4118 Merged in feat/SW-1414-guarantee-enter-details-tracking (pull request #1744)
Feat/SW-1414 guarantee enter details tracking

* feat(SW-1414): add tracking for gla enter details

* feat(SW-1414): add tracking for gla

* feat(SW-1414): add tracking for gla in enter details

* feat(SW-1414): fix pr comments

* feat(SW-1414): fix pr comment client only

* feat(SW-1414): fix pr comments

* feat(SW-1414): add tracking on load


Approved-by: Christian Andolf
2025-04-09 06:26:19 +00:00
Erik Tiekstra
701a80b7c1 feat(SW-2240): Added robots no-index and no-follow metadata to hotelreservation pages
Approved-by: Michael Zetterberg
2025-04-09 05:31:02 +00:00
Erik Tiekstra
7ec86e7301 feat(SW-2151): Removed payment information from booking confirmation
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-04-08 13:31:44 +00:00
Erik Tiekstra
3f510e9aae fix: properties inside hotel_navigation could be null or undefined
Approved-by: Michael Zetterberg
2025-04-08 12:33:06 +00:00
Chuma Mcphoy (We Ahead)
c069b7cd9d Merged in fix/SW-2222-next-stay-url-handling (pull request #1756)
fix(SW-2222): update next stay url to use PUBLIC_URL and adapt based on release flag

* fix(SW-2222): update next stay url to use PUBLIC_URL and adapt based on release flag

* refactor(SW-2222): change promoUrl variable to const


Approved-by: Michael Zetterberg
Approved-by: Christian Andolf
2025-04-08 12:03:04 +00:00
Linus Flood
fc0f0e30b1 Merged in fix/invalidate-uid (pull request #1755)
fix: revalidate with correct uid

* fix: revalidate with correct uid


Approved-by: Joakim Jäderberg
2025-04-08 11:07:02 +00:00
Anton Gunnarsson
5cb19dfccd Merged in feat/sw-1313-show-sas-points (pull request #1682)
SW-1313 - Add support for getting SAS EB points

Approved-by: Joakim Jäderberg
2025-04-08 11:03:38 +00:00
Linus Flood
d30cc7e2be Merged in fix/site-config-revalidate (pull request #1751)
fix: site-config - use correct cache keys and invalidate them

* fix: site-config - use correct cache keys and invalidate them


Approved-by: Joakim Jäderberg
2025-04-08 10:27:26 +00:00
Hrishikesh Vaipurkar
73cb423c95 Merged in feat/SW-2078-update-confirmation-page-vouchers (pull request #1731)
Feat/SW-2078 update confirmation page vouchers and Corp Cheques rate

* feat: SW-2078 Tablet bookingCode ref forward issue fix

(cherry picked from commit 16a6a00fd99b6b6220a98ad74de062d67d35e1c0)

* feat: SW-2078 Display Vouchers and Cheques prices on confirmation page

(cherry picked from commit a76494de497a7d5e7641cb0036bd7055acf875c1)

* feat: SW-2078 Rebase issue fix

* feat: SW-2079 Updated rate title in terms modal

* feat: SW-2078 Optimized code

* feat: SW-2078 Removed extra tags


Approved-by: Christian Andolf
2025-04-08 07:27:40 +00:00
Anton Gunnarsson
c56a0b8ce9 Merged in feat/sw-1975-get-profile-v2 (pull request #1651)
Use get Profile V2 endpoint

Approved-by: Linus Flood
2025-04-08 06:26:00 +00:00
Linus Flood
d282437a3d Merged in fix/reward-night-booking-widget (pull request #1752)
fix: bookingwidget - use new reward night booking always

* fix: bookingwidget - use new reward night booking always


Approved-by: Joakim Jäderberg
2025-04-08 05:58:45 +00:00
Michael Zetterberg
0cec02801c fix(SW-1446): do not close modal on clear history 2025-04-08 05:52:10 +00:00
Michael Zetterberg
17cfc2b04f fix(SW-1446): button accepts phrasing content 2025-04-08 05:52:10 +00:00
Michael Zetterberg
fd0d4ca174 fix(SW-1446): optionally render empty state 2025-04-08 05:52:10 +00:00
Michael Zetterberg
2953b3571d fix(SW-1446): handle empty history and performance better 2025-04-08 05:52:10 +00:00
Michael Zetterberg
b2ff5124ec fix(SW-1446): make clear history action work, reduces complexity and improves separation of concerns 2025-04-08 05:52:10 +00:00
Michael Zetterberg
4aeb5b071d fix(SW-1446): use existing functions for url data 2025-04-08 05:52:10 +00:00
Michael Zetterberg
9e84da45bc feat(SW-1446): add Jump to functionality to Destination Overview Page 2025-04-08 05:52:10 +00:00
Erik Tiekstra
85a90baa12 Merged in fix/SW-2118-breadcrumbs (pull request #1721)
fix(SW-2118): changed variants for breadcrumbs to handle different background-colors and widths

* fix(SW-2118): changed variants for breadcrumbs to handle different background-colors and widths


Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-04-07 14:02:39 +00:00
Chuma Mcphoy (We Ahead)
a9c6901752 Merged in fix/SW-2204-check-icon-centering (pull request #1746)
fix(SW-2204): Fix Checkmark Alignment in RadioCard Component

* fix(SW-2204): add wrapper to fix checkmark alignment

* chore(SW-2204): update RadioCard check icon class naming


Approved-by: Christian Andolf
2025-04-07 13:55:23 +00: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
Linus Flood
84becd1bb3 Merged in fix/membership-icon-color (pull request #1750)
fix: correct color on copy membership id icon

* fix: correct color on copy membership id icon


Approved-by: Christian Andolf
2025-04-07 13:09:36 +00:00
Chuma Mcphoy (We Ahead)
2de8295ca5 Merged in fix/SW-2204-selected-room-section-alignment (pull request #1748)
fix(SW-2204): Selected room alignment

* refactor(SW-2204): remove unused icon wrapper and related styles from SelectedRoom component


Approved-by: Christian Andolf
2025-04-07 12:32:56 +00:00
Christian Andolf
5e55b60807 fix: add new feature flag for surprises 2025-04-07 14:26:13 +02:00
Tobias Johansson
e6ae6ff650 Merged in feat/SW-2113-allow-feature-combinations (pull request #1719)
Feat/SW-2113 allow feature combinations

* feat(SW-2113): Refactor features data to be fetched on filter room filter change

* feat(SW-2113): added loading state

* fix: now clear room selection when applying filter and room doesnt exists. And added room features to mobile summary

* fix

* fix: add package to price details

* feat(SW-2113): added buttons to room filter

* fix: active room

* fix: remove console log

* fix: added form and close handler to room package filter

* fix: add restriction so you cannot select pet room with allergy room and vice versa

* fix: fixes from review feedback

* fix

* fix: hide modify button if on nextcoming rooms if no selection is made, and adjust filter logic in togglePackage

* fix: forgot to use roomFeatureCodes from input..

* fix: naming


Approved-by: Simon.Emanuelsson
2025-04-07 11:36:34 +00:00
Arvid Norlin
39059eb8b2 Merged in fix/SW-2121 (pull request #1747)
SW-2121: Fix issue where closing SidePeeks would trigger other click events

* fix: replace div with Button in BookingWidget to align press events

* fix: replace div with Button in ImageGallery to align press events


Approved-by: Michael Zetterberg
2025-04-07 10:28:51 +00:00
Michael Zetterberg
7c82a565ae feat: improve instantiation of intl 2025-04-07 10:25:37 +00:00
Michael Zetterberg
f31b374370 feat: optimize Material Symbols 2025-04-07 12:17:35 +02:00
Matilda Landström
1239f0c662 Merged in feat/SW-1711-SW-2077-icons (pull request #1709)
Fix(SW-1711)/(SW-2077): Export icons individually

* fix(SW-1711): export icons individually


Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-04-07 07:25:25 +00:00
Chuma Mcphoy (We Ahead)
02cae62e57 Merged in fix/SW-2138-include-hotel-content-in-destination-city-page (pull request #1733)
fix(SW-2138): include hotel content descriptions in hotel data retrieval

* fix(SW-2138): include hotel content descriptions in hotel data retrieval

* fix(SW-2136 ): simplify hotel description handling

* refactor(SW-2136): replace Body component with Typography for hotel descriptions in HotelListingItem


Approved-by: Christian Andolf
2025-04-04 12:18:06 +00:00
Joakim Jäderberg
275a2b48a6 Merged in feature/node22 (pull request #1734)
Upgrade to node@22

* Upgrade to node@22

* Upgrade to node@22

* update required node engine in scandic-web


Approved-by: Michael Zetterberg
Approved-by: Linus Flood
2025-04-04 09:58:44 +00:00
Hrishikesh Vaipurkar
ae1010bfce Merged in feat/SW-2079-update-booking-page-to-show-points- (pull request #1683)
feat: SW-2079 Show points in confirmation page

* feat: SW-2079 Show points in confirmation page

* feat: SW-2079 Optimized code

* feat: SW-2079 Updated Body to Typography

* feat: SW-2079 Multi-room total cost display

* feat: SW-2079 Add reward nights condition rate title

* feat: SW-2079 Removed extra checks

* feat: SW-2079 Optimmized formatPrice function

* feat: SW-2079 Typo fix


Approved-by: Christian Andolf
2025-04-04 09:39:55 +00:00
Bianca Widstam
e30b8a0be3 Merged in fix/SW-2150-modify-guest-redirect (pull request #1736)
fix(SW-2150): include refId query param to redirect

* fix(SW-2150): include refId query param to redirect


Approved-by: Niclas Edenvin
2025-04-04 08:57:37 +00:00
Simon Emanuelsson
2abd4c5c12 fix: display modify dates for already guaranteed changeable rates 2025-04-04 08:46:47 +00:00
Arvid Norlin
b8a976db22 Merged in fix/bookingwidget-children-array (pull request #1738)
fix: add default childrenInRoom [] to fix Booking Widget

* fix: add default childrenInRoom [] to fix Booking Widget


Approved-by: Simon.Emanuelsson
2025-04-04 08:32:59 +00:00
Chuma Mcphoy (We Ahead)
780ed6c525 Merged in fix/Scandic-friends-logo (pull request #1722)
fix: Fix SVG placement of DoubleRow and SingleRow ScandicFriends icons

* fix: Fix SVG placement of DoubleRow and SingleRow ScandicFriends components


Approved-by: Christian Andolf
2025-04-04 07:37:01 +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