Commit Graph

1907 Commits

Author SHA1 Message Date
Erik Tiekstra
d0bc732d8a feat(BOOK-734): Added same layout for hero image and hero video on collection pages
Approved-by: Matilda Landström
2026-01-14 12:34:51 +00:00
Erik Tiekstra
821405b284 fix(BOOK-742): Readded scroll-margin on facilities and activities on hotel pages
Approved-by: Bianca Widstam
2026-01-14 12:34:30 +00:00
Bianca Widstam
a8d5a7c9e5 Merged in fix/jotform-url-update (pull request #3436)
fix(jotform): update Jotform URLs to new forms endpoint

* fix(jotform): update Jotform URLs to new forms endpoint


Approved-by: Erik Tiekstra
2026-01-14 11:55:04 +00:00
Bianca Widstam
d9ec1b1f2d Merged in chore/BOOK-739-replace-caption (pull request #3428)
chore(BOOK-739): replace caption with typography

* chore(BOOK-739): replace caption with typography

* chore(BOOK-739): refactor div

* chore(BOOK-739): refactor badge

* chore(BOOK-739): remove span

* chore(BOOK-739): skeleton update

* chore(BOOK-739): update

* chore(BOOK-739): update reward

* chore(BOOK-739): update voucher currency


Approved-by: Erik Tiekstra
2026-01-14 09:33:27 +00:00
Joakim Jäderberg
d284e82828 Merged in chore/fix-tests (pull request #3430)
Chore/fix tests

* chore: Upgrade nextjs@16.1.1

* chore: upgrade next@16.1.1

* upgrade underlying types

* merge

* Fix broken tests

* bump @swc/plugin-formatjs to latest version

* bump sentry

* transpile "import-in-the-middle" & "require-in-the-middle"

* revert next@16.1.1 upgrade

* revert transpilation addition

* .
2026-01-13 13:48:06 +00:00
Matilda Landström
6a803e2d81 Merged in fix(LOY-423)-hide-progress-bar (pull request #3421)
fix(LOY-423): hide progress bar behind feature flag

* fix(LOY-423): hide progress bar behind feature flag


Approved-by: Linus Flood
2026-01-13 09:00:01 +00:00
Joakim Jäderberg
d9a6038b89 Merged in chore/move-env-watermark (pull request #3425)
chore: move EnvironmentWatermark

* chore: move EnvironmentWatermark


Approved-by: Linus Flood
2026-01-13 08:03:05 +00:00
Erik Tiekstra
632a84c042 feat(BOOK-735): Removed video block from start page and collection page
Approved-by: Bianca Widstam
2026-01-13 07:22:53 +00:00
Joakim Jäderberg
8befbf405a Merged in chore/icons-to-components (pull request #3420)
Convert all material symbols to react components

* convert all material symbols to react components

* remove svgr


Approved-by: Linus Flood
2026-01-12 14:55:08 +00:00
Erik Tiekstra
0c6a4cf186 feat(BOOK-463): Fetching hotel filters from CMS and using these inside the destination pages and select hotel page
* feat(BOOK-463): Fetching hotel filters from CMS and using these inside the destination pages

* fix(BOOK-698): fetch hotel filters from CMS on select hotel page

Approved-by: Bianca Widstam
2026-01-12 12:02:25 +00:00
Matilda Haneling
b2ca2c2612 Merged in fix/book-692-change-city-page-bg-color (pull request #3390)
fix(BOOK-692): changed background color on text section on destination city page

* fix(BOOK-692): changed background color on text section on destination city page

* removed duplicate padding-top

* fix(BOOK-692): fixed mobile padding

* removed margin

* fix(BOOK-692): added to destination country page and added conditional check


Approved-by: Erik Tiekstra
2026-01-12 11:44:48 +00:00
Matilda Landström
f5875bffa7 Merged in fix/SA-1180-my-stay-crashing (pull request #3419)
fix(SA-1180): update url for manage booking

* fix(SA-1180): update url for manage booking


Approved-by: Matilda Haneling
Approved-by: Linus Flood
2026-01-12 10:14:07 +00:00
Joakim Jäderberg
488a396cfa Merged in feature/SW-3616-partner-points-my-stay (pull request #3407)
Feature/SW-3616 partner points my stay

* feat(SW-3616): display partner points in my stays

* null check roomPointType

* Lowercase POINTS in my stay

* include other than Scandic points when displaying price details modal


Approved-by: Anton Gunnarsson
2026-01-12 09:24:04 +00:00
Joakim Jäderberg
99537b13e8 Merged in chore/add-error-details-for-sentry (pull request #3378)
Include more details when throwing errors for debugging in Sentry

* WIP throw errors with more details for debugging in Sentry

* Fix throwing response-data

* Clearer message when a response fails

* Add message to errors

* better typings

* .

* Try to send profileID and membershipNumber to Sentry when we fail to parse the apiResponse

* rename notFound -> notFoundError

* Merge branch 'master' of bitbucket.org:scandic-swap/web into chore/add-error-details-for-sentry


Approved-by: Linus Flood
2026-01-12 09:01:44 +00:00
Bianca Widstam
575763aaa2 Merged in fix/BOOK-718-error-message-email (pull request #3416)
fix(BOOK-718): add error message to email modify contact

* fix(BOOK-718): add error message to email modify contact


Approved-by: Erik Tiekstra
2026-01-12 08:46:13 +00:00
Matilda Landström
f7ee540912 Merged in fix(STAY-151)-ancillary-limit (pull request #3412)
fix(STAY-151)-limit-ancillary-quantity

* fix(STAY-151)-limit-ancillary-quantity


Approved-by: Emma Zettervall
Approved-by: Linus Flood
2026-01-12 08:31:38 +00:00
Bianca Widstam
68c1b3dc50 Merged in chore/BOOK-708-replace-title-component (pull request #3414)
Chore/BOOK-708 replace title component

* chore(BOOK-708): replace title with typography

* chore(BOOK-708): replace title with typography

* chore(BOOK-708): remove Title from package.json


Approved-by: Linus Flood
Approved-by: Anton Gunnarsson
2026-01-12 07:54:59 +00:00
Bianca Widstam
1b9273136a Merged in chore/BOOK-701-replace-subtitle-component (pull request #3398)
chore(BOOK-701): replace subtitle with typography

* chore(BOOK-701): replace subtitle with typography

* chore(BOOK-701): align center

* chore(BOOK-701): change token

* chore(BOOK-701): change text color

* fix(BOOK-704): revert pricechange dialog changes

* chore(BOOK-701): remove subtitle from package.json


Approved-by: Matilda Landström
2026-01-12 07:40:30 +00:00
Matilda Haneling
a88b022186 Merged in fix/book-709-hotel-hero-background-color (pull request #3409)
fix(BOOK-709): update the background color of the hotel hero section according to Figma

* fix(BOOK-709): update the background color of the hotel hero section according to Figma

* fix(BOOK-709): updating gradient-color


Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2026-01-09 13:56:38 +00:00
Matilda Landström
d11b50414d Merged in feat-StaticChip-component (pull request #3401)
feat: create new StaticChip component

* feat: create new StaticChip componeny

* refactor: remove deprecated Chip

* fix: update type

* refactor: remove div


Approved-by: Erik Tiekstra
2026-01-09 13:55:52 +00:00
Linus Flood
cd59102ef4 Merged in feat/svg-instead-of-fonts (pull request #3411)
feat(SW-3695): use svg icons instead of font icons

* feat(icons): use svg instead of font icons

* feat(icons): use webpack/svgr for inlined svgs. Now support for isFilled again

* Merge master

* Remove old font icon


Approved-by: Joakim Jäderberg
2026-01-09 13:14:09 +00:00
Joakim Jäderberg
411a8a2a2e Merged in chore/add-package-to-semver (pull request #3408)
add package-name to semver

* add package-name to semver


Approved-by: Linus Flood
2026-01-09 07:48:47 +00:00
Joakim Jäderberg
36ddbc4435 Merged in chore/add-release-version-meta-tag (pull request #3399)
Add release version meta tag + preview environment

* include release version in meta tag

do polyfills in one place

* fix: add preview as a named sentry environment


Approved-by: Linus Flood
2026-01-08 15:05:43 +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
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
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
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
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
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
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 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
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
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