1958 Commits

Author SHA1 Message Date
Linus Flood
19495eed28 Merged in feat/basic-user (pull request #3135)
feat(SW-3610): Get basic user from api

* feat(SW-3610): Get basic user from api

* .

* Optional profileid


Approved-by: Anton Gunnarsson
2025-11-12 14:00:56 +00:00
Erik Tiekstra
88644597df chore: Replaced deprecated Spacing variables with current values
Approved-by: Matilda Landström
2025-11-12 12:56:22 +00:00
Christel Westerberg
8dce04b931 Merged in fix/STAY-22-GLA-check (pull request #3134)
fix: Let API handle logic for if a booking is guaranteeable or not

* fix: Let API handle logic for if a booking is guaranteeable or not


Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
2025-11-12 12:40:23 +00:00
Linus Flood
f8577dd09a Merged in fix/env-cleanup (pull request #3132)
fix(env): remove SHOW_SITEWIDE_ALERT and USE_NEW_REWARD_MODEL

* fix(env): remove SHOW_SITEWIDE_ALERT and USE_NEW_REWARD_MODEL


Approved-by: Matilda Landström
Approved-by: Chuma Mcphoy (We Ahead)
2025-11-12 09:04:59 +00:00
Christel Westerberg
c3b71a05d9 Merged in fix/STAY-2-GLA-cancelled (pull request #3109)
Fix/STAY-2 GLA cancelled

* fix: show toast on cancelling GLA flow

* fix: show the ancillary GLA errors as inline alerts


Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
2025-11-12 08:29:05 +00:00
Bianca Widstam
2c044de187 Merged in feat/BOOK-485-campaign-rate-my-stay (pull request #3120)
feat(BOOK-485): add campaign tag on my stay and update design

* feat(BOOK-485): add campaign tag on my stay and update design

* feat(BOOK-485): update rightAligned


Approved-by: Erik Tiekstra
2025-11-12 08:19:24 +00:00
Linus Flood
c8cc4138b5 Merged in feat/env-cleanup (pull request #3076)
feat(SW-3594): webviews - remove unused "Back to overview" link

* feat(SW-3594): remove unused component


Approved-by: Bianca Widstam
2025-11-12 07:53:44 +00:00
Erik Tiekstra
a96497f7c9 feat(BOOK-512): Added default heading from CS to destination pages
Approved-by: Bianca Widstam
2025-11-12 07:06:14 +00:00
Anton Gunnarsson
94ac475d5e Merged in fix/update-build-ignore-script (pull request #3129)
fix: Add missing package to ignore script

* Add missing package to ignore script
2025-11-11 14:58:09 +00:00
Joakim Jäderberg
de9b5d7686 Merged in fix/social-login-scopes (pull request #3126)
Set profile_read scope for social login

* set profile_read scope


Approved-by: Anton Gunnarsson
2025-11-11 12:35:27 +00:00
Joakim Jäderberg
bc5a606289 Merged in feature/turbopack (pull request #3117)
Feature/turbopack

* .

* .

* pin import-in-the-middle

* update marker

* revert back to using *.graphql.ts


Approved-by: Linus Flood
2025-11-11 09:51:40 +00:00
Linus Flood
ecb25cf6cd Merged in feat/sw-3604-webviews (pull request #3123)
feat(SW-3604): wrap mystay with bookingflowconfig

* feat(SW-3604): wrap mystay with bookingflowconfig


Approved-by: Joakim Jäderberg
2025-11-11 09:37:54 +00:00
Joakim Jäderberg
0490badbb1 Merged in fix/document-undefined (pull request #3118)
Fix/document undefined

* fix: check if document is undefined

* fix: check if document is undefined


Approved-by: Linus Flood
2025-11-11 07:21:29 +00:00
Erik Tiekstra
c93e2b6f0b feat(BOOK-212): Refactored LoginButton and added successful tracking functionality
Approved-by: Linus Flood
2025-11-11 06:57:49 +00:00
Anton Gunnarsson
0b569e28ce Merged in fix/add-missing-partner-data (pull request #3116)
fix: Add param to getScandicUser for extended data

* Add param to getScandicUser for extended data


Approved-by: Linus Flood
2025-11-10 15:23:07 +00:00
Linus Flood
ce3412b29f Merged in feat/sw-3601-hookfix (pull request #3113)
Feat(SW-3601): useIsUserLoggedIn needs to check webview token 

* fix(SW-3601): useIsUserLoggedIn needs to check webview token

* Check if we have webview token as well

* .


Approved-by: Joakim Jäderberg
2025-11-10 13:06:51 +00:00
Joakim Jäderberg
0e2ed17e3b Merged in fix/wrap-webviews-with-sessionprovider (pull request #3111)
Wrap webviews with SessionProvider

* wrap webviews with sessionprovider


Approved-by: Linus Flood
2025-11-10 12:23:36 +00:00
Bianca Widstam
e08d24cc75 Merged in fix/BOOK-438-breadcrumbs-seo-filter (pull request #3103)
feat(BOOK-438): add breadcrumbs on seofilter pages

* feat(BOOK-438): add breadcrumbs on seofilter pages

* feat(BOOK-438): remove unused function


Approved-by: Hrishikesh Vaipurkar
2025-11-07 13:58:09 +00:00
Linus Flood
5770dcdd9c Merged in revert-gql (pull request #3104)
Revert gql

* Revert "Merged in fix/system-fragment (pull request #3102)"

This reverts commit 0d479eb337.

* Revert "Merged in chore/replace-graphql-tag/loader (pull request #3096)"

This reverts commit e9bd159e98.
2025-11-07 13:13:28 +00:00
Erik Tiekstra
cab85f3ffd fix(BOOK-498): removed and changed z-index values to have booking widget overlapping correctly on mobile.
Approved-by: Bianca Widstam
Approved-by: Hrishikesh Vaipurkar
2025-11-07 13:03:25 +00:00
Joakim Jäderberg
e9bd159e98 Merged in chore/replace-graphql-tag/loader (pull request #3096)
Use turbopack for dev builds.
Remove graphql-tag/loader, replaced by gql`` tag literals instead.



Approved-by: Linus Flood
2025-11-07 12:33:17 +00:00
Chuma Mcphoy (We Ahead)
ae3537e008 Merged in fix/LOY-444-points-to-keep-left-text (pull request #3086)
fix(LOY-444): fix markerLabel text when left aligned

* fix(LOY-444): fix markerLabel text when left aligned


Approved-by: Matilda Landström
2025-11-07 11:21:17 +00:00
Linus Flood
7fb95f436b Merged in feat/book-522-align (pull request #3101)
feat(BOOK-522): align items in topmenu, header and booking widget

* feat(BOOK-522): align items in topmenu, header and booking widget

* Delete old css variable and use new

* Fixed underline on icons


Approved-by: Erik Tiekstra
2025-11-07 11:06:56 +00:00
Hrishikesh Vaipurkar
28ae796b8c Merged in feat/BOOK-434-users-should-redirect-to- (pull request #3087)
* feat(BOOK-434): Redirect user to city/country page if wrong filter url
* feat(BOOK-434): Handled map view

Approved-by: Erik Tiekstra
2025-11-07 10:30:00 +00:00
Joakim Jäderberg
61af689853 Merged in feature/SW-3506-refresh-tokens (pull request #3064)
feature(SW-3506): refresh-tokens setup for SAS Eurobonus

* feature(SW-3506): refresh-tokens setup for SAS Eurobonus

* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/SW-3506-refresh-tokens


Approved-by: Anton Gunnarsson
2025-11-07 09:59:41 +00:00
Linus Flood
1a24eb68c7 Merged in feat/sw-3596-console (pull request #3100)
feat(SW-3596): added lint rule for no console.log. Use logger instead.

* feat(SW-3596): added lint rule for no console.log. Use logger instead.


Approved-by: Joakim Jäderberg
2025-11-07 08:14:16 +00:00
Matilda Haneling
2d237b8d14 Merged in fix/book-115-hidden-focus-indicators (pull request #2925)
Fix/book 115 hidden focus indicators

* added focus ring to "how it works" text and close button in modal

* fix(BOOK-115): added focus ring to Hotel Sidepeek close button

* fix(BOOK-115): enabled selecting ancillaries with keyboard nav

* fix(BOOK-115): added focus indicator to "View and print receipt" in Manage Stay

* fix(BOOK-105 & BOOK-115): combined the two radio groups in payment selection to one, fixes focus indicator issue

* fix(BOOK-115): added focus indicator to shortcut links

* fix(BOOK-115): updated ancillaries keyboard selection

* fix(BOOK-115): removed tabIndex from Link component

* fix(BOOK-115): fixed single payment radio button not focusable

* fix(BOOK-115): updated  to onKeyDown

* added id to "credit card"

* removed toUpperCase() on lables

* removed brackets

* moved the focus indicator to the DS Button component

* removed !important from ButtonLink css

* changed <label> to <fieldset> and <legend> and added aria-label to PaymentOptionGroup

* removed css class from sidepeek that was previously removed

* reverted changes and synced Guarantee radiogroup with Payment radiogroup to use same semantics

* removed duplicate label

* removed old sub heading


Approved-by: Erik Tiekstra
2025-11-07 07:58:14 +00:00
Linus Flood
fdf124bd0c Merged in feat/book-504-at-pageview (pull request #3099)
Feat(BOOK-504): basic pageview event

* fix

* Cleanup


Approved-by: Joakim Jäderberg
2025-11-07 07:57:19 +00:00
Christel Westerberg
a9789a8a7c Merged in fix/STAY-38 (pull request #3097)
fix: handle text overflow on room title in My Stay reference card

* fix: handle text overflow on room title in My Stay reference card


Approved-by: Erik Tiekstra
2025-11-07 07:52:24 +00:00
Christel Westerberg
468ed74221 Merged in fix/STAY-70 (pull request #3098)
fix: make sure bookings with code can be changed

* fix: make sure bookings with code can be changed


Approved-by: Bianca Widstam
2025-11-07 07:28:09 +00:00
Christel Westerberg
6083eea5cc Merged in fix/STAY-65-manage-stay (pull request #3089)
Fix/STAY-65 manage stay

* fix: Disable manage stay for past bookings

* fix: handle past and cancelled stay the same

* fix: indentify past booking

* fix: refactor to use design system components


Approved-by: Erik Tiekstra
2025-11-07 06:43:13 +00:00
Erik Tiekstra
9a07dee05b feat(BOOK-64): Added themed Hero component on hotel pages
Approved-by: Chuma Mcphoy (We Ahead)
2025-11-07 06:32:15 +00:00
Christel Westerberg
57300e588e Merged in fix/STAY-97 (pull request #3092)
fix: Change copy of Total price in price summary ancillaries

* fix: Change copy of Total price in price summary ancillaries


Approved-by: Erik Tiekstra
2025-11-06 15:13:59 +00:00
Erik Tiekstra
11d53d0b15 fix(BOOK-506): Hiding campaign banner on more hotel-reservation routes and make whole banner clickable
Approved-by: Bianca Widstam
2025-11-06 14:48:13 +00:00
Joakim Jäderberg
07ef6d96d6 Merged in chore/remove-jsonsort-dictionaries (pull request #3084)
chore: No need to sort dictionary files anymore now that we have man-made IDs

* No need to sort dictionary files anymore now that we have man-made IDs


Approved-by: Erik Tiekstra
Approved-by: Linus Flood
2025-11-06 14:18:50 +00:00
Christel Westerberg
20bf89d206 Merged in fix/STAY-72-resend-booking-confirmation (pull request #3067)
feat(STAY-72): add resend confirmation button and endpoint

* feat(STAY-72): add resend confirmation button and endpoint

* fix: replace modify buttons with design system button


Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Erik Tiekstra
2025-11-06 13:40:15 +00:00
Joakim Jäderberg
ec511e2c8b Merged in feature/tsgo (pull request #3069)
Use tsgo for typechecking

* switch to tsgo for type-checking

* Merged in chore/remove-cypress (pull request #3066)

chore: remove unused dependencies

* chore: remove cypress

* remove unused deps

* update yarn.lock after removing unused deps


Approved-by: Anton Gunnarsson

* use tsgo for typechecking

* use tsgo for type-checking

* yarn install

* fix(BOOK-496): Slowed down the MarqueeText component animation

Approved-by: Matilda Landström

* switch to tsgo for type-checking

* use tsgo for typechecking

* use tsgo for type-checking

* yarn install

* Merge branch 'feature/tsgo' of bitbucket.org:scandic-swap/web into feature/tsgo

* switch to use yarn check-types in lint-staged

* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/tsgo


Approved-by: Linus Flood
2025-11-06 12:34:23 +00:00
Linus Flood
0a5d3ef7c3 Merged in fix/book-516 (pull request #3093)
feat(BOOK-516): check valid token

* feat(BOOK-516): check valid token


Approved-by: Joakim Jäderberg
2025-11-06 10:08:49 +00:00
Matilda Landström
ae5f99eab1 Merged in fix/LOY-454-shortcuts-border-radius (pull request #3085)
fix(LOY-454): add border-radius to last link item

* fix(LOY-454): add border-radius to last link item


Approved-by: Emma Zettervall
Approved-by: Chuma Mcphoy (We Ahead)
2025-11-05 14:38:36 +00:00
Linus Flood
ad85c5900b Merged in feat/lokalise-pull-051125 (pull request #3083)
feat(lokalise): downloaded latest translations

* feat(lokalise): downloaded latest translations


Approved-by: Joakim Jäderberg
2025-11-05 13:28:01 +00:00
Joakim Jäderberg
645a99a844 Merged in feature/LOY-415-sj-widget (pull request #3074)
feat(LOY-415): Add SJ widget

* feat(LOY-415): Add SJ widget
can be added as dynamic content to Content Pages

* feat(LOY-415): init SJ widget with a useEffect instead due to onLoad only being called the first time

* make sure to only initialize the SJ widget once and handle navigation


Approved-by: Erik Tiekstra
2025-11-05 13:05:15 +00:00
Erik Tiekstra
6e91d538c2 feat(BOOK-509): Added correct hover styles on breadcrumbs
Approved-by: Bianca Widstam
2025-11-05 12:55:14 +00:00
Matilda Haneling
42c060966d Merged in fix/book-439-add-suffix-to-seo-metatitle (pull request #3078)
fix(BOOK-439): added suffix to SEO filter pages meta title

* fix(BOOK-439): added suffix to SEO filter pages meta title


Approved-by: Erik Tiekstra
2025-11-05 11:37:14 +00:00
Erik Tiekstra
0e11a772f1 feat(BOOK-450): Adjust Scandic logo in header when on a themed hotel page
Approved-by: Chuma Mcphoy (We Ahead)
2025-11-05 10:29:24 +00:00
Joakim Jäderberg
392db172c4 Merged in chore/remove-svgr/webpack (pull request #3071)
remove unused @svgr/webpack

* remove unused @svgr/webpack

* merge


Approved-by: Linus Flood
2025-11-05 09:31:09 +00:00
Chuma Mcphoy (We Ahead)
94f6af563d Merged in feat/LOY-421-Next-Stay (pull request #3026)
Feat(LOY-421): Next Stay

* feat(LOY-421): Next stay WIP

* fix(LOY-421): clean upp css and jsx

* chore(LOY-421): css cleanup

* fix(LOY-421): fix test

* only show button if isWebAppOrigin is true

* chore(LOY-421): update section header component

* chore(LOY-421): remove redundant test case


Approved-by: Matilda Landström
2025-11-05 09:09:57 +00:00
Erik Tiekstra
3a38e99a71 Feat/BOOK-63 hotel subpages branding
* feat(BOOK-63): Replaced css variables and components to apply hotel branding on subpages
* feat(BOOK-63): Replaced css variables and components to apply hotel branding on hotel page map view

Approved-by: Christel Westerberg
Approved-by: Matilda Landström
2025-11-05 08:30:55 +00:00
Erik Tiekstra
fa10abbe78 fix(BOOK-496): Slowed down the MarqueeText component animation
Approved-by: Matilda Landström
2025-11-04 10:29:20 +00:00
Joakim Jäderberg
59143b4023 Merged in chore/remove-cypress (pull request #3066)
chore: remove unused dependencies

* chore: remove cypress

* remove unused deps

* update yarn.lock after removing unused deps


Approved-by: Anton Gunnarsson
2025-11-04 10:20:06 +00:00
Matilda Landström
0131b5f731 Merged in chore/cleanup-my-pages-overview (pull request #3049)
chore(LOY-447): remove flag and unused code on my pages overview

* chore: remove flag and unused code


Approved-by: Chuma Mcphoy (We Ahead)
2025-11-04 09:15:43 +00:00