Hrishikesh Vaipurkar
67bdf5bbcf
Merged in chore/SW-3298-move-sidepeekselfcontrolled- (pull request #2710 )
...
chore(SW-3298): Moved SidePeekSelfControlled to design system
* chore(SW-3298): Moved SidePeekSelfControlled to design system
Approved-by: Anton Gunnarsson
2025-08-26 14:29:54 +00:00
Anton Gunnarsson
e5f8394f50
Merged in chore/move-checkbox-component (pull request #2501 )
...
chore(SW-3145): Move checkbox component to design-system
* Inline type
* Remove error handling from Checkbox internals
* Move Form/Checkbox
* Fix self referencing imports
Approved-by: Joakim Jäderberg
2025-07-03 08:37:01 +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
Bianca Widstam
f08d3330b9
Merged in fix/SW-3093-checkbox-rewardnights-sms (pull request #2422 )
...
fix(SW-3093): add sms checkbox for reward night on enter details
* fix(SW-3093): add sms checkbox for reward night on enter details
Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-06-24 12:43:02 +00:00
Simon Emanuelsson
2f553bb945
feat: change GLA to be more clear to the user
2025-06-18 11:43:53 +00: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
Michael Zetterberg
f3936f41d8
Merged in fix/label-sync (pull request #2163 )
...
fix: english label sync
* fix: english label sync
* fix: sync from Lokalise
Approved-by: Linus Flood
2025-05-21 04:11:22 +00:00
Christian Andolf
d6b70edfa3
chore: replace old border-radius variables with new tokens
2025-05-05 11:11:37 +02:00
Niclas Edenvin
d7708b682a
Merged in fix/sw-2543-toc-text (pull request #1921 )
...
fix(SW-2543): Change terms and conditions text for flex
* fix(SW-2543): Change terms and conditions text for flex
Approved-by: Michael Zetterberg
2025-05-02 07:45:37 +00:00
Michael Zetterberg
efb7219b6d
fix: copy fixes for English labels
2025-04-30 09:37:54 +00:00
Hrishikesh Vaipurkar
e34d75969a
Merged in fix/SW-1879-aa-bed-breakfastpayment- (pull request #1888 )
...
fix: SW-1879 Updated breakfast price to 0 and removed paymentSectionOpen tracking
* fix: SW-1879 Updated breakfast price to 0 and removed paymentSectionOpen tracking
Approved-by: Michael Zetterberg
2025-04-29 07:07:40 +00:00
Simon Emanuelsson
ec087a3d15
feat: refactor of my stay
2025-04-28 12:40:52 +00:00
Chuma Mcphoy (We Ahead)
169094fc37
Merged in refactor/SW-2476-use-react-aria-radio-group-for-payment-options (pull request #1849 )
...
Refactor(SW-2177): Use react aria RadioGroup & Radio for payment options
* fix(SW-SW-2177): enhance accessibility for payment options
* Added keyboard navigation support to payment options.
* Updated CSS to improve focus styles for payment option labels.
* refactor: use RadioGroup & Radio from react aria for payment options
* refactor(SW-2177): replace setValue and watch with useController for payment method handling
* fix(SW-2177): remove comment and use cx for styles on PaymentOption
* fix(SW-2177): Add keyboard focus indicator to payment option
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-04-24 11:22:36 +00:00
Hrishikesh Vaipurkar
8c0597727b
Merged in feat/SW-1879-aa-tracking-bed-breakfastpayment (pull request #1789 )
...
feat: SW-1879 Tracking enter-details sections
* feat: SW-1879 Tracking enter-details sections
* feat: SW-1879 removed onSelect to trigger in onSubmit
* feat: SW-1879 Removed onSelect and triggered inside onSubmit
* feat: SW-1879 Optimized to remove unnecessary useEffect triggers in every re-render
* feat: SW-1879 Updated breakfast package typings
* feat: SW-1879 Reverted RadioCardProps
* feat: SW-1879 Optimised code
Approved-by: Tobias Johansson
Approved-by: Christian Andolf
2025-04-16 14:06:15 +00: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
Matilda Landström
1239f0c662
Merged in feat/SW-1711-SW-2077-icons (pull request #1709 )
...
Fix(SW-1711)/(SW-2077): Export icons individually
* fix(SW-1711): export icons individually
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-04-07 07:25:25 +00:00
Arvid Norlin
01e160db41
Merged in fix/saved-card-length (pull request #1711 )
...
fix: remove rendering of savedCard.length if 0
* fix: remove rendering of savedCard.length if 0
Approved-by: Simon.Emanuelsson
2025-04-02 14:01:15 +00:00
Hrishikesh Vaipurkar
03deea1102
feat: SW-2028 Updated Guarantee notification
2025-04-01 08:18:22 +00:00
Matilda Landström
5de2a993a7
Merged in feat/SW-1711-switch-icons (pull request #1558 )
...
Switches out all the old icons to new ones, and moves them to the design system. The new icons are of three different types: Materialise Symbol, Nucleo, and Customized. Also adds further mapping between facilities/amenities and icons.
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-03-27 09:42:52 +00:00
Tobias Johansson
ac493fe325
Merged in feat/SW-1149-handle-status-polling (pull request #1562 )
...
Feat/SW-1149 handle status polling
* feat(SW-1149): move terms and conditions sections to separate component and added copy
* feat(SW-1149): Added client component to handle success callback for payment flow
* fix: check for bookingCompleted status as well
* feat(SW-1587): use alert instead of toast for showing payment errors
* fix: added enum for payment callback status
* fix: proper way of checking for multiple statuses
* fix: update schema type
* fix: use localised link to customer service
* fix: update to use enum for status strings
Approved-by: Arvid Norlin
2025-03-20 07:38:29 +00:00
Bianca Widstam
abd401c4f4
Merged in feat/SW-1368-1369-Guarantee-late-arrival (pull request #1512 )
...
Feat/SW-1368 1369 Guarantee late arrival
* feat(SW-1368-SW-1369): guarantee late arrival for confirmation page and my stay
* feat(SW-1368-SW-1369): guarantee late arrival updated design
* feat(SW-1368-SW-1369): add translations
* feat(SW-1368-SW-1369): add translations
* feat(SW-1368-SW-1369): fix merge with master
* feat(SW-1368-SW-1369): add translations
* feat(SW-1368-SW-1369): add redirect with refId
* feat(SW-1368-SW-1369): if booking completed redirect to confirmation page
* feat(SW-1368-SW-1369): fix comments pr
* feat(SW-1368-SW-1369): fix comments pr
* feat(SW-1368-SW-1369): fix rebase master
* feat(SW-1368-SW-1369): fix duplicate flex rate check
* feat(SW-1368-SW-1369): if any room is flex, card must be used
* feat(SW-1368-SW-1369): move callback route
* feat(SW-1368-SW-1369): top align checkbox
* feat(SW-1368-SW-1369): top align checkbox
Approved-by: Tobias Johansson
Approved-by: Niclas Edenvin
2025-03-14 10:43:14 +00:00