Anton Gunnarsson
923206ee4c
Merged in chore/sw-3145-move-subtitle (pull request #2516 )
...
chore(SW-3145): Move Title and Subtitle to design-system
* Move Title and Subtitle to design-system
* Fix export
Approved-by: Linus Flood
2025-07-04 06:22:28 +00:00
Anton Gunnarsson
80057264d9
Merged in chore/sw-3145-move-preamble (pull request #2519 )
...
chore(SW-3145): Move Preamble to design-system
* Move Preamble to design-system
Approved-by: Linus Flood
2025-07-04 06:11:25 +00:00
Anton Gunnarsson
7ff8fee20e
Merged in chore/sw-3145-move-skeleton-shimmer (pull request #2509 )
...
chore(SW-3145): Move SkeletonShimmer to design-system
* Move SkeletonShimmer to design-system
Approved-by: Joakim Jäderberg
2025-07-03 13:10:23 +00:00
Joakim Jäderberg
daf765f3d5
Merged in feature/wrap-logging (pull request #2511 )
...
Feature/wrap logging
* feat: change all logging to go through our own logger function so that we can control log levels
* move packages/trpc to using our own logger
* merge
Approved-by: Linus Flood
2025-07-03 12:37:04 +00:00
Anton Gunnarsson
75a377b59e
Merged in chore/sw-3145-move-body (pull request #2505 )
...
chore(SW-3145): Move Body component to design-system
* Move Body component to design-system
Approved-by: Joakim Jäderberg
2025-07-03 08:04:36 +00:00
Anton Gunnarsson
a7ac79e429
Merged in chore/sw-3145-move-caption (pull request #2503 )
...
chore(SW-3145): Move Caption to design-system
* Move Caption to design-system
* Mark Caption as deprecated
Approved-by: Linus Flood
Approved-by: Joakim Jäderberg
2025-07-03 07:48:24 +00:00
Chuma Mcphoy (We Ahead)
a9868dac9c
Merged in feat/LOY-203-connected-state-employee-benefits (pull request #2496 )
...
feat(LOY-203): Enable Opening Team Member Card from Employee Benefits Page When Connected
* feat(LOY-203): add support for opening team member card modal from employee benefits page when connected
* fix(LOY-203): add id_card to material symbol icons
* fix(LOY-203): remove uneeded dtmc btb style
Approved-by: Erik Tiekstra
Approved-by: Linus Flood
2025-07-02 11:50:27 +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
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
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
471b1b6409
feat(LOY-284): add accordion support to account pages
2025-06-30 09:06:34 +02: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
Anton Gunnarsson
f9c719ff4b
Merged in feat/sw-2866-move-partners-router-to-trpc-package (pull request #2414 )
...
feat(sw-2866): Move partners router to trpc package
* Add eslint to trpc package
* Apply lint rules
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* WIP first step
* update internal imports in trpc
* 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
* Merge branch 'master' into feat/sw-2866-move-partners-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 09:44:13 +00:00
Anton Gunnarsson
395d466c51
Merged in fix/sw-3097-negative-point-transfer (pull request #2434 )
...
fix(SW-3097): Improve handling when trying to transfer negative SAS points
* Improve handling of trying to transfer negative points
Approved-by: Linus Flood
2025-06-26 09:30:02 +00:00
Anton Gunnarsson
bbcabfa0ba
Merged in feat/sw-2864-move-hotels-router-to-trpc-package (pull request #2410 )
...
feat (SW-2864): Move booking router to trpc package
* Add env to trpc package
* Add eslint to trpc package
* Apply lint rules
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* WIP first step
* update internal imports in trpc
* 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
* Merge branch 'master' into feat/sw-2864-move-hotels-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 09:02:59 +00:00
Anton Gunnarsson
002d093af4
Merged in feat/sw-2863-move-contentstack-router-to-trpc-package (pull request #2389 )
...
feat(SW-2863): Move contentstack router to trpc package
* Add exports to packages and lint rule to prevent relative imports
* Add env to trpc package
* Add eslint to trpc package
* Apply lint rules
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* WIP first step
* update internal imports in trpc
* 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
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 07:53:01 +00:00
Christian Andolf
06802d57b8
Merged in feat/LOY-263-add-link-missing-points-form (pull request #2392 )
...
Feat/LOY-263 add link missing points form
Approved-by: Erik Tiekstra
2025-06-25 09:51:59 +00:00
Christian Andolf
56df2cdb2a
feat(LOY-263): add link to missing points form to earn and burn
2025-06-25 11:40:15 +02:00
Christian Andolf
acc77625c8
feat(LOY-263): added new link to missing points form
...
removed soonest stays for redundancy
2025-06-25 11:40:15 +02:00
Christian Andolf
3f6127b861
feat(LOY-276): add hero image to account page
2025-06-24 14:54:54 +02:00
Erik Tiekstra
11201e238d
feat(SW-2975): Added top campaign to campaign overview page
...
Approved-by: Matilda Landström
2025-06-24 10:22:07 +00:00
Erik Tiekstra
af92f7183c
feat(SW-2278): Added hotel listing to campaign page
...
Approved-by: Matilda Landström
2025-06-19 09:36:28 +00:00
Anton Gunnarsson
846fd904a6
Merged in feat/sw-2859-set-up-shared-trpc-package (pull request #2319 )
...
feat(SW-2859): Create trpc package
* Add isEdge, safeTry and dataCache to new common package
* Add eslint and move prettier config
* Clean up tests
* Create trpc package and move initialization
* Move errors and a few procedures
* Move telemetry to common package
* Move tokenManager to common package
* Add Sentry to procedures
* Clean up procedures
* Fix self-referencing imports
* Add exports to packages and lint rule to prevent relative imports
* Add env to trpc package
* Add eslint to trpc package
* Apply lint rules
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* Fix lang imports
Approved-by: Linus Flood
2025-06-18 12:14:20 +00:00
Christian Andolf
73884aa428
fix: restore old select selectors for label to still support the temp design select
...
deprecated the temp design select in favor of the new one
2025-06-13 13:07:38 +02:00
Christian Andolf
f6be4f275e
refactor: move input and label to design system
...
correct variables according to design system spec
various cleanup
2025-06-13 13:07:38 +02:00
Christian Andolf
9551a629fa
refactor: move divider to design system
...
remove not used variants and duplicate colors
2025-06-13 11:27:50 +02:00
Chuma Mcphoy (We Ahead)
144a33fa30
Merged in feat/LOY-233-success-banner-for-dtmc-linking (pull request #2328 )
...
feat(LOY-233): create success banner for successful DTMC linking
* feat(LOY-233): create success banner for successful DTMC linking
* fix(LOY-233): code cleanup
* fix(LOY-233): use new design vars for alert bg colors
Approved-by: Erik Tiekstra
2025-06-11 08:52:28 +00:00
Erik Tiekstra
b4a05dae0b
feat(SW-2285): Added campaign essentials block on campaign page
...
Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-06-11 08:14:00 +00:00
Erik Tiekstra
be98c2faf6
feat(SW-1409): Synced tabnavigation headings and section headings on hotel pages
...
* feat(SW-2409): Added same headings to relevant sidepeeks
Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-06-03 09:22:28 +00:00
Erik Tiekstra
6a639dfd7e
feat(SW-2930): Aligned margins and spacing for RTE html with Figma
...
Approved-by: Christian Andolf
2025-06-03 05:45:14 +00:00
Christian Andolf
b3b3704c86
feat: update links default color to match design documents
2025-06-02 15:34:40 +02:00
Christian Andolf
d782b85329
chore: remove duplicate upcoming stays block
2025-06-02 15:12:35 +02:00
Anton Gunnarsson
cbf9e7b7c2
Merged in chore/next15 (pull request #1999 )
...
chore (SW-834): Upgrade to Next 15
* wip: apply codemod and upgrade swc plugin
* wip: design-system to react 19, fix issues from async (search)params
* wip: fix remaining issues from codemod
serverClient is now async because context use headers()
getLang is now async because it uses headers()
* Minor cleanup
* Inline react-material-symbols package
Package is seemingly not maintained any more and doesn't support
React 19. This copies the package source into `design-system`,
makes the necessary changes for 19 and export it for others to use.
* Fix missing awaits
* Disable modal exit animations
Enabling modal exit animations via isExiting prop is causing
modals to be rendered in "hidden" state and never unmount.
Seems to be an issue with react-aria-components,
see https://github.com/adobe/react-spectrum/issues/7563 .
Can probably be fixed by rewriting to a solution similar to
https://react-spectrum.adobe.com/react-aria/examples/framer-modal-sheet.html
* Remove unstable cache implementation and use in memory cache locally
* Fix ref type in SelectFilter
* Use cloneElement to add key prop to element
Approved-by: Linus Flood
2025-06-02 11:11:50 +00:00
Anton Gunnarsson
7e97b74c18
Merged in chore/remove-unused-code (pull request #2229 )
...
Remove unused code
* Remove unused scandic-web files
* Remove unused exports
Approved-by: Joakim Jäderberg
2025-05-30 12:41:18 +00:00
Christian Andolf
6f585a2c1e
fix(LOY-52): remove spinner on stay cards to prevent loading to spin indefinitely when opening link in a new tab
2025-05-26 17:19:03 +02:00
Erik Tiekstra
7e17e9cf4c
fix(SW-2681): Fixed position of scripted text and using design system components
...
Approved-by: Matilda Landström
2025-05-26 12:32:53 +00:00
Erik Tiekstra
d73f8d844e
feat(SW-1960): Improved scrolling and tabnavigation on hotel pages
...
Approved-by: Matilda Landström
2025-05-26 12:32:18 +00:00
Erik Tiekstra
a8e52c6c8a
fix(SW-1608): Hotel listing synced with design
...
Approved-by: Matilda Landström
2025-05-26 11:49:51 +00:00
Matilda Landström
a790a52067
Merged in fix/SW-2725 (pull request #2217 )
...
fix(SW-2725): change to correct icon color (burgundy)
* fix(SW-2725): change to correct icon color (burgundy)
Approved-by: Erik Tiekstra
2025-05-26 10:35:51 +00:00
Anton Gunnarsson
c27290717b
Merged in fix/sw-2767-expire-text-align-right (pull request #2181 )
...
Align tier match expire date right
* Align tier match expire date right
Approved-by: Christian Andolf
2025-05-23 08:15:39 +00:00
Anton Gunnarsson
9af93fecda
Update framer-motion
2025-05-22 14:00:38 +02:00
Linus Flood
2ec309354e
Merged in fix/my-stay-webview-2 (pull request #2191 )
...
fix: webview - mystay - check if we have webviewToken
* fix: webview - mystay - check if we have webviewToken
* Cleanup
Approved-by: Joakim Jäderberg
2025-05-22 08:38:20 +00:00
Erik Tiekstra
e48e90dee4
fix(SW-2376): css specificity to fix carousel buttons position
...
Approved-by: Chuma Mcphoy (We Ahead)
2025-05-21 07:06:11 +00:00
Erik Tiekstra
7fe25f7eca
fix(SW-2376): Vertically centered previous/next buttons inside carousel cards
...
Approved-by: Matilda Landström
2025-05-19 09:13:23 +00:00
Niclas Edenvin
6a5350d681
Merged in fix/no-my-stay-for-external-bookings (pull request #2126 )
...
fix: Only link web and app bookings to my stay
Approved-by: Joakim Jäderberg
2025-05-16 13:35:15 +00:00
Anton Gunnarsson
60af31762b
Merged in fix/make-user-loyalty-optional (pull request #2044 )
...
fix: Make loyalty optional on user
* Optional user loyalty
* merge
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2025-05-12 09:00:11 +00:00
Christian Andolf
7359ab4afd
feat(LOY-195): digital team member card button on my pages overview
2025-05-06 14:46:12 +02:00
Christian Andolf
f681fa7675
Merged in chore/replace-corner-radius-variable-with-new (pull request #1943 )
...
chore: replace old border-radius variables with new tokens
Approved-by: Erik Tiekstra
2025-05-05 11:24:48 +00:00
Joakim Jäderberg
5784822a1e
Merged in feature/SW-2320-languagebased-hide-for-next-release (pull request #1937 )
...
Language based alternative to HIDE_FOR_NEXT_RELEASE
Approved-by: Anton Gunnarsson
2025-05-05 10:53:28 +00:00