fix(LOY-359): Revert back to allow non-native loyalty level in overview cards
* fix(LOY-359): Revert back to allow non-native loyalty level in overview cards
Approved-by: Erik Tiekstra
feat(SW-2782): Updated header as per design, added language switcher and user menu
* feat(SW-2782): Updated header as per design, added language switcher and user menu
* feat(SW-2782): Updated UI as per design
* feat(SW-2782): Optimised code with use of Popover and modal from RAC
Approved-by: Anton Gunnarsson
feat(LOY-346): Add modal to LevelProgressCard
* Added LevelProgressModal with styles in LevelProgressCard. Also added compareAllLevels LangRoute in webHrefs
* feat(LOY-346): Smaller changes based on comments
* feat(LOY-346): Changed paragraph to time, added textdecoration:underline, changed dialog css
* feat(LOY-346): Changed title size:)
* feat(LOY-346): Changed dates-arrow icon to in text
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Matilda Landström
fix(LOY-359): Always use scandic native tier data for all level related data
* fix(LOY-359): Always use scandic native tier data for all level related data
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
fix(LOY-360): improve text for retired employees
* fix(LOY-360): improve text for retired employees
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
SW-3317 move toast to design system
* chore: Move toast to design-system and add interaction tests
* Move toast to design-system and add storybook tests
* Merge branch 'master' of bitbucket.org:scandic-swap/web into SW-3317-move-toast-to-design-system
* merge
* move sonner dependency to @scandic-hotels/design-system
Approved-by: Anton Gunnarsson
chore(SW-3246): Moved Alert component into design system
* chore(SW-3246): Moved Alert component into design system
* chore(SW-3246): Optimsed code and imports
* chore(SW-3246): Moved type AlertTypeEnum and other to common package
Approved-by: Anton Gunnarsson
Feat(LOY-311) Create avatar design system component
* feat(LOY-311): Creat & use New Avatar Design System Component
* refactor(LOY-311): replace avatar used in app header with design system component
* fix(LOY-311): use correct space vars
Approved-by: Erik Tiekstra
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
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
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
Feat/LOY-261 Remove Sidebar From MyPages
* feat(LOY-261): remove sidebar from my pages
* refactor(LOY-261): move SASLevelUpgradeCheck to my-pages layout and remove unused code
* chore(LOY-261): remove console logs
* fix(LOY-261): remove sidebar and center content in Loyalty Pages when logged in
* fix(LOY-261): better class naming for content width
Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
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
Feat(LOY-230): DTMC Routes with Entra ID Auth & Error Page Handling
* feat(LOY-230): Link Scandic Friends and Azure accounts
* fix(LOY-230): remove employee id param setting
* fix(LOY-230): return token in jwt callback for auth.dtmc.ts
Approved-by: Michael Zetterberg
Approved-by: Christian Andolf
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
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
cleanup profile page html to be valid
replace old temp design system components with new ones
divider is now correctly an hr element
less section elements to be valid html