Bianca Widstam
46fa42750f
Merged in feat/BOOK-529-update-GLA-design-mystay (pull request #3230 )
...
Feat/BOOK-529 update GLA design mystay
* feat(BOOK-529): update gla design on my stay
* feat(BOOK-529): open gla modal if error
* feat(BOOK-529): add inline accordion to storybook
* feat(529): move errormessage below message
* feat(529): update infomodal
* feat(BOOK-529): update infomodal
* feat(BOOK-529): hide guarantee info for adding ancillaries if prepaid
* feat(BOOK-529): update width on info dialog
* feat(BOOK-529): fix alignment
* feat(BOOK-529): check if member price
* feat(BOOK-529): refactor msg
* feat(BOOK-529): refactor terms and conditions to own component
* feat(BOOK-529): clean up confirmation step
Approved-by: Christel Westerberg
2025-11-28 14:27:25 +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
Christian Andolf
9551a629fa
refactor: move divider to design system
...
remove not used variants and duplicate colors
2025-06-13 11:27:50 +02:00
Simon Emanuelsson
ec087a3d15
feat: refactor of my stay
2025-04-28 12:40:52 +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
Simon Emanuelsson
afb37d0cc5
feat: bedtypes is selectable again
2025-04-12 08:32:42 +00:00
Hrishikesh Vaipurkar
73cb423c95
Merged in feat/SW-2078-update-confirmation-page-vouchers (pull request #1731 )
...
Feat/SW-2078 update confirmation page vouchers and Corp Cheques rate
* feat: SW-2078 Tablet bookingCode ref forward issue fix
(cherry picked from commit 16a6a00fd99b6b6220a98ad74de062d67d35e1c0)
* feat: SW-2078 Display Vouchers and Cheques prices on confirmation page
(cherry picked from commit a76494de497a7d5e7641cb0036bd7055acf875c1)
* feat: SW-2078 Rebase issue fix
* feat: SW-2079 Updated rate title in terms modal
* feat: SW-2078 Optimized code
* feat: SW-2078 Removed extra tags
Approved-by: Christian Andolf
2025-04-08 07:27:40 +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
Simon Emanuelsson
2abd4c5c12
fix: display modify dates for already guaranteed changeable rates
2025-04-04 08:46:47 +00:00
Pontus Dreij
b48053b8b4
Merged in feat(SW-2083)-missing-booking-codes-scenarios-my-stay (pull request #1680 )
...
Feat(SW-2083) missing booking codes scenarios my stay
* feat(SW-2083) Show points instead of reward nights
* feat(SW-2083) added support for cheque and voucher for totalPrice
Approved-by: Niclas Edenvin
2025-03-31 11:42:47 +00:00
Pontus Dreij
a8358de04a
Merged in feat(SW-2084)-disable-options-modify-my-stay (pull request #1662 )
...
feat(SW-2084) logic to disable Manage stay options
* feat(SW-2084) logic to disable Manage stay options
* feat(SW-2084) cleanup logic for checks
* feat(SW-2084) check if date has passed
* feat(SW-2084) change to datetimeIsInThePast
Approved-by: Niclas Edenvin
2025-03-31 07:44:46 +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
Pontus Dreij
74c5b47319
Merged in feat/SW-1737-design-mystay-multiroom (pull request #1565 )
...
Feat/SW-1737 design mystay multiroom
* feat(SW-1737) Fixed member view of guest details
* feat(SW-1737) fix merge issues
* feat(SW-1737) Fixed price details
* feat(SW-1737) removed unused imports
* feat(SW-1737) removed true as statement
* feat(SW-1737) updated store handling
* feat(SW-1737) fixed bug showing double numbers
* feat(SW-1737) small design fixed
* feat(SW-1737) fixed rebase errors
* feat(SW-1737) fixed create booking error with dates
* feat(SW-1737) fixed view multiroom as singleroom
* feat(SW-1737) fixes for multiroom
* feat(SW-1737) fixed bookingsummary
* feat(SW-1737) dont hide modify dates
* feat(SW-1737) updated breakfast to handle number
* feat(SW-1737) Added red color if member rate
* feat(SW-1737) fix PR comments
* feat(SW-1737) updated member tiers svg
* feat(SW-1737) updated how to handle paymentMethodDescription
* feat(SW-1737) fixes after testing mystay
* feat(SW-1737) updated Room type to just use whats used
* feat(SW-1737) fixed access
* feat(SW-1737) refactor my stay after PR comments
* feat(SW-1737) fix roomNumber translation
* feat(SW-1737) removed log
Approved-by: Arvid Norlin
2025-03-24 09:30:10 +00:00
Bianca Widstam
3c1eee88b1
Merged in feat/SW-1370/Guarantee-my-stay-ancillaries (pull request #1545 )
...
Feat/SW-1370/Guarantee my stay ancillaries
* feat(SW-1370): guarantee for ancillaries
* feat(SW-1370): remove console log
* feat(SW-1370): add translations
* feat(SW-1370): small fix
* feat(SW-1370): fix must be guaranteed
* feat(SW-1370): fix logic and comments pr
* feat(SW-1370): fix comments pr
* feat(SW-1370): fix comments pr
* feat(SW-1370): add translation
* feat(SW-1370): add translation and fix pr comment
* feat(SW-1370): fix pr comment
* feat(SW-1370): fix encoding path refId issue
* feat(SW-1370): refactor AddAncillaryStore usage and introduce context provider
* feat(SW-1370): refactor
* feat(SW-1370): refactor ancillaries
* feat(SW-1370): fix merge
Approved-by: Simon.Emanuelsson
2025-03-21 07:29:04 +00:00
Pontus Dreij
fb321cdb13
Merged in feat(SW-1274)-modify-date-my-stay (pull request #1528 )
...
Feat(SW-1274) modify date my stay
* feat(SW-1676): Modify guest details step 1
* feat(SW-1676) Integration to api to update guest details
* feat(SW-1676) Reuse of old modal
* feat(SW-1676) updated modify guest
* feat(SW-1676) cleanup
* feat(SW-1274) modify stay modal and datepicker
* feat(SW-1274) DatePicker from modify dates
* feat(SW-1274) Modify dates fixes and merge conflicts
* feat(SW-1274) handle modify for multiroom
* feat(SW-1274) update manage stay
* feat(SW-1274) fixed some comments
* feat(SW-1274) use Modal instead
* feat(SW-1274) fixed formatChildBedPreferences
* feat(SW-1274) removed any as prop
* feat(SW-1274) fix rebase conflicts
* feat(SW-1274) fix flicker on modify modal
* feat(SW-1274) CalendarButton
* feat(SW-1274) fixed gap variable
* feat(SW-1274) simplified code
* feat(SW-1274) Split up DatePicker on mode
* feat(SW-1274) Updated file structure for datepicker
Approved-by: Arvid Norlin
2025-03-19 13:11:03 +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
Michael Zetterberg
91c36ee41c
fix: clean up dictionaries
2025-03-13 08:29:48 +00:00
Pontus Dreij
2509794d0c
Merged in feat/SW-1676-modify-contact-details-my-stay-anonymous (pull request #1468 )
...
Feat/SW-1676 modify contact details my stay anonymous
* feat(SW-1676): Modify guest details step 1
* feat(SW-1676) Integration to api to update guest details
* feat(SW-1676) Reuse of old modal
* feat(SW-1676) updated modify guest
* feat(SW-1676) cleanup
* feat(SW-1676) updated myStayReturnRoute to sessionStorage
Approved-by: Niclas Edenvin
2025-03-07 13:41:25 +00:00
Bianca Widstam
4fc25e42b5
Merged in feat/SW-1648-booking-code-my-stay (pull request #1447 )
...
feat(SW-1648): add booking code on my stay
* feat(SW-1648): add booking code on my stay
Approved-by: Niclas Edenvin
2025-02-28 14:09:23 +00:00
Pontus Dreij
69139c5230
Merged in feat(SW-1279)-mystay-multirum-cancelling (pull request #1443 )
...
Feat(SW-1279) mystay multirum cancelling
* feat(SW-1279) Cancelation text if non-user on room 2-4
* feat(SW-1279) cancel mystay multiroom
* feat(SW-1279): Added cancellation for multiroom on mystay
Approved-by: Niclas Edenvin
2025-02-28 07:17:25 +00:00
Pontus Dreij
31a536b1f7
Merged in feat(SW-1722)-mystay-multiroom-view (pull request #1396 )
...
Feat(SW-1722) mystay multiroom view
* feat(SW-1722) View all rooms on my stay
* feat(sW-1722) Show linked reservation
* feat(SW-1722) merged monorepo
* feat(SW-1722) yarn install
* feat(SW-1722) removed unused data
* feat(SW-1722) Streaming data from the server to the client
Approved-by: Niclas Edenvin
2025-02-27 07:24:56 +00: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