Hrishikesh Vaipurkar
55e25d6c75
Merged in chore/SW-3397-move-confirmation-component-with (pull request #2759 )
...
chore(SW-3397) Moved Confirmation component with Header to booking-flow package
* chore(SW-3397) Moved Confirmation component with Header to booking-flow package
* chore(SW-3397): Optimised code
Approved-by: Anton Gunnarsson
2025-09-04 13:07:11 +00:00
Joakim Jäderberg
72f4f72a17
Merged in SW-3317-move-toast-to-design-system (pull request #2716 )
...
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
2025-08-27 13:03:17 +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
Linus Flood
b35ceafc00
Merged in feat/SW-2903-tokens (pull request #2508 )
...
feat(SW-2358): Use personal token if logged in
* feat(SW-2903): Use personal token if logged in
* Avoid encoding values in cookie
* Fix tests
Approved-by: Anton Gunnarsson
2025-07-08 11:24:31 +00:00
Hrishikesh Vaipurkar
71c6f4cab3
Merged in chore/SW-3145-move-button (pull request #2527 )
...
chore: SW-3145 Moved tempdesign button to design-system
* chore: SW-3145 Moved tempdesign button to design-system
Approved-by: Anton Gunnarsson
2025-07-07 07:11:18 +00:00
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
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
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
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
b3b3704c86
feat: update links default color to match design documents
2025-06-02 15:34:40 +02:00
Linus Flood
ad5ec80645
Merged in feat/sw-2855-urls (pull request #2177 )
...
feat: sw-2855 urls
* feat: sw-2855 urls
Approved-by: Joakim Jäderberg
2025-05-21 09:11:02 +00:00
Arvid Norlin
2f7a3e624b
fix: remove placeholder example texts
2025-05-05 12:37:03 +00:00
Michael Zetterberg
b910b6a313
feat(SW-2116): Use refId instead of confirmationNumber
2025-05-05 12:26:37 +00:00
Michael Zetterberg
efb7219b6d
fix: copy fixes for English labels
2025-04-30 09:37:54 +00:00
Christian Andolf
d00e8f09a6
fix: add title to find booking page
...
add email type to email field
2025-04-14 16:14:52 +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
Pontus Dreij
8f9e268802
Merged in feat(SW-1944)-update-url-to-mystay (pull request #1566 )
...
feat(SW-1944) Update to correct URL to my stay (for my pages/my stays and confirmation page)
* feat(SW-1944) Update to correct URL to my stay (for my pages/my stays and confirmation page)
* feat(SW-1944) updated to RefId
* feat(SW-1944) updated myStay path
* feat(SW-1944) updated refId check
Approved-by: Christian Andolf
2025-03-20 09:55:24 +00:00
Christian Andolf
7ddca4acba
Merged in fix/change-ref-id-to-query-param (pull request #1578 )
...
fix: my stay now uses ref id in query param rather than path param to support legacy
* fix: my stay now uses ref id in query param rather than path param to support legacy
Approved-by: Michael Zetterberg
2025-03-19 11:39:16 +00:00
Christian Andolf
b65bdce277
fix: add some more informative messages when booking cant be accessed
...
upped cookie length from 30 seconds to 10 minutes
added default values to prevent the default required error message to appear in form
2025-03-17 14:09:08 +01:00
Christian Andolf
1a8a57599c
fix: encoding find my booking cookie since next decodes when parsing
...
this is done in order to handle emails containing plus signs
2025-03-13 08:28:03 +00:00
Christian Andolf
b0df70e552
feat(SW-1710): add access checks to my stay page for viewing booking
2025-03-10 09:45:56 +01:00
Christian Andolf
c98ac88ac0
feat(SW-1773): add proper validation to form and query
2025-03-03 08:57:48 +01:00
Christian Andolf
7a8b926f0a
fix(SW-1273): update customer service info with link instead of phone number
2025-02-27 09:57:18 +01:00
Christian Andolf
8f17622f21
fix(SW-1273): move find my booking page to the correct folder after monorepo migration
2025-02-27 09:57:18 +01:00