Commit Graph

5888 Commits

Author SHA1 Message Date
Anton Gunnarsson
1f1ed2e4f3 Merged in chore/update-sas-banner-image (pull request #3545)
fix(LOY-621): Replace scandic banner image and reduce size

* Replace scandic banner image and reduce size


Approved-by: Emma Zettervall
Approved-by: Matilda Landström
2026-02-05 07:44:54 +00:00
Linus Flood
bc9eaf6706 Merged in fix/robots-txt (pull request #3547)
feat(robots): fixed robots.txt file

* feat(robots): fixed robots.txt file
2026-02-05 07:38:15 +00:00
Matilda Landström
549265cd34 Merged in feat/LOY-615-cleanup-env-prof-consent (pull request #3537)
feat(LOY-615): cleanup profiling consent env var

* feat(LOY-615): cleanup profiling consent env var


Approved-by: Anton Gunnarsson
2026-02-04 16:51:06 +00:00
Matilda Landström
989b18527e Merged in fix/STAY-138-center-text (pull request #3538)
fix(STAY-138): center text

* fix(STAY-138): center text


Approved-by: Emma Zettervall
2026-02-04 13:09:12 +00:00
Erik Tiekstra
0cda37808e Merged in fix/BOOK-755-alert-content (pull request #3523)
fix(BOOK-755, BOOK-787): Fixed issue for phone number and sidepeeks not showing

* fix(BOOK-755): Fixed issue for phone number and sidepeeks not showing

* fix(BOOK-755): fix issue phonenumber alert

* fix(BOOK-755): fix issue phonenumber


Approved-by: Matilda Landström
2026-02-03 15:28:23 +00:00
Erik Tiekstra
b3c4761ae5 Merged in chore/BOOK-773-replace-old-typography-variables (pull request #3515)
Chore/BOOK-773 replace old typography variables

* chore(BOOK-773): Replaced body typography

* chore(BOOK-773): Replaced caption typography

* chore(BOOK-773): Replaced footnote typography

* chore(BOOK-773): Replaced subtitle typography


Approved-by: Bianca Widstam
2026-02-03 15:07:18 +00:00
Linus Flood
dd65467573 Merged in fix/close-map-text (pull request #3536)
feat(map): fixed close map text alignment

* feat(map): fixed close map text alignment
2026-02-03 14:07:40 +00:00
Joakim Jäderberg
eb45e6b294 Merged in fix/LOY-606 (pull request #3535)
fix(LOY-606): breakfast price now considers number of nights in MyStay/ChangeDates

* fix(LOY-606): breakfast price now considers number of nights in MyStay/ChangeDates


Approved-by: Linus Flood
2026-02-03 13:51:45 +00:00
Emma Zettervall
6553fcf685 Merged in fix/use-old-loacalize-keys (pull request #3534)
fix(LOY-391): changed back localize keys to the old ones to make less work for content

* fix(LOY-391): changed back localize keys to the old ones to make less work for content


Approved-by: Anton Gunnarsson
2026-02-03 13:42:37 +00:00
Anton Gunnarsson
c2cf6b03a7 Merged in feat/loy-291-new-claim-points-flow (pull request #3508)
feat(LOY-291): New claim points flow for logged in users

* wip new flow

* More wip

* More wip

* Wip styling

* wip with a mutation

* Actually fetch booking data

* More styling wip

* Fix toast duration

* fix loading a11y maybe

* More stuff

* Add feature flag

* Add invalid state

* Clean up

* Add fields for missing user info

* Restructure files

* Add todos

* Disable warning

* Fix icon and border radius


Approved-by: Emma Zettervall
Approved-by: Matilda Landström
2026-02-03 13:27:24 +00:00
Linus Flood
310ad7bc7f Merged in fix/book-785-hotelfilters-cache (pull request #3533)
fix(BOOK-785): fix incorrect cache keys for contact config and hotel filters

* fix(BOOK-785): fix incorrect cache keys for contact config and hotel filters
2026-02-03 13:18:23 +00:00
Joakim Jäderberg
fbdbd35813 Merged in fix/mainmenu-button-css-cascade (pull request #3532)
Fix/mainmenu button css cascade

* fix(MainMenuButton): add @layer to make css cascading work

* reset
2026-02-03 12:36:27 +00:00
Matilda Landström
d6b94376b0 Merged in fix/STAY-23-room-price (pull request #3529)
fix(STAY-23): don't strikethrough price if only one room is cancelled (multiroom)

* fix(STAY-23): don't strikethrough price if only room is cancelled (multiroom)


Approved-by: Anton Gunnarsson
2026-02-03 07:58:52 +00:00
Linus Flood
7a604f1250 Merged in chore/nextjs-version (pull request #3530)
Chore/nextjs version

* chore(next/react): update to latest versions

* Correct swc version

* Readme

* No turbopack

* test

* test

* test
2026-02-03 07:52:04 +00:00
Joakim Jäderberg
13fd8f81c9 Merged in revert-nextjs-upgrade (pull request #3528)
revert nextjs upgrade

* revert nextjs upgrade

* Fix revert


Approved-by: Anton Gunnarsson
2026-02-02 15:15:42 +00:00
Joakim Jäderberg
16cc26632e Merged in chore/refactor-trpc-booking-routes (pull request #3510)
feat(BOOK-750): refactor booking endpoints

* WIP

* wip

* wip

* parse dates in UTC

* wip

* no more errors

* Merge branch 'master' of bitbucket.org:scandic-swap/web into chore/refactor-trpc-booking-routes

* .

* cleanup

* import named z from zod

* fix(BOOK-750): updateBooking api endpoint expects dateOnly, we passed ISO date


Approved-by: Anton Gunnarsson
2026-02-02 14:28:14 +00:00
Linus Flood
8ac2c4ba22 Merged in chore/nextjs-version (pull request #3527)
chore(next/react): update to latest versions

* chore(next/react): update to latest versions

* Correct swc version


Approved-by: Anton Gunnarsson
2026-02-02 14:21:39 +00:00
Emma Zettervall
65e5d90fee Merged in fix/point-transaction-link (pull request #3526)
Fix/point transaction link

* fix: only make stay transactions links

* fix: only make transaction of type stay and reward nights with a bookingUrl as links


Approved-by: Matilda Landström
2026-02-02 12:44:08 +00:00
Linus Flood
5f55687239 Merged in feat/lokalise-sync-020226 (pull request #3525)
Lokalise sync

* Lokalise sync
2026-02-02 10:35:04 +00:00
Matilda Haneling
e30ce9ac30 Merged in fix/book-769-booking-widget-ui-bugs (pull request #3524)
Fix/book 769 booking widget ui bugs

* fixed text in serachList not wrapping properly

* fixed spacing on mobile searchList

* fixed close button icon color

* fix for issues with fixed vs sticky elements on scroll lock

Approved-by: Linus Flood
2026-02-02 10:26:48 +00:00
Matilda Landström
61c024dbda Merged in fix/correct-policies-link (pull request #3522)
Fix/correct policies link

* fix: add correct link

* fix: move route


Approved-by: Emma Zettervall
2026-02-02 09:22:08 +00:00
Emma Zettervall
2f73fce6f2 Merged in fix/LOY-391-fix-for-transaction-details-not-available (pull request #3513)
fix(LOY-391): uses transaction date if checkinDate does not exist

* fix(LOY-391): uses transaction date if checkinDate does not exist

* fix(LOY-391): changed date to datejs and fixed description for reward night and reward gift

* fix(LOY-391):use year transaction date

* fix(LOY-391): fixed date timezone and dt() instead of datejs()

* fix(LOY-391): small improv with year

* fix(LOY-391): utc fix

* fix(LOY-391): changed sorting order on transaction date

* fix(LOY-391): filter out transactions with 0 award points


Approved-by: Joakim Jäderberg
2026-01-30 14:59:14 +00:00
Anton Gunnarsson
76ee5e97bf Merged in chore/improve-my-stay-load-times (pull request #3514)
chore: Improve My Stay load times

* Restructure My Stay page to avoid data fetching waterfalls


Approved-by: Linus Flood
Approved-by: Matilda Landström
2026-01-30 14:29:49 +00:00
Anton Gunnarsson
fd38542863 Merged in fix/sw-3703-fix-focus-in-lightbox-gallery (pull request #3521)
fix(SW-3703): Fix focus management in lightbox gallery

* Add keys to fix focus


Approved-by: Matilda Landström
2026-01-30 12:55:46 +00:00
Anton Gunnarsson
cc60cf2903 Merged in chore/change-icons-to-rounded (pull request #3520)
chore: Change default icon style to rounded

* Change default icon style to rounded


Approved-by: Linus Flood
2026-01-30 10:13:03 +00:00
Erik Tiekstra
13b0d976ac fix(BOOK-391): Fixed typo in path to Futura PT font
* fix(BOOK-391): Now using correct Futura PT fonts

Approved-by: Linus Flood
2026-01-30 09:58:50 +00:00
Anton Gunnarsson
77eabac038 Merged in fix/loy-589-update-cancellation-labels (pull request #3495)
fix(LOY-589): Split cancellation label into two

* Split cancellation label into two

* Fix copy


Approved-by: Bianca Widstam
2026-01-30 08:29:35 +00:00
Matilda Landström
0919134f88 Merged in fix/LOY-597-upcoming-today (pull request #3517)
fix(LOY-597): Display "Today" for upcoming stay today

* fix(LOY-597): Display "Today" for upcoming stay today


Approved-by: Anton Gunnarsson
2026-01-30 08:03:28 +00:00
Matilda Landström
5a90d454ce Merged in fix/LOY-600-address (pull request #3518)
fix(LOY-600): remove 1 från address in edit profile

* fix(LOY-600): remove 1 från address in edit profile


Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
Approved-by: Anton Gunnarsson
2026-01-30 08:02:53 +00:00
Linus Flood
28974b979d Merged in feat/sw-3713-svg-optimize (pull request #3516)
feat(SW-3713): Optimize all SVGs

* feat(SW-3713): Optimize all SVGs


Approved-by: Anton Gunnarsson
2026-01-30 07:00:09 +00:00
Matilda Landström
4d298b0b9b Merged in feat/LOY-584-L6-progressbar (pull request #3511)
Feat/LOY-584 L6 progressbar informational modal

* refactor(LOY-584): replace deprecated link

* feat(LOY-584): add info modal to progress bar

* fix(LOY-584): let labels overflow progress bar in mobile


Approved-by: Anton Gunnarsson
2026-01-29 14:14:20 +00:00
Erik Tiekstra
dbacb650b6 fix(BOOK-772): Added correct typography around some RTE elements
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2026-01-29 13:23:32 +00:00
Anton Gunnarsson
49f3205b94 Merged in chore/recommended-vs-code-extensions (pull request #3505)
chore: Update recommended extensions

* Update recommended extensions


Approved-by: Linus Flood
Approved-by: Matilda Landström
2026-01-29 09:52:25 +00:00
Erik Tiekstra
d9a20a224a fix(BOOK-699): Height of dialog now fits content with max-height
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2026-01-29 07:11:42 +00:00
Bianca Widstam
6d9cbad8bf Merged in feat/BOOK-644-gla-reward-night (pull request #3500)
fix(BOOK-644): update ui reward night gla

* fix(BOOK-644): update ut reward night gla


Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2026-01-29 07:03:50 +00:00
Matilda Haneling
7c3566855d Merged in fix/book-751-booking-widget-skeleton-fixes (pull request #3501)
fix(BOOK-751): updated desktop booking widget loading skeleton

* fix(BOOK-751): updated desktop booking widget loading skeleton


Approved-by: Bianca Widstam
2026-01-28 15:24:28 +00:00
Anton Gunnarsson
bae2ca288f Merged in chore/fix-material-icons-types (pull request #3497)
chore: Fix MaterialIconName type

* Fix MaterialIconName type


Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2026-01-28 14:52:59 +00:00
Erik Tiekstra
1f8b2c8c14 fix(BOOK-663): Added scroll false to info card buttons on hotel pages
Approved-by: Bianca Widstam
2026-01-28 13:04:01 +00:00
Erik Tiekstra
d193bf057d fix(BOOK-771): Added spacing between content and cta wrapper in TeaserCard sidepeeks
Approved-by: Bianca Widstam
2026-01-28 12:03:22 +00:00
Erik Tiekstra
1bb1a7e139 fix(BOOK-770): Re added max-width to preamble on collection pages
Approved-by: Bianca Widstam
2026-01-28 12:03:05 +00:00
Erik Tiekstra
ead34c07ee fix(BOOK-711): Added isFloating prop to decide when the booking widget should have a border radius
Approved-by: Bianca Widstam
2026-01-28 12:02:42 +00:00
Anton Gunnarsson
70838060e5 Merged in chore/remove-hotelref-file (pull request #3499)
chore: Remove unused hotelpage ref file

* Remove unused hotelpage ref file


Approved-by: Linus Flood
2026-01-28 11:38:29 +00:00
Erik Tiekstra
e87bb03c6f feat/BOOK-755 alert content pages
* feat(BOOK-755): Added alert block on Collection pages
* feat(BOOK-755): Added alert block on Content pages
* feat(BOOK-755): Added alert functionality for RTE

Approved-by: Bianca Widstam
2026-01-28 07:47:49 +00:00
Erik Tiekstra
0d357a116b feat(BOOK-768): Added UspCard component with stories and implemented it in blocks
Approved-by: Bianca Widstam
2026-01-28 07:47:15 +00:00
Matilda Landström
22b0f71c16 Merged in chore(LOY-531)-cleanup-old-stays (pull request #3498)
chore(LOY-531): cleanup old stays

* chore(LOY-531): cleanup old stays


Approved-by: Emma Zettervall
Approved-by: Anton Gunnarsson
2026-01-28 07:45:05 +00:00
Linus Flood
5fc93472f4 Merged in feat/rework-contentstack (pull request #3493)
Feat(SW-3708): refactor contentstack fetching (removing all refs) and cache invalidation

* Remove all REFS

* Revalidate correct language

* PR fixes

* PR fixes

* Throw when errors from contentstack api


Approved-by: Joakim Jäderberg
2026-01-27 12:38:36 +00:00
Anton Gunnarsson
a5e214f783 Merged in chore/add-test-script-to-redis-api (pull request #3482)
chore: Add test script to redis-api package.json

* Add test script to redis-api package.json

Ensures knip understands test files aren't unused


Approved-by: Joakim Jäderberg
2026-01-26 13:40:49 +00:00
Anton Gunnarsson
e086cd8146 Merged in fix/sw-3702-interactive-map-points-currency (pull request #3480)
fix(SW-3702): Show correct point currencies in interactive map

* Show correct point currencies in interactive map


Approved-by: Matilda Haneling
2026-01-26 13:38:55 +00:00
Anton Gunnarsson
e215aec8bb Merged in chore/fix-incorrect-dependencies (pull request #3484)
chore: Fix incorrect dependencies

* Fix incorrect dependencies


Approved-by: Joakim Jäderberg
2026-01-26 13:38:21 +00:00
Anton Gunnarsson
5aadb7791e Merged in chore/update-knip-config (pull request #3487)
chore: Update knip config

* Update knip config


Approved-by: Joakim Jäderberg
2026-01-26 13:36:52 +00:00