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
Chuma Mcphoy (We Ahead)
6392325407
Merged in fix/422-fix-expiration-date-font (pull request #3039 )
...
fix(LOY-442): correct font for expirationDate in expiring points table
* fix(LOY-422): correct font for expirationDate in expiring points table
Approved-by: Matilda Landström
2025-10-30 09:22:49 +00:00
Joakim Jäderberg
bf6ed7778e
Merged in feat/syncDefaultMessage (pull request #3022 )
...
Sync defaultMessage from lokalise
* Enhance translation sync functionality and tests
- Added logging for found component files during sync.
- Introduced tests for handling complex components with replacements.
- Updated regex in syncIntlFormatMessage to support optional second arguments.
- Removed unused test files.
* feat(syncDefaultMessage): add script for syncing default message with lokalise
* feat(syncDefaultMessage): add script for syncing default message with lokalise
Approved-by: Matilda Landström
2025-10-30 08:38:50 +00:00
Erik Tiekstra
333636c81a
Merged in feat/BOOK-61-refactor-hotel-page-css-variables (pull request #3014 )
...
Feat/BOOK-61 refactor hotel page css variables
* feat(BOOK-61): Breadcrumbs
* feat(BOOK-61): intro section
* feat(BOOK-61): show more button
* feat(BOOK-61): rooms section
* feat(BOOK-61): sidepeeks
* feat(BOOK-61): deprecated old Link component
* feat(BOOK-61): added new TextLink component to the design-system
* feat(BOOK-61): replaced deprecated links with new TextLink component
* feat(BOOK-61): miscellaneous changes
Approved-by: Bianca Widstam
Approved-by: Christel Westerberg
2025-10-29 09:15:03 +00:00
Joakim Jäderberg
aafad9781f
Merged in feat/lokalise-rebuild (pull request #2993 )
...
Feat/lokalise rebuild
* chore(lokalise): update translation ids
* chore(lokalise): easier to switch between projects
* chore(lokalise): update translation ids
* .
* .
* .
* .
* .
* .
* chore(lokalise): update translation ids
* chore(lokalise): update translation ids
* .
* .
* .
* chore(lokalise): update translation ids
* chore(lokalise): update translation ids
* .
* .
* chore(lokalise): update translation ids
* chore(lokalise): update translation ids
* chore(lokalise): new translations
* merge
* switch to errors for missing id's
* merge
* sync translations
Approved-by: Linus Flood
2025-10-22 11:00:03 +00:00
Matilda Landström
bacdc669a3
Merged in fix/Lokalise-EN-edits-2025-10 (pull request #2962 )
...
Fix/Lokalise English manual updates
* fix: update English keys
Approved-by: Linus Flood
2025-10-16 15:04:58 +00:00
Emma Zettervall
1850cfd20d
Merged in feat/LOY-390-hide-the-value-non-transactional-in-booking-number-column (pull request #2920 )
...
feat(LOY-390): Hide the value non transactional in booking number column.
* feat(LOY-390): Removed non transactional confirmationNumber link, also added description message for non transactional confirmationNumbers with 0 nights
* feat(LOY-390): changed description
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Matilda Landström
2025-10-16 11:14:29 +00:00
Erik Tiekstra
339e7195dc
fix(BOOK-436): Added new section component and deprecated the other
...
Approved-by: Chuma Mcphoy (We Ahead)
2025-10-13 08:31:26 +00:00
Erik Tiekstra
527ab170b5
fix(BOOK-405): Pushing to history when opening sidepeek to avoid navigating back inside the booking flow
...
Approved-by: Chuma Mcphoy (We Ahead)
2025-10-09 11:34:58 +00:00
Chuma Mcphoy (We Ahead)
6a9d598b97
Merged in feat/LOY-336-Points-to-Spend-Card (pull request #2830 )
...
feat(LOY-336): Add PointsToSpendCard
* feat(LOY-366): Add PointsToSpendCard
* feat(LOY-336): Add Expiring Points Table Sidepeek
* fix(LOY-336): Hide old section
* fix(LOY-336): description mobile styling
* chore(LOY-336): css cleanup
Approved-by: Matilda Landström
2025-09-22 10:16:40 +00:00
Chuma Mcphoy (We Ahead)
c6da0fb8cb
Merged in feat/LOY-316-Level-Progress-Card (pull request #2739 )
...
Feat/LOY-316 Level Progress Card
* feat(LOY-315): Add MembershipOverviewCard
* refactor(LOY-315): abstract sasbooststatus
* feat(LOY-316): build out LevelProgressCard skeleton & variant styling
* feat(LOY-316): Add HighesMembershipCard
* feat(LOY-316): ProgressBarCard base
* refactor(LOY-315): highest level card misc fixes
* feat(LOY-316): Add progress component to design system
* fix(LOY-316): type check
* refactor(LOY-316): calculate currentEarnings correctly
* fix(LOY-316): sas icon showing when not boosted
* fix(LOY-316): css module
* refactor(LOY-316): Restructure components
* feat(LOY-316): Add marker pin 📍
* fix(LOY-316): strict equality checks
* fix(LOY-316): code review fixes
* chore(LOY-316): conditionally hide old section under flag
* feat(LOY-316): Add level progress card to my points page
* chore(LOY-316): marker label container height
Approved-by: Matilda Landström
2025-09-10 06:53:22 +00:00
Anton Gunnarsson
65c6bc4c59
Merged in feat/sw-3369-move-loadingspinner (pull request #2742 )
...
feat(SW-3369): Move LoadingSpinner to design-system
* Move LoadingSpinner to design-system
Approved-by: Joakim Jäderberg
2025-09-02 06:46:58 +00:00
Anton Gunnarsson
d10fc5ed74
Merged in feat/sw-3247-move-table-to-design-system (pull request #2636 )
...
feat(SW-3247): Move Table component to design-system
* Move Table component to design-system
Approved-by: Bianca Widstam
2025-08-13 14:52:56 +00:00
Anton Gunnarsson
8518d018f8
Merged in feat/sw-3230-move-link-to-design-system (pull request #2618 )
...
feat(SW-3230): Move Link to design-system
* Move Link to design-system
* Remove comments
Approved-by: Linus Flood
2025-08-12 12:35:20 +00:00
Anton Gunnarsson
00b124d15a
Merged in feat/sw-3226-move-buttonlink-to-design-system (pull request #2613 )
...
feat(SW-3226): Move ButtonLink to design-system
* Move ButtonLink to design-system
* Fix Button import
Approved-by: Linus Flood
2025-08-11 10:53:00 +00:00
Chuma Mcphoy (We Ahead)
3cca4ff394
Merged in chore/LOY-293-table-header-updates (pull request #2611 )
...
chore(LOY-293): earn and burn table header update
* chore(LOY-293): earn and burn table header update
Approved-by: Anton Gunnarsson
2025-08-11 09:40:15 +00:00
Chuma Mcphoy (We Ahead)
1d785a40a5
Merged in feat/update-earn-burn-description-for-non-transactional-types (pull request #2555 )
...
feat(LOY-294): Empty Stay description if 0 nights and and non-transactional confirmationNumber
* feat(LOY-294): Empty Stay description if 0 nights and and non-transactional confirmationNumber
Approved-by: Matilda Landström
2025-07-11 13:00:13 +00:00
Chuma Mcphoy (We Ahead)
a7689405da
Merged in LOY-293-earn-burn-table-headings (pull request #2553 )
...
fix(LOY-293): update earn and burn table column headings
* fix(LOY-293): update earn and burn table column headings
Approved-by: Matilda Landström
2025-07-11 12:20:48 +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
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
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
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
56df2cdb2a
feat(LOY-263): add link to missing points form to earn and burn
2025-06-25 11:40:15 +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
Christian Andolf
b3b3704c86
feat: update links default color to match design documents
2025-06-02 15:34:40 +02:00
Christian Andolf
d6b70edfa3
chore: replace old border-radius variables with new tokens
2025-05-05 11:11:37 +02:00
Christian Andolf
05fab4d2f6
fix: text color on points is now correct when revisiting the page
2025-04-28 14:33:03 +02:00
Michael Zetterberg
440e1f92df
feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
2025-04-14 11:30:06 +00:00
Christian Andolf
d67d04e416
fix(LOY-206): add missing lang input to friends transactions query, handles both server and client side
2025-03-25 09:42:37 +01:00
Anton Gunnarsson
80100e7631
Merged in monorepo-step-1 (pull request #1080 )
...
Migrate to a monorepo setup - step 1
* Move web to subfolder /apps/scandic-web
* Yarn + transitive deps
- Move to yarn
- design-system package removed for now since yarn doesn't
support the parameter for token (ie project currently broken)
- Add missing transitive dependencies as Yarn otherwise
prevents these imports
- VS Code doesn't pick up TS path aliases unless you open
/apps/scandic-web instead of root (will be fixed with monorepo)
* Pin framer-motion to temporarily fix typing issue
https://github.com/adobe/react-spectrum/issues/7494
* Pin zod to avoid typ error
There seems to have been a breaking change in the types
returned by zod where error is now returned as undefined
instead of missing in the type. We should just handle this
but to avoid merge conflicts just pin the dependency for
now.
* Pin react-intl version
Pin version of react-intl to avoid tiny type issue where formatMessage
does not accept a generic any more. This will be fixed in a future
commit, but to avoid merge conflicts just pin for now.
* Pin typescript version
Temporarily pin version as newer versions as stricter and results in
a type error. Will be fixed in future commit after merge.
* Setup workspaces
* Add design-system as a monorepo package
* Remove unused env var DESIGN_SYSTEM_ACCESS_TOKEN
* Fix husky for monorepo setup
* Update netlify.toml
* Add lint script to root package.json
* Add stub readme
* Fix react-intl formatMessage types
* Test netlify.toml in root
* Remove root toml
* Update netlify.toml publish path
* Remove package-lock.json
* Update build for branch/preview builds
Approved-by: Linus Flood
2025-02-26 10:36:17 +00:00