Commit Graph

80 Commits

Author SHA1 Message Date
Tobias Johansson
53b6628b25 Merged in feat/SW-965-select-rate-modify-room (pull request #1326)
Feat/SW-965 select rate modify room

* feat(SW-965): added new state for modify room and smaller fixes

* feat(SW-965): update state handling of modifyRateIndex

* fix: adjust scroll animation to handle modifyRateIndex

* fix: room state logic and removed unused css class


Approved-by: Pontus Dreij
Approved-by: Arvid Norlin
2025-02-14 07:48:30 +00:00
Bianca Widstam
8d6f4b82f3 Merged in feat/SW-1522-select-rate-alternative-hotels (pull request #1312)
feat(SW-1522): add alternative hotel link on select rate if no availability and move alert

* feat(SW-1522): add alternative hotel link on select rate and move alert


Approved-by: Linus Flood
2025-02-12 08:46:15 +00:00
Tobias Johansson
b394d54c3f Merged in feat/enter-details-multiroom (pull request #1280)
feat(SW-1259): Enter details multiroom

* refactor: remove per-step URLs

* WIP: map multiroom data

* fix: lint errors in details page

* fix: made useEnterDetailsStore tests pass

* fix: WIP refactor enter details store

* fix: WIP enter details store update

* fix: added room index to select correct room

* fix: added logic for navigating between steps and rooms

* fix: update summary to work with store changes

* fix: added room and total price calculation

* fix: removed unused code and added test for breakfast included

* refactor: move store selectors into helpers

* refactor: session storage state for multiroom booking

* feat: update enter details accordion navigation

* fix: added room index to each form component so they select correct room

* fix: added unique id to input to handle case when multiple inputs have same name

* fix: update payment step with store changes

* fix: rebase issues

* fix: now you should only be able to go to a step if previous room is completed

* refactor: cleanup

* fix: if no availability just skip that room for now

* fix: add select-rate Summary and adjust typings


Approved-by: Arvid Norlin
2025-02-11 14:24:24 +00:00
Pontus Dreij
c863294919 Merged in feat/SW-1055-Accordion-for-summary-bar-in-mobile-on-Select-Rate (pull request #1283)
Feat/SW-1055 Accordion for summary bar in mobile on Select Rate

* feat(SW-1055) created mobile summary for select rate

* feat(SW-1055) Added summary for mobile (accordion)


Approved-by: Tobias Johansson
2025-02-10 15:11:31 +00:00
Pontus Dreij
cb7d7efc86 fix: Removed composes so it's easier to change from css modules if we want 2025-02-08 13:58:23 +01:00
Linus Flood
ebb007b7f0 Merged in feat/booking-flow-performance (pull request #1282)
feat: booking flow performance

* feat: booking flow performance

* Cleanup


Approved-by: Michael Zetterberg
Approved-by: Pontus Dreij
2025-02-08 10:40:42 +00:00
Pontus Dreij
fbe05eb456 Merged in feat/SW-717-multiroom-select-hotel-api (pull request #1225)
Feat/SW-717 multiroom select hotel api
2025-02-07 13:15:07 +00:00
Simon.Emanuelsson
c204532acc Merged in feat/SW-1261 (pull request #1263)
feat: only show member price when logged in

* feat: only show member price when logged in


Approved-by: Michael Zetterberg
2025-02-07 08:51:50 +00:00
Pontus Dreij
575420ca0a feat(SW-717) use of combineRoomAvailabilities in RoomsContainer 2025-02-07 08:48:45 +01:00
Pontus Dreij
dcd45ee31d feat(SW-717) make reduce more understandable 2025-02-07 08:38:49 +01:00
Pontus Dreij
e00cea4646 feat(SW-717) use of AvailabilityEnum instead of strings 2025-02-07 08:38:47 +01:00
Pontus Dreij
7a9bfd447b feat(SW-717) Fixed bug where available rooms didn't show if there where also unavaible dublicates. 2025-02-07 08:37:57 +01:00
Pontus Dreij
d5bc2b3c57 feat(SW-717) Multiple requests if adult differ between rooms 2025-02-07 08:37:53 +01:00
Michael Zetterberg
1d822dad5a Merged in fix/labels-english (pull request #1249)
fix(i18n): validated English messages

Approved-by: Bianca Widstam
Approved-by: Christian Andolf
2025-02-06 20:54:25 +00:00
Anton Gunnarsson
fc866c0e4d Merged in feat/sw-1493-revised-comparison-block (pull request #1236)
feat(SW-1493): Revised SAS comparison block

* Base of new TierDetails for SAS tier comparison

* Add backgrounds and content to TierDetails

* Implement new cms schema for SasTierComparison

* Override gap in jsontohtml styling to 0

* Add animations to comparison details

* Redesign again

* Update content model to new design

* Add border to bottom item in tier match list

* Wrap interpolate-size in @supports to be safe

* Merge branch 'master' into feat/sw-1493-revised-comparison-block


Approved-by: Joakim Jäderberg
2025-02-03 08:42:16 +00:00
Pontus Dreij
b6d8431e82 Merged in feat/SW-964-Sticky-summary-multiroom (pull request #1231)
Feat/SW-964 Sticky summary multiroom (UX)

* feat(SW-964) Multiroom support for summary in select-rate

* feat(SW-964) added utils for calculateTotalPrice

* feat(SW-964) Removed duplicated code


Approved-by: Tobias Johansson
2025-01-31 11:09:46 +00:00
Simon Emanuelsson
13a164242f fix: clean up hotel and its typings 2025-01-30 13:50:02 +01:00
Pontus Dreij
eef7c222aa feat(SW-718) refactor: optimize rate selection and room scrolling 2025-01-30 11:19:22 +01:00
Pontus Dreij
ab7b826cd2 feat(SW-718) created useRoomFilteringStore 2025-01-30 11:19:22 +01:00
Pontus Dreij
b42f92b121 feat(SW-718) Updated css naming 2025-01-30 11:19:22 +01:00
Pontus Dreij
f1ca27ebd6 feat(SW-718) moved RoomCardSkeleton 2025-01-30 11:19:22 +01:00
Pontus Dreij
3f43d35448 feat(SW-718) Removed unused 2025-01-30 11:19:22 +01:00
Pontus Dreij
68d7e869db feat(SW-718) updates after PR comments 2025-01-30 11:19:22 +01:00
Pontus Dreij
bfdc62d263 feat(SW-718): fix comments 2025-01-30 11:19:22 +01:00
Pontus Dreij
2c7f6006c5 feat(sW-718) use convertSearchParamsToObj instead of new util 2025-01-30 11:19:22 +01:00
Pontus Dreij
2a6c88d897 feat(SW-718): Created store for selectRate 2025-01-30 11:19:22 +01:00
Pontus Dreij
98793c58e3 feat(SW-718): Animation on selection of multiple room 2025-01-30 11:19:22 +01:00
Pontus Dreij
328cbbe0e1 feat(SW-718) Fixed filtering with multirooms 2025-01-30 11:19:22 +01:00
Pontus Dreij
edcf146ce1 feat(SW-718) Refactor select rate to support multiroom 2025-01-30 11:19:22 +01:00
Pontus Dreij
7d716dcf4a feat(SW-718): parse room from searchParams 2025-01-30 11:19:22 +01:00
Matilda Landström
577a4ca35e Merged in feat/SW-1333-hotel-endpoint (pull request #1206)
Feat(SW-133): Add additionalData endpoint

Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-01-27 11:39:13 +00:00
Linus Flood
69b69af03c Merged in feat/enter-details-tracking (pull request #1185)
Feat/enter details tracking

* feat: fixed bug in enter details tracking

* Sidepeek events, lowestroomPrice and analyticsRateCode

* Cleanup and fixed bug

* Fixed analyticsratecode

* Merge master

* merge master

* Removed console logs

* Added ancillaries tracking to enter details

* Added ancillary on confirmation page

* Removed console log

* Merge branch 'master' into feat/enter-details-tracking

* Refactor searchparams

* Hard code values for breakfast ancillary


Approved-by: Joakim Jäderberg
2025-01-17 07:42:44 +00:00
Christel Westerberg
b2935114e3 refactor: url management in hotel reservation flow 2025-01-14 11:09:42 +01:00
Michael Zetterberg
d2ce9c0d7c fix(i18n): prepare for Lokalise 2025-01-13 13:35:03 +01:00
Linus Flood
fa20f128ef Merged in feat/check-session-fix-2 (pull request #1154)
fix: is user logged in fix

* fix: is user logged in fix
2025-01-08 15:38:36 +00:00
Linus Flood
8308d00464 fix: valid session check in rooms container 2025-01-08 15:24:20 +01:00
Christel Westerberg
5901cab440 fix: refactor breadcrumbs to take page type variants to better match margins 2025-01-07 11:41:39 +01:00
Niclas Edenvin
b5b59329f4 Merged in fix/sw-1248-sort-unavailable-rooms (pull request #1126)
fix(SW-1248): show unavailable rooms last

* fix(SW-1248): show unavailable rooms last


Approved-by: Hrishikesh Vaipurkar
2025-01-07 08:35:42 +00:00
Erik Tiekstra
05006506f0 feat(SW-1012): Added possibility for multiple include params for hotels 2024-12-17 14:12:37 +01:00
Christian Andolf
e08e960209 chore: add consistent type imports 2024-12-12 11:47:44 +01:00
Niclas Edenvin
f98b07ab22 Merged in fix/sw-1144-prefill-filters (pull request #1049)
fix(SW-1144): preselect room features from URL

* fix(SW-1144): preselect room features from URL


Approved-by: Bianca Widstam
Approved-by: Pontus Dreij
2024-12-10 12:50:15 +00:00
Bianca Widstam
9e42cf0f37 Merged in fix/SW-1153-correct-breakfast-message (pull request #1060)
fix(SW-1153): fix breakfast message for ScandicGo hotels

Approved-by: Pontus Dreij
2024-12-10 08:13:13 +00:00
Bianca Widstam
a0c2d0bef7 fix(SW-1042): fix comment 2024-12-04 14:09:16 +01:00
Bianca Widstam
61f9290487 fix(SW-1042)(SW-1114)(SW-1123): fix select room bugs 2024-12-04 14:09:16 +01:00
Christel Westerberg
8bfc4065ed fix: add wrapper function for caching 2024-11-26 08:48:19 +01:00
Christel Westerberg
317731c24d fix: handle no children 2024-11-25 15:08:12 +01:00
Joakim Jäderberg
a1c5ae95be fix: skeletons wasn't center aligned 2024-11-22 11:19:17 +01:00
Joakim Jäderberg
2ba25a70ba fix: filtering rooms should remove them instead of displaying as not available 2024-11-22 10:46:30 +01:00
Joakim Jäderberg
079ad45ded fix: move date logic to its own file with tests
fix: missing packages should not prevent render
fix: display nothing if roomavailability returns nothing
2024-11-22 10:29:59 +01:00
Joakim Jäderberg
10bd915217 merge 2024-11-21 12:43:25 +01:00