Commit Graph

5861 Commits

Author SHA1 Message Date
Rasmus Langvad
edca33c49f Merged in feat/SW-3655-input-component (pull request #3296)
feat: (SW-3655) new Input and FormInput components

* First version new Input and FormInput components

* Handle aria-describedby with react-aria instead of manually add it

* Update breaking unit and stories tests

* Merge branch 'master' into feat/SW-3655-input-component

* Update example form

* Merge branch 'master' into feat/SW-3655-input-component

* New lock file


Approved-by: Linus Flood
2025-12-08 08:51:03 +00:00
Joakim Jäderberg
de4b3c1c3c Merged in chore/eslint-curly-braces (pull request #3304)
Chore/eslint curly braces

* Add eslint rule for curly braces

* run eslint --fix for all files


Approved-by: Linus Flood
2025-12-08 07:56:21 +00:00
Matilda Landström
5986828580 Merged in feat/LOY-430-reward-nights (pull request #3295)
Feat/LOY-430 reward nights

* chore(LOY-430): add reward nights request and dynamic content

* chore(LOY-430): fix Reward Night component

* Refactor: use existing endpoint and add rewardNight data to that response instead


Approved-by: Linus Flood
2025-12-08 07:44:58 +00:00
Chuma Mcphoy (We Ahead)
9d8399b7c7 Merged in refactor/LOY-495-hook-for-sidepeek-scrolling (pull request #3297)
refactor(LOY-495): create useSidePeekScrollToTop hook

* refactor(LOY-495): create useSidePeekScrollToTop hook

* fix(LOY-495):  Read ref fresh each time


Approved-by: Emma Zettervall
2025-12-05 13:51:10 +00:00
Christel Westerberg
001000a56d Merged in fix/STAY-131-hide-ancillaries (pull request #3299)
fix: fix logic for identifying single use ancillaries

* fix: fix logic for identifying single use ancillaries

* fix: filter out empty categories of ancillaries


Approved-by: Erik Tiekstra
2025-12-05 12:25:12 +00:00
Linus Flood
3bd23bf56e Merged in feat/book-595-gla-tracking-fix (pull request #3294)
feat(BOOK-595): fixed correct tracking values and enter details pageview tracking

* feat(BOOK-595): fixed correct tracking values and enter details pageview tracking

* Fixed on SAS as well


Approved-by: Joakim Jäderberg
2025-12-05 08:01:48 +00:00
Erik Tiekstra
a9c1a91134 fix(BOOK-599): Filtering on correct values for hotel pages now and added comments
Approved-by: Matilda Landström
2025-12-05 06:31:17 +00:00
Chuma Mcphoy (We Ahead)
2b9bc8c3ce Merged in feat/LOY-497-Flag-Profiling-Consent (pull request #3292)
refactor(LOY-497): hide profiling consent behind feature flag

* refactor(LOY-497): hide profiling consent behind feature flag

* chore(LOY-497): up to date consent readme


Approved-by: Matilda Landström
2025-12-05 05:47:11 +00:00
Chuma Mcphoy (We Ahead)
aae5c4d33d Merged in feat/LOY-495-Stays-Sidepeek-Scroll-to-Top (pull request #3279)
Feat/LOY-495 Scroll to Top Functionality in Previous Stays Sidepeek

* feat(LOY-495): enable scroll to top functionality for past stays sidepeek


Approved-by: Emma Zettervall
Approved-by: Matilda Landström
2025-12-05 05:41:02 +00:00
Anton Gunnarsson
d6623adf9f Merged in fix/next-security-patch (pull request #3291)
fix: Bump Next for security patch

* Bump next for security patch


Approved-by: Linus Flood
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Matilda Landström
2025-12-04 09:56:06 +00:00
Chuma Mcphoy (We Ahead)
2738cbae7d Merged in fix/add-years-to-get-days-until-text-util (pull request #3281)
fix: add years to getDaysUntilText + confirmation number in upcoming stay card

* fix: add years to getDaysUntilText + confirmation number in upcoming stay card


Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-12-04 09:46:53 +00:00
Linus Flood
aba7e7f9eb Merged in fix/book-639-startpage-cache (pull request #3288)
feat(BOOK-639): add all block types on startpage to refs cache key

* feat(BOOK-639): add all block types on startpage to refs cache key


Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-12-04 09:17:28 +00:00
Matilda Haneling
9de9654bb0 Merged in fix/book-636-mobile-booking-widget-border-radius (pull request #3287)
fix(BOOK-636): updeted rounded corners and text align on mobile start page

* fix(BOOK-636): updeted rounded corners and text align on mobile start page


Approved-by: Erik Tiekstra
2025-12-04 08:07:58 +00:00
Bianca Widstam
e459eb17f4 Merged in fix/BOOK-529-new-icon (pull request #3290)
Fix/BOOK-529 new icon

* fix(BOOK-529): add new icon, remove scroll again

* fix(BOOK-529): remove divider when no saved card


Approved-by: Joakim Jäderberg
2025-12-04 07:46:20 +00:00
Chuma Mcphoy (We Ahead)
30b9d14fb0 Merged in feat/LOY-424-Sidepeek-Past-Stays (pull request #3270)
feat(LOY-424): Load More Past Stays via Sidepeek

* feat(LOY-424): Load More Past Stays via Sidepeek

* chore(LOY-424): use new section header

* fix(LOY-424): remove uneeded nextCursor check


Approved-by: Emma Zettervall
2025-12-03 15:19:25 +00:00
Bianca Widstam
c6fff09c73 Merged in fix/BOOK-529-terms-and-condititions (pull request #3289)
fix(BOOK-529): fix terms and conditions link

* fix(BOOK-529): fix terms and conditions link


Approved-by: Joakim Jäderberg
Approved-by: Matilda Landström
2025-12-03 14:38:31 +00:00
Bianca Widstam
7db225a3ee Merged in fix/BOOK-529-my-stay-guarantee (pull request #3282)
fix(BOOK-529): add card icon to payment cards, show scrollbar, add missing text

* fix(BOOK-529): add card icon to payment cards, show scrollbar, add missing text

* fix(BOOK-529): refactor savdecard

* fix(BOOK-529): fix lokaliseid

* fix(BOOK-529): paymentmethods


Approved-by: Joakim Jäderberg
2025-12-03 13:04:02 +00:00
Erik Tiekstra
6730575f7a feat(BOOK-113): Synced hover/focus states for buttons and added better examples to storybook
* fix(BOOK-113): Updated hover colors after blend/mix has been removed

Approved-by: Christel Westerberg
2025-12-03 10:45:34 +00:00
Joakim Jäderberg
60f4b8d878 Merged in fix/redis-api-package-mismatch (pull request #3278)
Fix/redis api package mismatch

* Migrate scandic-web

* Migrate partner-sas

* Enable any rule in partner-sas

* fix: redis-api package version mismatch

* Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/redis-api-package-mismatch


Approved-by: Anton Gunnarsson
2025-12-03 09:54:30 +00:00
Joakim Jäderberg
a016e18e4a Merged in feature/SW-3539-log-number-of-logins (pull request #3284)
feat(SW-3539): count number of logins

* feat(SW-3539): count number of logins


Approved-by: Anton Gunnarsson
2025-12-03 09:50:59 +00:00
Joakim Jäderberg
99497488f3 Merged in chore/ignore-e2e-tests-in-ci (pull request #3285)
chore: ignore e2e tests when running yarn test

* chore: ignore e2e tests when running yarn test
2025-12-03 08:52:08 +00:00
Matilda Landström
f19d5fa083 Merged in fix/handle-unpublished-profiling-consent (pull request #3275)
fix: handle unpublished profiling consent

* fix: handle unpublished profiling consent


Approved-by: Emma Zettervall
Approved-by: Chuma Mcphoy (We Ahead)
2025-12-03 08:41:33 +00:00
Joakim Jäderberg
22d00bb363 Merged in feature/add-login-test-2 (pull request #3261)
e2e tests for my pages

* feature/add-e2e-tests-for-mypages

* remove unneccesary awaits


Approved-by: Linus Flood
2025-12-03 07:59:11 +00:00
Matilda Haneling
7acfde7b49 Merged in fix/hamburger-menu-freezes (pull request #3276)
fix(BOOK-613): pinned react aria compnents and aria overlays versions

* fix(BOOK-613): pinned react aria compnents and aria overlays versions


Approved-by: Linus Flood
2025-12-03 07:46:01 +00:00
Erik Tiekstra
a6b3904b2a fix(BOOK-146): Synced default Sidepeek and SelfControlled Sidepeek in regards of functionality and looks
Approved-by: Bianca Widstam
2025-12-03 07:45:43 +00:00
Erik Tiekstra
c976079df1 fix(BOOK-469): Removed otherPaymentOptions on non mandatory GLA
Approved-by: Bianca Widstam
2025-12-03 07:42:31 +00:00
Christel Westerberg
b563a83f10 Merged in fix/STAY-132 (pull request #3283)
fix: align guarantee info button and text to the right regardless of breakpoint

* fix: align guarantee info button and text to the right regardless of breakpoint


Approved-by: Erik Tiekstra
2025-12-03 07:16:51 +00:00
Bianca Widstam
c6d0223edb Merged in fix/BOOK-629-aria-label-social-media (pull request #3259)
fix(BOOK-629): add aria-label to social media on sidepeek

* fix(BOOK-629): add aria-label to social media on sidepeek

* fix(BOOK-629): add aria-label for social media


Approved-by: Erik Tiekstra
2025-12-02 13:21:14 +00:00
Anton Gunnarsson
d6ed81d90b Merged in fix/sw-3648-fix-hero-gradient (pull request #3277)
fix(SW-3648): Correct hero gradient colors

* Fix hero gradient colors


Approved-by: Linus Flood
2025-12-02 12:28:25 +00:00
Anton Gunnarsson
7c247d7100 Merged in fix/sw-3645-mobile-menu-overlap (pull request #3260)
fix(SW-3645): Use same close button for mobile menus

* Use same close button for mobile menus


Approved-by: Linus Flood
2025-12-02 12:27:57 +00:00
Anton Gunnarsson
5da3e457cb Merged in chore/migrate-from-next-lint (pull request #3263)
chore: Migrate from next lint to eslint

* Migrate scandic-web

* Migrate partner-sas

* Enable any rule in partner-sas


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2025-12-02 10:08:56 +00:00
Anton Gunnarsson
be28982e73 Merged in fix/sw-3650-prevent-line-break-in-user-menu (pull request #3274)
fix(SW-3650): Prevent line break in user menu

* Add nowrap to points container


Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-12-02 10:08:47 +00:00
Bianca Widstam
07193a519c Merged in fix/BOOK-630-multiroom-select-rate (pull request #3272)
fix(BOOK-630): pinned nuqs version

* fix(BOOK-630): pinned nuqs version


Approved-by: Joakim Jäderberg
2025-12-02 08:15:05 +00:00
Emma Zettervall
34526bbaf1 Merged in fix/LOY-400-make-contentstack-data-optional (pull request #3266)
fix(LOY-400): made contentstack data optional so the whole page does not crash if it's empty.

* fix(LOY-400): made contentstack data optional so the whole page does not crash if it's empty.

* Merged in fix/LOY-400-make-contentstack-data-optional-2 (pull request #3269)

Fix/LOY-400 make contentstack data optional 2

* Test

* .

* Correct ref tag

* refactor

* Correct key

* fix(LOY-400): cleaned up


Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-12-02 08:08:12 +00:00
Joakim Jäderberg
95473927f2 Merged in chore/block-commits-on-master (pull request #3264)
chore: block commits and pushes directly on master

* chore: block commits and pushes directly on master


Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-12-02 08:05:25 +00:00
Erik Tiekstra
84593438e6 feat(BOOK-257): Added VideoPlayer component
Approved-by: Christel Westerberg
Approved-by: Bianca Widstam
2025-12-02 07:35:38 +00:00
Linus Flood
b1ccabb0b6 Merged in fix/redis-delete (pull request #3271)
feat(redis): include git hash when deleting without fuzzy

* feat(redis): include git hash when deleting without fuzzy

* Refactor


Approved-by: Joakim Jäderberg
2025-12-02 07:02:52 +00:00
Erik Tiekstra
8f7e4b8d06 fix(BOOK-622): Removed blending step for hover colors and respect original values from design system instead
Approved-by: Linus Flood
2025-12-02 06:24:59 +00:00
Matilda Haneling
3e4ac2c270 Merged in fix/book-510-fix-misaligned-flexbox (pull request #3268)
fix(BOOK-510): fixed misaligned flexbox for booking codes on Select Rate

* fix(BOOK-510): fixed misaligned flexbox for booking codes on Select Rate


Approved-by: Anton Gunnarsson
2025-12-01 14:07:04 +00:00
Joakim Jäderberg
f5dd6740d0 Merged in chore/upgrade-vitest4 (pull request #3253)
chore: upgrade to vitest@4

* chore: upgrade to vitest@4


Approved-by: Anton Gunnarsson
2025-12-01 12:41:12 +00:00
Joakim Jäderberg
3ec78b4fab refactor: update error handling and logging for improved error details display 2025-12-01 13:00:44 +01:00
Chuma Mcphoy (We Ahead)
48700ffe8f Merged in fix/LOY-298-stays-content (pull request #3256)
fix(LOY-298): empty stays text

* fix(LOY-298): empty stays text


Approved-by: Emma Zettervall
Approved-by: Matilda Landström
2025-12-01 08:32:09 +00:00
Linus Flood
aac10477a7 Merged in fix/lokalise-diff (pull request #3257)
feat(lokalise): fixed diff script

* feat(lokalise): fixed diff script

* formatting


Approved-by: Matilda Landström
2025-12-01 08:17:13 +00:00
Linus Flood
3e7e0b1d7d Merged in feat/lokalise-sync-011225 (pull request #3258)
feat(lokalise): sync 1/12

* feat(lokalise): sync 1/12
2025-12-01 08:14:23 +00:00
Joakim Jäderberg
f6a807758e Merged in chore/remove-enrichHotel-call (pull request #3244)
Chore/remove enrichHotel call

* chore: remove enrichHotel api call

* include cityId when errors happen

* remove unused funciton and cleanup code

* tests no longer expect us to have called a function that is not used

* remove commented code


Approved-by: Linus Flood
2025-12-01 07:49:59 +00:00
Bianca Widstam
77ac3628c1 Merged in fix/BOOK-99-focus-indicator-booking-widget (pull request #3254)
fix(BOOK-99): change border from 1px to 2px

* fix(BOOK-99): change border from 1px to 2px


Approved-by: Matilda Haneling
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-12-01 07:10:00 +00:00
Emma Zettervall
f443bae46e Merged in feat/LOY-400-create-spend-points-modal (pull request #3131)
Feat/LOY-400 create spend points modal

* feat(LOY-400): Added custom button to my pages overview and skeleton file to custom modal for my points.

* feat(LOY-400): Added custom button to my pages overview and components for custom modal for my points.

* feat(LOY-400): Changed some style and infogridcardover

* feat(LOY-400):Removed custom card components and changed in infoCard: Added imagePosition top, added optional height prop. In Card: Changed Text-wrap styling, added min-width styling to buttons, added optional Icon prop, added optional height prop

* feat(LOY-400):Added linkList, LinkListItem component and messageBanner component. Added granola illustration.

* feat(LOY-400): Removed background in several illustrations. Added component for illustration. Fixed LinkedList and styling for UsePointsButton.

* feat(LOY-400): Added modal to PointsToSpendCard and fixed UsePointsButton.

* fix(LOY-400):added some styling

* feat(LOY-400): Linked Modal to contentstack and fetch the data in cards with UsePointsModal for now

* feat(LOY-400): changed link to aria-component, cleaned up a bit

* feat(LOY-400): Changed height for larger modals in mobile, fixed zod schema for no illustration input, cleaned up

* fix(LOY-400): fixed graphql after rebase

* fix(LOY-400): mini fix

* fix(LOY-400): fixed pr-comments

* fix(LOY-400): fixed some PR-comments

* fix(LOY-400): fixed a PR-comment

* feat(LOY-400): added size prop to ilustration in LinkListItem to be able to use illustrations in IllustrationByIconName

* fix(LOY-400): fixed pr-comments

* Merged in feat/LOY-402-pre-ticked-book-reward-night-in-booking-flow (pull request #3210)

Feat/LOY-402 pre ticked book reward night in booking flow

* feat(LOY-402): Changed UsePointsModal structure to handle button actions in card.

* feat(LOY-402): added functionality for book now button

* feat(LOY-400): pr comment fix

* feat(LOY-402): transformed the contentstack data

* fix(LOY-402): fixed pr comments

Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström

* Merged in feat/LOY-404-add-tracking-for-spend-points-modal (pull request #3229)

Feat/LOY-404 add tracking for spend points modal

* feat(LOY-402): Changed UsePointsModal structure to handle button actions in card.

* feat(LOY-402): added functionality for book now button

* feat(LOY-400): pr comment fix

* feat(LOY-402): transformed the contentstack data

* feat(LOY-404): added tracking

* fix(LOY-404): fix for session storage removal of bookNowFromPointsModal

* feat(LOY-404): added consts

* fix(LOY-404): moved foxusWidget const

* fix(LOY-404): moved BOOKING_WIDGET_STATE const

* fix(LOY-404):fix


Approved-by: Matilda Landström

* fix(LOY-400): some fixes

* feat(LOY-400): created linkList storybook


Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Matilda Landström
2025-11-28 15:08:06 +00:00
Christel Westerberg
69f194f7bf Merged in fix/handle-single-ancillaries (pull request #3231)
Fix(STAY-128): Handle single ancillaries

* fix: refactor ancillaries flow

* fix: add logic to determine if an ancillary requires quantity

* fix: breakout ancillary description to its own component

* fix: cleanup

* fix: cleanup


Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
2025-11-28 15:02:45 +00:00
Anton Gunnarsson
4eee1cff64 Merged in fix/sw-3643-mobile-booking-widget-label-color (pull request #3255)
fix(SW-3643): Update mobile booking widget label color

* Update mobile booking widget label color


Approved-by: Matilda Haneling
2025-11-28 14:59:53 +00:00
Christel Westerberg
870512a7ab Merged in fix/STAY-4-late-cancellations (pull request #3247)
fix: show cancellation message for non cancellable flex booking

* fix: show cancellation message for non cancellable flex booking


Approved-by: Chuma Mcphoy (We Ahead)
2025-11-28 14:32:51 +00:00