Bianca Widstam
984805ea8d
Merged in feat/SW-1936-ui-room-card (pull request #2268 )
...
feat(SW-1936): update room card ui
* feat(SW-1936): update room card ui
Approved-by: Linus Flood
2025-06-03 12:51:33 +00:00
Anton Gunnarsson
cbf9e7b7c2
Merged in chore/next15 (pull request #1999 )
...
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
2025-06-02 11:11:50 +00:00
Anton Gunnarsson
7e97b74c18
Merged in chore/remove-unused-code (pull request #2229 )
...
Remove unused code
* Remove unused scandic-web files
* Remove unused exports
Approved-by: Joakim Jäderberg
2025-05-30 12:41:18 +00:00
Christian Andolf
8e1a83ee7d
fix(SW-2172): update sidepeek buttons to use new ones for accessibility
...
updated enter details header overlay to match design
updated change room button to use new one for accessibility
other minor fixes to match design
2025-05-27 12:05:04 +02:00
Niclas Edenvin
c55e28a2ac
Merged in fix/SW-2651-scroll-multiroom (pull request #2174 )
...
fix(SW-2651): now scrolling after choosing the last room
* fix(SW-2651): now scrolling after choosing the last room
Approved-by: Bianca Widstam
2025-05-21 08:43:49 +00: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
Matilda Landström
ccaf705015
Merged in feat/SW-2505-alternative-hotels-link (pull request #2080 )
...
fix(SW-2505): alternative hotels link
* fix(SW-2505): handle no chosen room
Approved-by: Bianca Widstam
2025-05-13 13:09:54 +00:00
Matilda Landström
ccda1d6cad
Merged in feat/SW-2505-alternative-hotels-link (pull request #2065 )
...
fix(SW-2505): hide alternative hotels link when packages are added
* fix(SW-2505): hide alternative hotels link when packages are added
Approved-by: Bianca Widstam
2025-05-13 12:16:35 +00:00
Hrishikesh Vaipurkar
74a5b5748a
Merged in fix/SW-2642-select-hotel-corporate-ch (pull request #2003 )
...
fix: SW-2642 Fixed corporate chq and voucher rates city search
* fix: SW-2642 Fixed corporate chq and voucher rates city search
* fix: SW-2642 Fixed no availability alert for all hotels
* fix: SW-2642 Combined flags to suitable variable
* fix: SW-2642 Fixed map view to show prices
Approved-by: Arvid Norlin
2025-05-08 10:46:05 +00:00
Simon Emanuelsson
a99e434d84
feat: move room charge to top in price details modal
2025-05-08 10:38:44 +00:00
Christian Andolf
d6b70edfa3
chore: replace old border-radius variables with new tokens
2025-05-05 11:11:37 +02:00
Arvid Norlin
0c7836fa59
Merged in fix/SW-2553-sidepeeks (pull request #1919 )
...
Fix/SW-2553 sidepeeks
* fix(SW-2553): apply sidepeek display logic
* chore: move convertToChildType and getPriceType utils
* fix: apply PR requested changes
* fix(SW-2553): fix roomNumber for multiroom
* fix(SW-2553): fix sidepeek for my-stay page
Approved-by: Michael Zetterberg
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-05-02 15:10:34 +00:00
Hrishikesh Vaipurkar
e6a3e5dbd8
Merged in feat/SW-2398-ui-update-for-booking-codes (pull request #1862 )
...
feat: SW-2398 UI updates booking codes
* feat: SW-2398 UI updates booking codes
* feat: SW-2398 Rate cards UI changes
* feat: SW-2398 Optimized css with vars and chip code
* feat: SW-2398 Optimized code as review comments
* feat: SW-2398 Optimized code
* feat: SW-2398 Optimized code and mobile UX
* feat: SW-2398 Optimized code
* feat: SW-2398 Fixed UI
* feat: SW-2398 Updated animation
Approved-by: Erik Tiekstra
2025-05-02 12:36:22 +00:00
Erik Tiekstra
8b32abbefc
Fix/SW-1563 accessibility
...
* fix(SW-1563): Added new IconButton component to the design system and removed Icon variant inside the Button component
* fix(SW-1563): Added buttons around clickable images and changed to design system components
* fix(SW-1563): Renamed variants to match Figma
* fix(SW-1563): Renamed AriaButton to ButtonRAC
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-05-02 06:27:30 +00:00
Michael Zetterberg
efb7219b6d
fix: copy fixes for English labels
2025-04-30 09:37:54 +00:00
Michael Zetterberg
e5afdb3986
feat(SW-2470): render static rate titles
2025-04-29 08:08:21 +00:00
Michael Zetterberg
2366b4e785
feat(SW-2470): render correct terms on Select rate
2025-04-29 08:08:21 +00:00
Joakim Jäderberg
c1505ce50e
Merged in feature/warmup (pull request #1887 )
...
* unified warmup function
Approved-by: Linus Flood
2025-04-29 06:18:14 +00:00
Simon Emanuelsson
ec087a3d15
feat: refactor of my stay
2025-04-28 12:40:52 +00:00
Erik Tiekstra
7b76e351d9
fix(SW-2210): Removed isUserLoggedIn from RatesStore
2025-04-24 00:48:40 +02:00
Simon Emanuelsson
1f94c581ae
fix: unite all price details modals to one and align on ui
2025-04-23 08:45:50 +00:00
Christian Andolf
b252c8be2d
fix: booking code and reward night messages are now displayed correctly
...
also fixed an incorrect css value
2025-04-16 14:07:28 +02:00
Erik Tiekstra
8b65f63d60
fix(SW-2171): Added focus state on rate cards and image-gallery
...
Approved-by: Arvid Norlin
2025-04-16 10:24:51 +00:00
Erik Tiekstra
af182b49d8
feat(SW-2227): Implemented new design for room package filters
...
Approved-by: Arvid Norlin
2025-04-16 07:07:49 +00:00
Simon Emanuelsson
d9db9f9d34
fix: public promotion with code did not make it through the check sometimes
2025-04-16 08:31:53 +02:00
Michael Zetterberg
5860377774
feat(SW-706): enable lint rules for intl
2025-04-14 11:30:07 +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
Hrishikesh Vaipurkar
1c5b116ed8
Merged in feat/SW-1355-reward-night-booking-tracking (pull request #1758 )
...
feat: SW-1355 Tracking implementation reward night booking
* feat: SW-1355 Tracking implementation reward night booking
* feat: SW-1355 Updated checks and optional params
* feat: SW-1355 Typings updated
* feat: SW-1355 Removed undefined check
* feat: SW-1355 optimized code
Approved-by: Christian Andolf
2025-04-14 11:10:03 +00:00
Simon Emanuelsson
d72c84d949
feat: filters work together
2025-04-14 06:51:44 +00:00
Simon Emanuelsson
afb37d0cc5
feat: bedtypes is selectable again
2025-04-12 08:32:42 +00:00
Tobias Johansson
0b1625b678
Merged in feat/SW-1526-select-room-rate-focus (pull request #1732 )
...
fix(SW-1526): adjusted scroll position when selecting a rate
* fix: adjusted scroll position when selecting a rate
* fix
Approved-by: Michael Zetterberg
2025-04-11 10:45:07 +00:00
Christian Andolf
ee72f58c33
fix: consolidate media queries to be consistent with ranges
2025-04-09 16:30:12 +02:00
Tobias Johansson
e6ae6ff650
Merged in feat/SW-2113-allow-feature-combinations (pull request #1719 )
...
Feat/SW-2113 allow feature combinations
* feat(SW-2113): Refactor features data to be fetched on filter room filter change
* feat(SW-2113): added loading state
* fix: now clear room selection when applying filter and room doesnt exists. And added room features to mobile summary
* fix
* fix: add package to price details
* feat(SW-2113): added buttons to room filter
* fix: active room
* fix: remove console log
* fix: added form and close handler to room package filter
* fix: add restriction so you cannot select pet room with allergy room and vice versa
* fix: fixes from review feedback
* fix
* fix: hide modify button if on nextcoming rooms if no selection is made, and adjust filter logic in togglePackage
* fix: forgot to use roomFeatureCodes from input..
* fix: naming
Approved-by: Simon.Emanuelsson
2025-04-07 11:36:34 +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
8a7c55edff
fix: apply logic for full prices filter
2025-04-03 08:56:42 +00:00
Simon Emanuelsson
a222ecfc5c
fix: make sure calculations in booking flow are correct
2025-04-02 15:00:39 +00:00
Linus Flood
e4907d4b47
Merged in fix/destinations-speed-test (pull request #1704 )
...
Feat(destination pages): Performance improvements
* fix/destinations: try cache full response
* Added more caching
* Removed unsed env car
* wip
* merge master
* wip
* wip
* wip
* Renaming
Approved-by: Michael Zetterberg
2025-04-02 11:37:22 +00:00
Arvid Norlin
961e8aea91
Merged in fix/SW-1631-rate-terms-modal (pull request #1699 )
...
fix(SW-1631): add rate terms modal
* fix(SW-1631): add rate terms modal
Approved-by: Simon.Emanuelsson
2025-04-02 09:36:53 +00:00
Erik Tiekstra
df32c08350
feat(SW-2043): Added new room packages filter
...
* feat(SW-2043): Added new room packages filter
* fix(SW-2043): Fixed issue with not updating price when selecting pet room
Approved-by: Tobias Johansson
Approved-by: Matilda Landström
2025-04-01 09:54:09 +00:00
Hrishikesh Vaipurkar
4e9ee82efa
feat: SW-2028 Fix after rebase
2025-04-01 08:18:22 +00:00
Simon Emanuelsson
ebaea78fb3
feat(SW-1717): rewrite select-rate to show all variants of rate-cards
2025-03-28 17:07:54 +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
Hrishikesh Vaipurkar
b0674d07f5
Merged in feat/SW-1308-booking-codes-track-b (pull request #1607 )
...
Feat/SW-1308 booking codes track b
* feat: SW-1308 Booking codes track b
* feat: SW-1308 Booking codes Track B implementation
* feat: SW-1308 Optimized after rebase
Approved-by: Arvid Norlin
2025-03-24 11:23:11 +00:00
Hrishikesh Vaipurkar
c5e294c7ea
Merged in feat/SW-1356-reward-night-booking-2- (pull request #1559 )
...
feat: SW-1356 Reward night bookingflow
* feat: SW-1356 Reward night bookingflow
* feat: SW-1356 Removed extra param booking call
* feat: SW-1356 Optimized as review comments
* feat: SW-1356 Schema validation updates
* feat: SW-1356 Fix after rebase
* feat: SW-1356 Optimised price.redemptions check
* feat: SW-1356 Updated Props naming
Approved-by: Arvid Norlin
2025-03-24 08:54:02 +00:00
Simon Emanuelsson
cf91d3d947
fix: we showed duplicate rooms because every bed represents a room
2025-03-19 19:36:47 +01:00
Simon Emanuelsson
1812591903
feat: add multiroom tracking to booking flow
2025-03-17 09:47:42 +01:00
Joakim Jäderberg
fa63b20ed0
Merged in feature/redis (pull request #1478 )
...
Distributed cache
* cache deleteKey now uses an options object instead of a lonely argument variable fuzzy
* merge
* remove debug logs and cleanup
* cleanup
* add fault handling
* add fault handling
* add pid when logging redis client creation
* add identifier when logging redis client creation
* cleanup
* feat: add redis-api as it's own app
* feature: use http wrapper for redis
* feat: add the possibility to fallback to unstable_cache
* Add error handling if redis cache is unresponsive
* add logging for unstable_cache
* merge
* don't cache errors
* fix: metadatabase on branchdeploys
* Handle when /en/destinations throws
add ErrorBoundary
* Add sentry-logging when ErrorBoundary catches exception
* Fix error handling for distributed cache
* cleanup code
* Added Application Insights back
* Update generateApiKeys script and remove duplicate
* Merge branch 'feature/redis' of bitbucket.org:scandic-swap/web into feature/redis
* merge
Approved-by: Linus Flood
2025-03-14 07:54:21 +00:00
Michael Zetterberg
91c36ee41c
fix: clean up dictionaries
2025-03-13 08:29:48 +00:00
Tobias Johansson
1009ea87c9
Merged in fix/SW-1686-show-correct-room-availabilty-number (pull request #1491 )
...
fix: filter to only show available rooms in roomFilter
* fix: filter to only show available rooms in roomFilter
Approved-by: Niclas Edenvin
2025-03-10 08:32:14 +00:00
Simon.Emanuelsson
c3e3fa62ec
Merged in fix/allow-single-rateCode (pull request #1438 )
...
fix: allow rates that only have either of member or public to be selectable
* fix: allow rates that only have either of member or public to be selectable
Approved-by: Michael Zetterberg
2025-03-03 08:28:55 +00:00