Commit Graph

5801 Commits

Author SHA1 Message Date
Matilda Landström
fc857ad58f Merged in SW-2064-lightbox-updates (pull request #3347)
feat(SW-2064): Lightbox updates

* chore(SW-2064): add opacity to not selected images

* chore(SW-2064): set main image as the first image in thumbnail

* chore(SW-2064): disable navigation buttons on first and last image

* fix(SW-2064): use cx

* Revert "chore(SW-2064): disable navigation buttons on first and last image"

This reverts commit 9c5acd8a02b83740f35d1cfa88bfba6b006ba947.

* refactor(SW-2064): create ImageCounter component

* refactor(SW-2064)

* chore(SW-2064): add enter keu down on main image


Approved-by: Erik Tiekstra
2026-01-08 12:10:03 +00:00
Bianca Widstam
86f9fb13b6 Merged in fix/BOOK-704-tracking-campaign (pull request #3400)
fix(BOOK-704): add tag name to campaign banner tracking

* fix(BOOK-704): add tag name to campaign banner tracking

* fix(BOOK-704): handleclose tag name


Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2026-01-08 11:18:13 +00:00
Matilda Landström
ffee9757d2 Merged in fix/BOOK-317-campaign-ui-fixes (pull request #3397)
fix(BOOK-317): small campaign ui fixes

* fix(BOOK-317): campaign ui fixes


Approved-by: Erik Tiekstra
2026-01-08 08:55:49 +00:00
Rasmus Langvad
4980cc830d Merged in feat/3685-new-textarea-component (pull request #3392)
feat(SW-3685): Add new TextArea and FormTextArea components

* Add new TextArea and FormTextArea components

* Update example form with description

* Merge branch 'master' into feat/3685-new-textarea-component

* Formatting new files with new prettier config

* Added custom controls for the text area story


Approved-by: Linus Flood
2026-01-07 17:04:30 +00:00
Rasmus Langvad
d0546926a9 Merged in fix/3697-prettier-configs (pull request #3396)
fix(SW-3691): Setup one prettier config for whole repo

* Setup prettierrc in root and remove other configs


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2026-01-07 12:45:50 +00:00
Bianca Widstam
932413412b Merged in fix/BOOK-700-skeleton-misaligned-select-hotel (pull request #3391)
fix(BOOK-700): skeleton styling disoriented on select hotel

* fix(BOOK-700): skeleton styling disoriented on select hotel


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2026-01-07 11:20:51 +00:00
Chuma Mcphoy (We Ahead)
5848f486f3 Merged in chore/LOY-511-Rewards-Documentation (pull request #3367)
Chore/LOY-511): Add documentation for rewards & redeem flow

* chore(LOY-511): Add documentation for the rewards system

* chore(LOY-511): move doc

* chore(LOY-511): remove old doc

* Removed AI documentation

* Remove ToC


Approved-by: Matilda Landström
2026-01-07 11:01:43 +00:00
Linus Flood
022fb729f7 Merged in feat/cleanup-env-variables (pull request #3394)
feat(env.variables): cleanup unused

* feat(env.variables): cleanup unused


Approved-by: Joakim Jäderberg
2026-01-07 10:54:04 +00:00
Joakim Jäderberg
1ba94ff70a Merged in chore/fix-semver (pull request #3393)
Chore/fix semver

* fix semver versioning

* fix semver versioning

* Merge branch 'chore/fix-semver' of bitbucket.org:scandic-swap/web into chore/fix-semver

* Merge branch 'master' of bitbucket.org:scandic-swap/web into chore/fix-semver

* reset to master


Approved-by: Linus Flood
2026-01-07 10:49:14 +00:00
Rasmus Langvad
ffef566316 Merged in feat/new-passwordinput-component (pull request #3376)
feat(SW-3672): Update PasswordInput component

* Update PasswordInput component

* Removed some tests not working as expected

* Remove IconButton from PasswordInput

* Remove IconButton from Input

* Merge branch 'master' into feat/new-passwordinput-component


Approved-by: Linus Flood
2026-01-07 09:10:22 +00:00
Linus Flood
8c03a8b560 Merged in fix/deploy-script (pull request #3389)
chore(deploy): fixed trim in deploy script

* chore(deploy): fixed trim in deploy script


Approved-by: Joakim Jäderberg
2026-01-07 07:52:46 +00:00
Joakim Jäderberg
ae06b845da Merged in chore/remove-eslint-from-config (pull request #3388)
remove deprecated 'eslint' from next.config.ts

* remove deprecated 'eslint' from next.config.ts


Approved-by: Linus Flood
2026-01-07 07:26:30 +00:00
Joakim Jäderberg
028c77c923 Merged in chore/check-types-before-build (pull request #3326)
chore: check types before build

* chore: check types before build

* remove unused package.json scripts

* merge


Approved-by: Linus Flood
2026-01-07 07:06:36 +00:00
Linus Flood
3d62c16899 Merged in feat/lokalise-sync-260105 (pull request #3387)
feat(lokalise): fixed correct message and sync

* feat(lokalise): fixed correct message and sync
2026-01-05 11:33:08 +00:00
Matilda Landström
d23137a69d Merged in fix(BOOK-659)-multiroom-name-check (pull request #3385)
fix(BOOK-659): use unique ids for multiroom booking input fields

* fix(BOOK-659): use unique ids for multiroom booking input fields


Approved-by: Bianca Widstam
Approved-by: Linus Flood
2026-01-05 11:20:20 +00:00
Bianca Widstam
dc18589afe Merged in fix/isostring-error (pull request #3386)
fix: isostring

* fix: isostring


Approved-by: Joakim Jäderberg
2026-01-05 09:21:30 +00:00
Matilda Landström
d91b940bf0 Merged in fix/LOY-512-modal-close-button (pull request #3382)
fix(LOY-512): override button styling

* fix(LOY-512): override button styling


Approved-by: Matilda Haneling
2026-01-05 08:10:55 +00:00
Matilda Landström
15626d49af Merged in fix(BOOK-659)-multiroom-name-check (pull request #3384)
fix(BOOK-659): trim names for multiroom booking

* fix(BOOK-659): trim names for multiroom booking


Approved-by: Matilda Haneling
2025-12-30 10:02:36 +00:00
Matilda Landström
d2ffb32f84 Merged in feat/LOY-515-signup-tracking (pull request #3379)
feat/LOY-515-add-key-signup-tracking

* feat/LOY-515-add-key-signup-tracking


Approved-by: Matilda Haneling
2025-12-30 10:00:59 +00:00
Matilda Landström
7ca366de57 Merged in feat/ancillaries-ui-fixes (pull request #3383)
feat: update ancillaries flow ui

* feat: update ancillaries flow ui


Approved-by: Matilda Haneling
2025-12-30 09:55:46 +00:00
Matilda Haneling
86331a6e10 Merged in fix/book-607-fix-old-links-my-stay (pull request #3365)
fix: updated to use new link structure on My Stay

* fix: updated to use new link structure on My Stay

* fix(BOOK-607): hide hotel page link if link prop is missing

* comment fixes

* fix(BOOK-607): read href from window (lcalhost not allowed)


Approved-by: Matilda Landström
2025-12-30 08:33:52 +00:00
Matilda Landström
03b1695c9e Merged in fix/LOY-512-modal-close-button (pull request #3381)
fix(LOY-512): change button to iconbutton

* fix(LOY-512): change button to iconbutton


Approved-by: Matilda Haneling
2025-12-29 10:18:59 +00:00
Matilda Landström
54d9534d62 Merged in feat/BOOK-691-children-label (pull request #3380)
feat/BOOK-691-update-children-label

* feat/BOOK-691-update-children-label


Approved-by: Matilda Haneling
2025-12-29 09:01:40 +00:00
Matilda Landström
a061808b2a Merged in fix/BOOK-343-disable-clear-preferences (pull request #3369)
fix(BOOK-343): disable clear if no active preferences

* fix(BOOK-343): disable clear if no active preferences


Approved-by: Bianca Widstam
2025-12-23 09:04:35 +00:00
Bianca Widstam
57d0e1b27b Merged in fix/BOOK-662-handle-overlapping-dates-timezone (pull request #3319)
Fix/BOOK-662 handle overlapping dates timezone

* fix(BOOK-662): handle overlapping dates alerts

* fix(BOOK-662): handle overlapping dates alerts

* fix(BOOK-662): add test same dates


Approved-by: Anton Gunnarsson
2025-12-19 14:03:30 +00:00
Chuma Mcphoy (We Ahead)
3ac8956926 Merged in fix/LOY-511-handle-undefined-case (pull request #3377)
fix(LOY-511): handle undefined case

* fix(LOY-511): handle undefined case

* chore(LOY-511): add comment


Approved-by: Christel Westerberg
2025-12-19 13:28:03 +00:00
Erik Tiekstra
c21aa2dc73 Merged in fix/BOOK-257-video-player (pull request #3373)
Fix/BOOK-257 video player

* fix(BOOK-257): Fixes to VideoPlayerButton and added stories

* fix(BOOK-257): Hiding mute button when the user has interacted with it

* fix(BOOK-257): Added support for poster image

* fix(BOOK-257): add crossOrigin attr to videoplayer

* fix(BOOK-257): comment


Approved-by: Anton Gunnarsson
2025-12-19 12:41:00 +00:00
Erik Tiekstra
3f632e6031 Merged in fix/BOOK-293-button-variants (pull request #3371)
fix(BOOK-293): changed variants and props on IconButton component

* fix(BOOK-293): changed variants and props on IconButton component

* fix(BOOK-293): inherit color for icon


Approved-by: Bianca Widstam
Approved-by: Christel Westerberg
2025-12-19 12:32:52 +00:00
Matilda Landström
2197ab2137 Merged in feat/BOOK-334-booking-widget-ui (pull request #3366)
fix/BOOK-334-booking-widget-tablet-fix

* fix/BOOK-334-booking-widget-tablet-fix


Approved-by: Anton Gunnarsson
2025-12-19 11:41:04 +00:00
Matilda Haneling
dba0c48df6 Merged in fix/book-679-sidepeeks-heading-overlap (pull request #3375)
fix(BOOK-679): updated z-index for sidepeeks CTA buttons

* fix(BOOK-679): updated z-index for sidepeeks CTA buttons

* fixed unavailable buttons


Approved-by: Anton Gunnarsson
2025-12-19 11:39:46 +00:00
Bianca Widstam
96b4e5a254 Merged in fix/BOOK-584-strikethrough-regulare-price (pull request #3374)
fix(BOOK-584): multiple nights did not show strikethrough price, wrong calculation for regular price per stay

* fix(BOOK-548): multiple nights did not show strikethrough price, wrong calculation for regular price per stay

* fix(BOOK-584): fix test, regularPrice first compare with pricePerStay


Approved-by: Anton Gunnarsson
2025-12-19 08:19:19 +00:00
Rasmus Langvad
b9a62b5280 Merged in feat/use-new-input-component (pull request #3324)
feat(SW-3659): Use new input component

* Use new input component

* Update error formatter

* Merged master into feat/use-new-input-component

* Merged master into feat/use-new-input-component

* Merge branch 'master' into feat/use-new-input-component

* Merged master into feat/use-new-input-component

* Update Input stories

* Merge branch 'feat/use-new-input-component' of bitbucket.org:scandic-swap/web into feat/use-new-input-component

* Update Storybook logo

* Add some new demo icon input story

* Fix the clear content button position

* Fix broken password input icon

* Merged master into feat/use-new-input-component

* Merged master into feat/use-new-input-component

* Add aria-hidden to required asterisk

* Merge branch 'feat/use-new-input-component' of bitbucket.org:scandic-swap/web into feat/use-new-input-component

* Merge branch 'master' into feat/use-new-input-component


Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-12-18 15:42:09 +00:00
Linus Flood
40e1efa81f Merged in feat/SW-3688-nerbyhotels (pull request #3372)
feat(SW-3688): remove nearbyHotels prop/fetch from hotelscheme

* feat(SW-3688): remove nearbyHotels prop/fetch from hotelscheme

* Cleanup


Approved-by: Joakim Jäderberg
2025-12-18 13:43:56 +00:00
Christel Westerberg
6b08d5a113 Merged in fix/STAY-135 (pull request #3368)
Fix/STAY-135 & STAY-127

* fix: make quantity and delivery separate steps in mobile

* fix: update design for delivery step in ancillary flow

* fix: add error state for missing time

* fix: only allow points or cash payment for ancillaries

* fix: break out stepper to design system

* fix: update design of select quantity step in add ancillaries flow

* fix: add error states for quantity

* fix: handle insufficient points case

* fix: update stepper to include optional disabledMessage tooltip

* fix: handle validations

* fix: change name to camel case


Approved-by: Bianca Widstam
Approved-by: Chuma Mcphoy (We Ahead)
2025-12-18 13:31:43 +00:00
Bianca Widstam
2c8b920dd8 Merged in fix/BOOK-673-unpublish-page (pull request #3370)
fix(BOOK-673): clear language when unpublishing a page

* fix(BOOK-673): clear language when unpublishing a page


Approved-by: Linus Flood
2025-12-18 08:54:06 +00:00
Matilda Landström
5272bbc023 Merged in fix/Sj-widget-error (pull request #3332)
refactor loading of SJ widget to avoid undefined window

* refactor loading of widget to avoid undefined window


Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
Approved-by: Joakim Jäderberg
Approved-by: Anton Gunnarsson
2025-12-17 13:35:02 +00:00
Bianca Widstam
42197b5ad2 Merged in fix/BOOK-429-image-meeting-card (pull request #3364)
fix(BOOK-429): adjust image layout for meeting room cards

* fix(BOOK-429): adjust image layout for meeting room cards


Approved-by: Matilda Haneling
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-12-17 13:05:49 +00:00
Anton Gunnarsson
6ee262ad89 Merged in chore/booking-flow-cleaning (pull request #3354)
chore: Clean booking-flow

* Clean booking-flow

* Fix type issue


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2025-12-17 13:04:26 +00:00
Anton Gunnarsson
eb3b18b35e Merged in chore/partner-sas-404-page (pull request #3339)
chore: Fix partner-sas 404 page

* Fix 404 page

* Fix 404 links

* Fix links


Approved-by: Matilda Landström
2025-12-17 13:03:33 +00:00
Joakim Jäderberg
79f1c516c0 Merged in fix/dont-send-expected-error-types-to-sentry (pull request #3358)
fix: don't send expected errors to Sentry

* fix: don't send expected errors to Sentry

* remove BAD_REQUEST from ignore-list for TRPC errors due to BAD_REQUEST being used improperly


Approved-by: Anton Gunnarsson
2025-12-17 12:46:07 +00:00
Chuma Mcphoy (We Ahead)
ac53f128af Merged in feat/LOY-423-Nights-Stayed-Progress-for-L6-Members (pull request #3360)
feat(LOY-423): Add progress bar for L6 members showing nights stayed

* feat(LOY-423): Add progress bar for L6 members showing nights stayed

* chore(LOY-423): shorten css selector


Approved-by: Matilda Landström
2025-12-17 10:45:30 +00:00
Matilda Landström
3dce2d310f Merged in refactor/SW-2826-align-urls (pull request #3359)
refactor(SW-2826): align urls

* refactor(SW-2826): align urls


Approved-by: Anton Gunnarsson
2025-12-17 09:33:08 +00:00
Joakim Jäderberg
2d09538db6 Merged in fix/redis-api-send-logs (pull request #3363)
fix(redis-api): logs were no longer sent to Sentry

* fix(redis-api): logs were no longer sent to Sentry

* revert @elysia/server-timing pin

* .


Approved-by: Linus Flood
2025-12-17 09:23:11 +00:00
Anton Gunnarsson
8a969f3908 Merged in fix/book-682-select-hotel-filter-jank (pull request #3362)
fix(BOOK-682): Select Hotel jank

* Remove ChildrenWrapper


Approved-by: Linus Flood
2025-12-17 09:14:06 +00:00
Matilda Landström
0a89ed6f4f Merged in fix/update-jobylon-cache-time (pull request #3361)
fix: change Jobylon cache from 1d to 1h

* fix: change Jobylon cache from 1d to 1h


Approved-by: Linus Flood
2025-12-17 09:12:45 +00:00
Linus Flood
5c8e205c03 Merged in feat/book-606-logout-redirect (pull request #3353)
feat(BOOK-606): redirect to /lang when signing out instead of /en

* feat(BOOK-606): redirect to /lang when signing out instead of /en


Approved-by: Joakim Jäderberg
Approved-by: Matilda Landström
2025-12-17 08:04:01 +00:00
Matilda Haneling
b8bc94acb3 Merged in fix/book-607-page-not-found-confirmation-page (pull request #3345)
* fix(BOOK-607): updated to read from base URL env and contentstack slug instead

* made url optional on interface

* added url to findBooking query

* added the correct (new) link in the confirmation header, add to calendar


Approved-by: Erik Tiekstra
2025-12-17 07:53:04 +00:00
Erik Tiekstra
c796f5bb81 fix(BOOK-637): Using useLayoutEffect to avoid issues with refs with null values
Approved-by: Matilda Landström
2025-12-17 07:10:06 +00:00
Erik Tiekstra
d8c19c8917 fix: Added fullWidth property on button components to set them as full width
Approved-by: Matilda Landström
2025-12-16 14:37:10 +00:00
Bianca Widstam
1dce74c95f Merged in feat/BOOK-591-jotform (pull request #3350)
Feat/BOOK-591 jotform

* feat(BOOK-591): create jotform

* feat(BOOK-591): jotform

* feat(BOOK-591): jotform

* fix(BOOK-591): add embedhandler

* feat(BOOK-591): refactor jotform

* feat(BOOK-591): remove inline styles

* feat(BOOK-591): remove typename

* feat(BOOK-591): add jotformembedhandler


Approved-by: Erik Tiekstra
2025-12-16 14:35:45 +00:00