Commit Graph

1929 Commits

Author SHA1 Message Date
Anton Gunnarsson
f79ff9b570 Merged in chore/cleanup-unused (pull request #3461)
chore: Cleanup unused vars, exports, types

* Cleanup some unused exports

* Remove more

* Readd CampaignPageIncludedHotelsRef

* Add alias comment to procedure exports

* Remove unused exports


Approved-by: Linus Flood
2026-01-22 12:34:07 +00:00
Erik Tiekstra
4de24e9f2a feat(BOOK-391): Added theme and logos for Bassin Seven
* chore: Updated border-radius variables after import change

Approved-by: Linus Flood
2026-01-22 07:03:25 +00:00
Anton Gunnarsson
993f6c4377 Merged in chore/fix-dependencies (pull request #3470)
chore: Cleanup dependencies

* Move dotenv to root

* update knip config

* Fix more deps

* More dep updates

* more

* more dep updates

* Fix deps

* Fix generate


Approved-by: Linus Flood
2026-01-21 15:03:52 +00:00
Linus Flood
1ad648639c Merged in fix/phone-icon (pull request #3465)
fix/SW-3695-icons

* fix/SW-3695-icons
2026-01-21 10:26:42 +00:00
Erik Tiekstra
8e08af718c feat(BOOK-743): Replaced deprecated Button component
Approved-by: Bianca Widstam
2026-01-21 09:38:38 +00:00
Erik Tiekstra
b91504e7c6 feat(BOOK-757): Moved TeaserCard to design system and added stories
Approved-by: Bianca Widstam
2026-01-21 07:50:43 +00:00
Erik Tiekstra
8a143a2916 chore: Moved Breadcrumbs to design system and added stories
Approved-by: Bianca Widstam
2026-01-21 07:19:19 +00:00
Erik Tiekstra
d7eed5b318 chore(BOOK-754): Moved ContentCard to design system and added stories
Approved-by: Bianca Widstam
Approved-by: Anton Gunnarsson
2026-01-20 12:37:22 +00:00
Erik Tiekstra
510f25a812 feat(BOOK-757): Replaced Biroscript component with Typography
Approved-by: Bianca Widstam
2026-01-20 12:37:05 +00:00
Emma Zettervall
9e373ed600 Merged in fix/LOY-391-import-fix (pull request #3456)
fix(LOY-391): import fix

* fix(LOY-391): import fix


Approved-by: Anton Gunnarsson
2026-01-20 12:22:01 +00:00
Emma Zettervall
5af64ef896 Merged in feat/LOY-391-my-points-transactions-table-design (pull request #3415)
Feat/LOY-391 my points transactions table design

* feat(LOY-391): Added new design to point transaction table

* fix(LOY-391): rebase fix

* fix(LOY-391): fix

* fix(LOY-391): fix

* fix(LOY-391): fixed sticky header etc.

* feat(LOY-391): added focus on the newest loaded item in the list

* fix(LOY-391): cleaned up

* fix(LOY-391): style fix

* fix(LOY-391): fixed PR-comments, types, removed the old files for earn and burn table

* fix(LOY-391): fixed PR-comments

* feat(LOY-391): added useCallback so scrolling is avoided when clicking see all on expiring points


Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2026-01-20 08:41:09 +00:00
Emma Zettervall
8b56fa84e7 Merged in feat/LOY-522-move-focus-to-newly-loaded-item (pull request #3452)
feat(LOY-522): Move focus to the newly loaded stay in sidepeek for upcoming and previous stay

* feat(LOY-522): Moved focus to the newly loaded stay in sidepeek for upcoming and previous stay


Approved-by: Anton Gunnarsson
2026-01-20 08:10:42 +00:00
Anton Gunnarsson
66b7af877a Merged in fix/loy-514-fix-validation-tracking-in-signup-form (pull request #3445)
fix(LOY-514): Fix validation error tracking in SignupForm

* Fix issue with form submit handling

* Fix

* Remove browser validation

* Add automatic tracking of validatione rrors


Approved-by: Rasmus Langvad
Approved-by: Matilda Landström
2026-01-19 08:34:24 +00:00
Rasmus Langvad
0c5670823b Merged in feat/3694-show-more-button-to-ds (pull request #3405)
feat(SW-3694): Move ShowMoreButton to design-system

* Move ShowMoreButton to design-system

* Update to interactive stories

* Merged master into feat/3694-show-more-button-to-ds

* Merge branch 'master' into feat/3694-show-more-button-to-ds

* Merge branch 'feat/3694-show-more-button-to-ds' of bitbucket.org:scandic-swap/web into feat/3694-show-more-button-to-ds


Approved-by: Linus Flood
2026-01-19 07:54:54 +00:00
Anton Gunnarsson
adba5f635f Merged in fix/switch-button-order-mobile-edit-profile (pull request #3448)
fix: Switch button order on mobile

* Switch button order on mobile


Approved-by: Matilda Landström
2026-01-19 06:44:08 +00:00
Anton Gunnarsson
8f7c1d80ab Merged in feat/loy-513-update-edit-profile-button-positions (pull request #3447)
feat(LOY-513): Update button positions and simplify css

* Update button positions and simplify css


Approved-by: Matilda Landström
2026-01-16 09:03:44 +00:00
Linus Flood
7639daf792 Merged in feat/3614-basicInfo (pull request #3427)
feat(SW-3614): use new loyalty prop in basicProfile

* feat(SW-3614): use new loyalty prop in basicProfile

* PR fixes


Approved-by: Matilda Landström
2026-01-15 14:02:28 +00:00
Matilda Landström
b9d134bca6 Merged in fix/-Lokalise-fetch-14012026 (pull request #3440)
fetch from Lokalise 14/1-26

* fetch from Lokalise 14/1-26


Approved-by: Linus Flood
2026-01-15 13:08:55 +00:00
Joakim Jäderberg
2ff8697b68 Merged in chore/get-only-release-tags-on-branch (pull request #3443)
chore: get only release-tags on current branch

* chore: get only release-tags on current branch


Approved-by: Linus Flood
2026-01-15 12:38:01 +00:00
Matilda Landström
dd4826dd99 Merged in feat/STAY-140-stepper-accesible (pull request #3432)
feat(STAY-140): make Stepper more accessible

* feat(STAY-140): make Stepper more accessible

* fix(STAY-140): add aria-valuetext


Approved-by: Bianca Widstam
2026-01-15 12:32:09 +00:00
Anton Gunnarsson
16fbdb7ae0 Merged in fix/refactor-currency-display (pull request #3434)
fix(SW-3616): Handle EuroBonus point type everywhere

* Add tests to formatPrice

* formatPrice

* More work replacing config with api points type

* More work replacing config with api points type

* More fixing with currency

* maybe actually fixed it

* Fix MyStay

* Clean up

* Fix comments

* Merge branch 'master' into fix/refactor-currency-display

* Fix calculateTotalPrice for EB points + SF points + cash


Approved-by: Joakim Jäderberg
2026-01-15 09:32:17 +00:00
Linus Flood
c61ddaf94d Merged in fix/preload-restaurant-links-off (pull request #3442)
Fix/preload restaurant links off

* fix(restaurantlinks): disable prefetch

* fix(restaurantlinks): disable prefetch
2026-01-15 09:17:35 +00:00
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