Commit Graph

3999 Commits

Author SHA1 Message Date
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
Erik Tiekstra
8d34e1c8bb fix(SW-2101): Avoid underline on icons
Approved-by: Linus Flood
2025-04-07 10:38:00 +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
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
Joakim Jäderberg
3c810d67a2 Merged in feature/SW-1736-foating-booking-widget (pull request #1696)
Feature/SW-1736 floating booking widget

* feature: Add floating booking widget on start page SW-1736

* fix: Make sure we don't try to use IntersectionObserver on the server

* fix: make sure that we disconnect the intersectionobserver when dismounting

* fix: pass searchparams to floating bookingwidget


Approved-by: Michael Zetterberg
2025-04-04 06:52:37 +00:00
Bianca Widstam
7b1760ca17 Merged in fix/SW-2011-modify-contact-confirm-step-second-time (pull request #1730)
fix(SW-2011): restore step if successful submit

* fix(SW-2011): restore step if successful submit


Approved-by: Niclas Edenvin
2025-04-04 06:22:56 +00:00
Arvid Norlin
5621797690 Merged in fix/handling-brf0 (pull request #1728)
fix: disabling handling of BRF0 (Free breakfast for L6 and L7 members) since out of scope for the release

* fix: disabling handling of BRF0 (Free breakfast for L6 and L7 members) since out of scope for the release


Approved-by: Simon.Emanuelsson
2025-04-03 14:07:30 +00:00
Arvid Norlin
350748cbbb Merged in fix/hide-breakfastprice-for-breakfastincluded (pull request #1727)
fix: Hide the breakfast package unitprice for bookings with breakfastIncluded

* fix: Hide the breakfast package unitprice for bookings with breakfastIncluded


Approved-by: Niclas Edenvin
2025-04-03 12:52:46 +00:00
Niclas Edenvin
07ab3fc29e Merged in fix/sw-2125-scandic-go-breakfast (pull request #1726)
fix(sw-2125): breakfast validation was wrong on Scandic Go

Approved-by: Bianca Widstam
2025-04-03 12:51:15 +00:00
Bianca Widstam
9129e2f468 Merged in fix/SW-2072-ancillary-price-details-ui (pull request #1723)
fix(SW-2072): fix price details on ancillaries

* fix(SW-2072): fix price details on ancillaries


Approved-by: Niclas Edenvin
2025-04-03 12:18:49 +00:00
Arvid Norlin
540a3bb36f Merged in fix/SW-2135-rate-checkmark (pull request #1724)
fix(SW-2135): add missing checkmark for selected campaign and bookin code rates

* fix(SW-2135): add missing checkmark for selected campaign and bookin code rates


Approved-by: Simon.Emanuelsson
2025-04-03 11:56:18 +00:00
Bianca Widstam
128c1e3462 Merged in fix/display-added-ancillaries-only-if-nonmodifiable (pull request #1718)
fix: fix logic for showing ancillaries and add/remove ancillaries

* fix: fix logic for showing ancillaries and add/remove ancillaries

* fix: move canModifyAncillary check


Approved-by: Niclas Edenvin
2025-04-03 11:15:49 +00:00
Arvid Norlin
2272bb4403 Merged in fix/SW-2136 (pull request #1720)
fix(SW-2136): correct booking confirmation breakfast logic

* fix(SW-2136): correct booking confirmation breakfast logic


Approved-by: Simon.Emanuelsson
2025-04-03 10:15:19 +00:00
Erik Tiekstra
8c2047e847 feat(SW-1884): Always render sidepeek contents, not just during SSR
Approved-by: Michael Zetterberg
2025-04-03 09:36:22 +00:00
Erik Tiekstra
b70d933c73 fix(SW-2122): Added correct credit card icon
Approved-by: Michael Zetterberg
2025-04-03 09:28:27 +00:00
Michael Zetterberg
7bf75fd2e7 fix: all env vars are strings, coerce to numbers 2025-04-03 09:18:44 +00:00
Simon Emanuelsson
8a7c55edff fix: apply logic for full prices filter 2025-04-03 08:56:42 +00:00
Bianca Widstam
3942ab1ff4 Merged in fix/ancillary-payed-with-points-name (pull request #1716)
fix: added ancillary with points show correct name

* fix: added ancillary with points show correct name


Approved-by: Niclas Edenvin
2025-04-03 08:11:06 +00:00
Simon Emanuelsson
6d869ceba7 fix: unbreak toApiLang call that failed everytime 2025-04-03 07:51:25 +00:00
Bianca Widstam
30c7eb07fa Merged in fix/SW-2137-points-enum (pull request #1715)
fix(SW-2137): fix points enum

* fix(SW-2137): fix points enum


Approved-by: Michael Zetterberg
2025-04-03 07:50:57 +00:00
Bianca Widstam
83aedd7dbb Merged in fix/SW-1491-SW-1500-link-in-hotel-card-to-map (pull request #1707)
fix(SW-1491-SW-1500): address on hotel card should go to map, remove link on maplisting view

* fix(SW-1491-SW-1500): address on hotel card should go to map, remove link on maplisting view

* fix(SW-1491-SW-1500): fix comment

* fix(SW-1491-SW-1500): add underscore


Approved-by: Niclas Edenvin
2025-04-03 06:56:23 +00:00
Erik Tiekstra
0215c8428f fix: Fixed issue with duplicate filter_identifiers inside tabFilters
Approved-by: Chuma Mcphoy (We Ahead)
2025-04-03 05:50:35 +00:00
Simon Emanuelsson
4e36fecd6e fix: initial fix of modify dates 2025-04-03 04:25:05 +00:00