Commit Graph

256 Commits

Author SHA1 Message Date
Bianca Widstam
beb776bac9 Merged in fix/remove-filter-to-show-all-hotels (pull request #925)
Fix/remove filter to show all hotels

* fix: remove filter to show all hotels on select-hotel-page

* fix: add missing translations


Approved-by: Pontus Dreij
2024-11-18 17:30:55 +00:00
Bianca Widstam
3c4907efce fix/SW-902-update-response-city-availability (pull request #917)
Fix/SW-902 update response city availability

* fix(SW-902): update response for API changes

* fix(SW-902): add total row for pricePerStay

* fix(SW-902): fix optional requestedPrice

* fix(SW-902): fix bookingCode output

* feat(SW-903): fix sorting


Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2024-11-18 15:08:12 +00:00
Pontus Dreij
800d40a606 feat(SW-589): Added correct breakfastMessage, also fixed some small issues 2024-11-18 15:22:13 +01:00
Tobias Johansson
a70f8a3b97 Merged in feat/SW-618-payment-non-happy-path (pull request #874)
Feat/SW-618 payment non happy path

* feat(SW-618): filter out expired saved cards

* feat(SW-618): Added payment error codes and way of showing messages based on code

* feat(SW-618): show error message if max retries has been reached and remove search param after showing toast

* fix(SW-618): move fallback error codes

* fix(SW-618): remove ref from stopping useEffect to run twice

* fix(SW-618): refactored logic for toast message and minor fixes

* fix(SW-618): remove error message enum due to static analysis problems


Approved-by: Christian Andolf
Approved-by: Arvid Norlin
2024-11-18 14:10:11 +00:00
Niclas Edenvin
d18bc45b19 Merged in feat/SW-342-filtering-and-sorting-mobile (pull request #919)
Feat/SW-342 filtering and sorting mobile

* feat(SW-342): add sort and filter on mobile

* Use zustand for state management

* Add count and translations

* Clear filters

* Small fixes

* Fixes


Approved-by: Pontus Dreij
2024-11-18 14:02:32 +00:00
Fredrik Thorsson
4002d63c59 feat(SW-880): update facility type rendering 2024-11-18 12:17:59 +01:00
Fredrik Thorsson
5377a43f56 feat(SW-880): add translations 2024-11-18 12:17:59 +01:00
Fredrik Thorsson
32c444117d feat(SW-880): add function for type mapping 2024-11-18 12:17:59 +01:00
Fredrik Thorsson
cf0173ef57 feat(SW-880): add wellness and exercise sidepeek 2024-11-18 12:17:59 +01:00
Hrishikesh Vaipurkar
a17010a431 feat: SW-602 Implemented no availability states 2024-11-15 18:20:48 +01:00
Bianca Widstam
ef2ef3c9a8 feat/SW-604-select-hotel-page-UI (pull request #905)
Feat/SW-604 select hotel page UI

* feat(SW-604): update header, scandic logo, and map text

* feat(SW-604): fix map button

* feat(SW-604): fix align header

* feat(SW-604): hide filter for mobile

* feat(SW-604): fix padding

* feat(SW-604): fix padding again

* feat(SW-604): fix mobile design

* feat(SW-604): fix padding


Approved-by: Pontus Dreij
2024-11-15 10:15:26 +00:00
Pontus Dreij
2f26680733 Merged in feat/SW-629-empty-state-hotel-page (pull request #901)
feat(SW-629): Added no availabilty if no hotels are listed

Approved-by: Niclas Edenvin
2024-11-15 07:19:16 +00:00
Niclas Edenvin
18d40120b9 Merged in feat/SW-338-filter-sort-ui (pull request #896)
Feat/SW-338 design filters and sorting on select hotel

* feat(SW-338): design hotel sort dropdown

* Translations

* feat(SW-338): style filters

* Bold

* Import type

* Translations

* Rename and add translation

* Rename translation


Approved-by: Bianca Widstam
2024-11-15 07:18:30 +00:00
Pontus Dreij
d158aca6fd feat(SW-629): Added no availabilty if no hotels are listed 2024-11-14 16:23:44 +01:00
Bianca Widstam
87a89c5d81 feat/SW-843-UI-hotel-card-select-hotel (pull request #887)
Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2024-11-14 09:14:26 +00:00
Erik Tiekstra
cc7f4e0478 fix(SW-842): fixed close button positioning 2024-11-14 08:02:06 +01:00
Erik Tiekstra
692320bd61 feat(SW-842): Some refactoring regarding room card 2024-11-14 07:53:39 +01:00
Erik Tiekstra
962760ae1b feat(SW-842): Added lightbox to roomcard 2024-11-14 07:53:39 +01:00
Pontus Dreij
9a667257a4 feat(SW-829): Added MemberDiscountBanner to Rate Summary 2024-11-13 13:50:08 +01:00
Christel Westerberg
66b2dc0c78 feat: add mobile summary 2024-11-12 08:58:02 +01:00
Niclas Edenvin
0f97757e31 Merged in feat/sw-620-sort-hotels (pull request #868)
Feat/sw-620 sort hotels

* SW-620 Add radio button to select box

* feat(SW-620): Implement sorting on select hotel

* Fix casing

* Shallow copy hoteldata

* Use translations

* Remove unnecessary style

* Import order

* Type


Approved-by: Pontus Dreij
2024-11-11 08:55:49 +00:00
Pontus Dreij
5f46844b9b feat(SW-340): Added scroll to top button 2024-11-11 09:12:44 +01:00
Pontus Dreij
6debd2d898 feat(sw-343): Added "See on map" translations 2024-11-06 08:51:05 +01:00
Pontus Dreij
60dbec904a feat(sw-350) adding correct copy 2024-11-01 16:12:33 +01:00
Fredrik Thorsson
5b3958e017 feat(SW-713): update styling for sidepeek 2024-11-01 09:52:35 +01:00
Fredrik Thorsson
ddc190e0c8 feat(SW-713): add rooms sidepeek on hotelpage 2024-11-01 09:52:35 +01:00
Bianca Widstam
48be809729 fix(SW-712): add missing translations 2024-11-01 08:11:39 +01:00
Christel Westerberg
7954c704d9 feat: consume serach params in summary and step page 2024-10-30 15:50:08 +01:00
Tobias Johansson
7819db2bb2 fix(SW-614): update enter details strings 2024-10-30 09:44:49 +00:00
Tobias Johansson
a690750c36 feat(SW-614): Add mustBeGuaranteed flag and update content based on this 2024-10-30 09:44:49 +00:00
Tobias Johansson
6523e2329b feat(SW-614): added i18n strings 2024-10-30 09:44:49 +00:00
Simon Emanuelsson
62f549e85d feat: get breakfast package from API 2024-10-29 15:39:21 +01:00
Pontus Dreij
62cf5dab80 feat(sw-453): fixed pr comments and default filter 2024-10-29 11:15:06 +01:00
Pontus Dreij
917f44f323 feat(sw-453): fixed mobile view and some improvements 2024-10-29 11:15:03 +01:00
Pontus Dreij
8da94fc259 feat(SW-453): Fixed new filter buttons and updated price in summary 2024-10-29 11:12:32 +01:00
Pontus Dreij
7b36139684 feat(sw-453): implemented filter from packages 2024-10-29 11:10:27 +01:00
Pontus Dreij
260c9096f6 feat(sw-453): fixed lang files 2024-10-29 11:10:26 +01:00
Pontus Dreij
fc63a8e5ca feat(SW-453) added filter options 2024-10-29 11:10:26 +01:00
Pontus Dreij
aea963740b feat(sw-453): Added selected types count 2024-10-29 11:10:26 +01:00
Chuma McPhoy
6c56fbc313 fix(SW-667): update translations based on content team requirements 2024-10-29 10:39:07 +01:00
Chuma McPhoy
8219ff1931 fix(SW-667): proper contact padding on mobile + translations 2024-10-29 10:39:07 +01:00
Niclas Edenvin
0efa52ada5 Merged in feat/sw-587-sidepeek-for-room (pull request #767)
Create the sidepeek for a specific roomtype. This also changes the lightbox to use react-aria instead of radix-ui, so we use the same for the lightbox and the sidepeek. Works better together!


Approved-by: Bianca Widstam
2024-10-25 14:11:06 +00:00
Christian Andolf
b6cb3855c2 refactor(SW-556): added a few missing pieces like translations and properties.
removed unneeded changes
2024-10-25 14:02:32 +02:00
Christian Andolf
dcfa0d9bd8 chore(SW-556): sort dictionaries 2024-10-25 14:02:32 +02:00
Christian Andolf
3206319254 feat(SW-556): add surprise notification component 2024-10-25 14:02:32 +02:00
Tobias Johansson
b33381d1b4 Merged in feat/SW-588-payment-saved-card (pull request #697)
feat(SW-588): Added saved card to payment step

* feat(SW-588): Added saved card to payment step

* feat(SW-588): Add proper label for saved card

* feat(SW-588): fix from PR feedback

* feat(SW-588): Add preloading of data

* feat(SW-588): remove onChange logic for PaymentOption

* feat(SW-588): moved payment files to correct folder

* feat(SW-588): moved preload to layout

* fix: remove unused prop


Approved-by: Simon.Emanuelsson
2024-10-21 10:39:19 +00:00
Christel Westerberg
74c2a9d1e1 feat: add conditional signup values 2024-10-16 16:58:05 +02:00
Matilda Landström
b0d5415d03 chore(SW-194): add translations 2024-10-16 13:55:05 +02:00
Arvid Norlin
b1beb7931a fix: remove redundant DialogTrigger from SidePeek 2024-10-16 10:26:10 +02:00
Arvid Norlin
103dcc7f1e feat(SW-472): Add EnterDetails SidePeek 2024-10-16 10:26:10 +02:00