Commit Graph

4903 Commits

Author SHA1 Message Date
Linus Flood
f2b81b8c7a Merged in feat/sw-3134-daypicker (pull request #2495)
feat(SW-3134): Fix first day of month disabled

* feat(SW-3134): Fix first day of month disabled

* Fixed single daypicker


Approved-by: Bianca Widstam
2025-07-01 12:57:57 +00:00
Linus Flood
03b8d8eac6 Merged in fix/destination-city-page-cache-revalidate (pull request #2492)
Fix: destination city page invalidate cache in webhook

* Fix: destination city page invalidate cache in webhook

* Use correct uid


Approved-by: Joakim Jäderberg
2025-07-01 12:49:23 +00:00
Anton Gunnarsson
be25be7bb5 Merged in feat/sw-3125-move-client-trpc-setup (pull request #2493)
feat(SW-3125): Move client trpc setup

* Move client trpc to package

* Client setup in partner-sas

* Add todo


Approved-by: Linus Flood
2025-07-01 12:41:28 +00:00
Bianca Widstam
481044346c Merged in fix/SW-3001-booking-codes-all-rates-default (pull request #2489)
fix(SW-3001): show booking codes rates by default

* fix(SW-3001): show booking codes rates by default

* fix(SW-3001): pr comment remove useEffect


Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-07-01 10:42:56 +00:00
Erik Tiekstra
ea4ef9a048 fix: Added translated city name to meta title
Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-07-01 09:48:18 +00:00
Hrishikesh Vaipurkar
67ebef4fa0 Merged in fix/SW-2905-select-rate-page-multi- (pull request #2465)
fix: SW-2905 Fixed room auto close after filter changes

* fix: SW-2905 Fixed room auto close after filter changes


Approved-by: Linus Flood
2025-07-01 09:28:23 +00:00
Anton Gunnarsson
6eeaa1cd40 Merged in feat/sw-2872-dependency-inject-app-context-in-trpc-package (pull request #2478)
feat(SW-2872) Dependency inject app context in trpc package

* Move appRouter to trpc package

* WIP Move serverClient to trpc package

Doesn't handle errors yet

* Don't use global

* Use trpc everywhere


Approved-by: Linus Flood
2025-07-01 08:49:33 +00:00
Anton Gunnarsson
a3702d0ecc Merged in chore/partner-sas-test-setup (pull request #2484)
chore: Test setup in partner-web

* Add playwright

* Add vitest setup


Approved-by: Linus Flood
2025-07-01 08:27:59 +00:00
Anton Gunnarsson
9426f4b1ac Merged in feat/sw-2871-booking-flow-envs (pull request #2483)
feat(SW-2871): Add env setup to booking-flow package

* Add env setup to booking-flow package

* Add missing dep

* Really fix it..


Approved-by: Linus Flood
2025-07-01 08:27:48 +00:00
Anton Gunnarsson
c41b2314bf Merged in fix/update-build-scripts (pull request #2488)
Update build scripts for apps

* Update build scripts for apps


Approved-by: Joakim Jäderberg
2025-07-01 07:20:06 +00:00
Linus Flood
1b95acad29 Merged in fix/password-remove-hash (pull request #2487)
Remove # from allowed characters in password field

* Remove # from allowed characters in password field

* Fixed tests

* Fixed tests
2025-07-01 07:19:50 +00:00
Chuma Mcphoy (We Ahead)
7eb8deb208 Merged in feat/LOY-232-DTMC-API-INTEGRATION (pull request #2454)
feat(LOY-232): DTMC API Integration

* feat(LOY-232): DTMC API Integration

* feat(LOY-232): use employment data in team member card

* refactor(LOY-232): remove static data, return employment details in parsed response & fix tests

* refactor(LOY-232): improve DTMC API Linking error control flow + make res type safe

* fix(LOY-232): remove unused utils

* fix(LOY-232): error vars


Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
2025-07-01 07:03:59 +00:00
Tobias Johansson
d272cd03ce Merged in fix/SW-3115-form-tracking-changes (pull request #2470)
fix(SW-3115): add form complete tracking and removed input error tracking

* fix(SW-3115): add form complete tracking and removed input error tracking


Approved-by: Bianca Widstam
2025-07-01 06:44:08 +00:00
Bianca Widstam
86bd3fcea3 Merged in fix/SW-3117-filter-select-hotel (pull request #2475)
Fix/SW-3117 filter select hotel

* fix(SW-3117): default hotel count fix

* fix(SW-3117): default hotel count for mobile


Approved-by: Tobias Johansson
Approved-by: Matilda Landström
2025-07-01 06:33:04 +00:00
Linus Flood
5ba31f6afe Merged in feat/lokalise-sync-250701 (pull request #2486)
Lokalise sync

* Lokalise sync
2025-07-01 06:04:59 +00:00
Tobias Johansson
f0701d6e20 Merged in fix/SW-3111-mismatch-password-rules (pull request #2482)
fix(SW-3111): Added test for passwordValidator and updated pw validation

* fix(SW-3111): Added test for passwordValidator and updated pw validation

* fix: make sure regex is matching Curity

* Added error message to input field and changed message

* Fixed text


Approved-by: Christian Andolf
2025-07-01 05:51:31 +00:00
Arvid Norlin
f207cf6601 Merged in fix/SW-2886 (pull request #2468)
fix(SW-2886): Increase BookingWidget z-index if any field expanded

* fix(SW-2886): Increase BookingWidget z-index if any field expanded


Approved-by: Tobias Johansson
Approved-by: Christian Andolf
2025-07-01 05:32:10 +00:00
Anton Gunnarsson
c1daef39f2 Merged in chore/env-scripts (pull request #2481)
chore: Add script to show missing envs

* base

* Better output

* Add missing flag

* Add script to check env


Approved-by: Joakim Jäderberg
2025-06-30 13:54:24 +00:00
Simon Emanuelsson
361fd75133 fix: lowerCase firstname and lastname when matching between rooms 2025-06-30 13:16:59 +00:00
Simon Emanuelsson
9eff04f987 fix: summary showed 0 CC for approx value 2025-06-30 12:59:57 +00:00
Christian Andolf
8ec3b6d60e Merged in chore/vitest-projects-config (pull request #2472)
chore: add vitest project config and yarn constraints

Approved-by: Anton Gunnarsson
2025-06-30 12:24:12 +00:00
Christian Andolf
733281240f chore: add vitest project config and yarn constraints 2025-06-30 14:17:49 +02:00
Anton Gunnarsson
4e1cb01b84 Merged in chore/cleanup-after-trpc-migration (pull request #2457)
Chore/cleanup after trpc migration

* Clean up TODOs

* Rename REDEMPTION constant to SEARCH_TYPE_REDEMPTION

* Update dependencies

Remove unused deps from scandic-web
Add missing deps to trpc package

* Update self-referencing imports

* Remove unused variables from scandic-web env

* Fix missing graphql-tag package

* Actually fix

* Remove unused env var


Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-06-30 12:08:19 +00:00
Erik Tiekstra
8127cfc73b feat(SW-3033): Added possibility to reference to campaign overview pages
Approved-by: Matilda Landström
2025-06-30 11:46:34 +00:00
Christian Andolf
69a90928f3 Merged in fix/hydration-errors (pull request #2476)
fix: fixed hydration errors by setting ids

Approved-by: Linus Flood
2025-06-30 11:42:24 +00:00
Christian Andolf
18cbd952b7 fix: fixed hydration errors by setting ids
moved scripts to body since beforeInteractive strategy ones will be placed in the head regardless, avoiding double render
2025-06-30 13:28:05 +02:00
Linus Flood
a8a11cca25 Merged in fix/lokalise-sync-250630 (pull request #2474)
Sync lokalise

* Sync lokalise


Approved-by: Bianca Widstam
2025-06-30 11:26:14 +00:00
Simon Emanuelsson
59f4a27cb1 feat: translate Voucher everywhere during booking flow 2025-06-30 10:57:00 +00:00
Hrishikesh Vaipurkar
a0b0ed2544 Merged in feat/SW-3072-desktop-new-button-for-see- (pull request #2408)
feat: SW-3072 Added overlay to static map on city page

* feat: SW-3072 Added overlay to static map on city page

* feat: SW-3072 Updated map link in desktop select-hotel page

* feat: SW-3072 Updated as review comments


Approved-by: Erik Tiekstra
2025-06-30 10:48:34 +00:00
Erik Tiekstra
0393f7b7b9 feat(SW-2270): Added hotel listing block to campaign overview page
Approved-by: Matilda Landström
2025-06-30 09:29:20 +00:00
Erik Tiekstra
4229e9b11b feat(SW-2283): Added carousel cards block to campaign overview page
Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-06-30 09:08:22 +00:00
Linus Flood
15c85163fd Merged in fix/SW-3122-destionations-sort (pull request #2471)
fix(SW-3122): copy array before sorting since it can be immutible

* fix(SW-3122): copy array before sorting since it can be immutible


Approved-by: Matilda Landström
2025-06-30 08:44:11 +00:00
Linus Flood
167b5e7e8a Merged in fix/webview-auth (pull request #2469)
feat(SW-3124): webview auth stuck in a refresh loop

* feat(SW-3124): webview auth stuck in a refresh loop


Approved-by: Anton Gunnarsson
2025-06-30 08:29:19 +00:00
Christian Andolf
07085d02f5 Merged in chore/fix-migrate-unit-tests-vitest (pull request #2461)
Chore/fix migrate unit tests vitest

Approved-by: Anton Gunnarsson
2025-06-30 08:25:14 +00:00
Christian Andolf
a3645da8c4 chore: add unit test to scandic web pipeline 2025-06-30 09:58:26 +02:00
Christian Andolf
ff40ef72c4 chore: fix and migrate unit tests to vitest 2025-06-30 09:49:30 +02:00
Anton Gunnarsson
a91c28096d Merged in feat/sw-2880-prepare-booking-flow-package (pull request #2467)
feat(SW-2880) Prepare booking flow package

* Init booking-flow package

* Add gitignore

* Use booking-flow package

* Use design-system


Approved-by: Joakim Jäderberg
2025-06-30 07:48:28 +00:00
Anton Gunnarsson
f0def99425 Merged in chore/remove-unused-env-vars (pull request #2463)
chore: Remove unused env vars and feature toggles

* Remove unused env vars and feature toggles


Approved-by: Joakim Jäderberg
2025-06-30 07:48:05 +00:00
Christian Andolf
bdf66af23d Merged in feat/LOY-284-add-accordion-support-account-page (pull request #2443)
feat(LOY-284): add accordion support to account pages

Approved-by: Erik Tiekstra
Approved-by: Linus Flood
Approved-by: Chuma Mcphoy (We Ahead)
2025-06-30 07:47:05 +00:00
Christian Andolf
471b1b6409 feat(LOY-284): add accordion support to account pages 2025-06-30 09:06:34 +02:00
Erik Tiekstra
36d010a0a4 feat(SW-2957): Added suffix to meta title on specific page types
Approved-by: Matilda Landström
2025-06-30 06:08:17 +00:00
Matilda Landström
2b5573059c Merged in fix/teaser-card-issue (pull request #2459)
fix(SW-3120): update teaser card validation

* fix: update teaser card validation


Approved-by: Michael Zetterberg
Approved-by: Linus Flood
2025-06-27 13:27:35 +00:00
Bianca Widstam
fe75018a46 Merged in fix/SW-3117-filter-default-zero (pull request #2464)
fix(SW-3117): default filter count on mobile number of hotels

* fix(SW-3117): default filter should be hotel count


Approved-by: Tobias Johansson
2025-06-27 13:07:01 +00:00
Bianca Widstam
4755225bcc Merged in fix/SW-2824-map-mobile-card-hide-pin (pull request #2458)
fix(SW-2824): move pin latitude on mobile to make space for hotel card on map

* fix(SW-2824): move pin latitude on mobile to make space for hotel card on map


Approved-by: Anton Gunnarsson
2025-06-27 12:57:58 +00:00
Anton Gunnarsson
157c0415e5 Merged in fix/add-netlify-build-ignore (pull request #2366)
chore: Add ignore to build config

* Add ignore to build config

* Add missing package to ignore

* Add build filter for partner-sas site


Approved-by: Linus Flood
2025-06-27 09:48:03 +00:00
Hrishikesh Vaipurkar
edca03decf Merged in fix/SW-2884-select-hotel-page-users-are-di (pull request #2438)
fix: SW-2884 Fixed Alternative hotels map navigation issues

* fix: SW-2884 Fixed Alternative hotels map navigation issues

* fix: SW-2884 Optmized code


Approved-by: Arvid Norlin
2025-06-27 08:05:26 +00:00
Anton Gunnarsson
01ca2b4897 Merged in feat/sw-2867-move-user-router-to-trpc-package (pull request #2428)
Move user router to trpc package

* Move more schemas in hotel router

* Fix deps

* fix getNonContentstackUrls

* Fix import error

* Fix entry error handling

* Fix generateMetadata metrics

* Fix alertType enum

* Fix duplicated types

* lint:fix

* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package

* Fix broken imports

* Move booking router to trpc package

* Move partners router to trpc package

* Move autocomplete router to trpc package

* Move booking router to trpc package

* Remove translations from My Pages navigation trpc procedure

* Move navigation router to trpc package

* Move user router to trpc package

* Merge branch 'master' into feat/sw-2862-move-booking-router-to-trpc-package

* Merge branch 'feat/sw-2862-move-booking-router-to-trpc-package' into feat/sw-2865-move-navigation-router-to-trpc-package

* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package

* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package

* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package

* Merge branch 'feat/sw-2865-move-navigation-router-to-trpc-package' into feat/sw-2867-move-user-router-to-trpc-package

* Merge branch 'master' into feat/sw-2867-move-user-router-to-trpc-package


Approved-by: Linus Flood
2025-06-27 07:07:49 +00:00
Anton Gunnarsson
00bcdaaa28 Merged in feat/sw-2865-move-navigation-router-to-trpc-package (pull request #2427)
feat(SW-2862): Move navigation router to trpc package

* Fix most errors in scandic-web

Just 100 left...

* Move Props type out of trpc

* Fix CategorizedFilters types

* Move more schemas in hotel router

* Fix deps

* fix getNonContentstackUrls

* Fix import error

* Fix entry error handling

* Fix generateMetadata metrics

* Fix alertType enum

* Fix duplicated types

* lint:fix

* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package

* Fix broken imports

* Move booking router to trpc package

* Move partners router to trpc package

* Move autocomplete router to trpc package

* Move booking router to trpc package

* Remove translations from My Pages navigation trpc procedure

* Move navigation router to trpc package

* Merge branch 'master' into feat/sw-2862-move-booking-router-to-trpc-package

* Merge branch 'feat/sw-2862-move-booking-router-to-trpc-package' into feat/sw-2865-move-navigation-router-to-trpc-package

* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package

* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package

* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package


Approved-by: Linus Flood
2025-06-27 06:54:49 +00:00
Linus Flood
39250e21e3 Merged in fix/checkout-translation (pull request #2456)
Fixed checkout translation

* Fixed checkout translation

* Added comma


Approved-by: Bianca Widstam
2025-06-27 06:52:25 +00:00
Michael Zetterberg
5736c437b6 fix: Remove metadata for ratings subpage, it no longer exists 2025-06-27 06:37:27 +00:00