Commit Graph

174 Commits

Author SHA1 Message Date
Pontus Dreij
e2aa4cdd98 fix(SW-890) removed optional since i have default 2024-11-29 17:06:41 +01:00
Pontus Dreij
55edbbd7f8 fix(SW-890) Added default 2024-11-29 16:06:47 +01:00
Pontus Dreij
8b54818e3c fix(SW-980): headingText should be optional 2024-11-29 15:44:55 +01:00
Tobias Johansson
9b90e99adf Merged in feat/SW-1007-saved-cards-filtering (pull request #980)
Feat/SW-1007 saved payment cards now shown based on supported cards by hotel

* fix(SW-1007): refactored savedCards to only show supported payment cards

* fix(SW-1007): show error message even if metadata is null

* fix: merge changes that were missed

* fix: remove use server


Approved-by: Christel Westerberg
2024-11-28 08:08:39 +00:00
Erik Tiekstra
bab7c15424 feat(SW-201): Added structured data for hotel pages 2024-11-26 14:55:40 +01:00
Erik Tiekstra
ca2f60253f feat(SW-201): Refactoring how we fetch hotel page data 2024-11-26 14:48:28 +01:00
Tobias Johansson
70000afe1f Merged in feat/SW-755-price-change-non-happy (pull request #957)
Feat/SW-755 price change non happy

* fix(SW-755): dont show field error if checkbox has no children

* feat(SW-755): Price change route + dialog WIP

* fix(SW-755): minor refactoring

* fix(SW-755): added logging to price change route

* fix(SW-755): remove redundant search param logic

* fix(SW-755): moved enum cast to zod instead

* fix(SW-755): move prop type to types folder

* fix(SW-755): Added suspense to Payment and refactored payment options hook

* fix(SW-755): seperated terms and conditions copy from the checkbox label

* fix(SW-755): add currency format and fixed wrong translation

* fix(SW-755): change from undefined to null

* fix(SW-755): added extra type safety to payment options


Approved-by: Christian Andolf
Approved-by: Simon.Emanuelsson
2024-11-26 09:06:41 +00:00
Christel Westerberg
8bfc4065ed fix: add wrapper function for caching 2024-11-26 08:48:19 +01:00
Pontus Dreij
0ef12d4a29 fix(SW-1014): Fixed issue where google didn't found city. 2024-11-25 15:38:08 +01:00
Pontus Dreij
23fa17a450 feat(SW-938) Updated icons 2024-11-22 10:17:56 +01:00
Pontus Dreij
c71c8af35a feat(SW-938) Added icon to roomFacilitiesSchema and detailedFacilitySchema 2024-11-22 10:17:56 +01:00
Pontus Dreij
43a44e31ad Merged in fix/SW-946-map-center (pull request #954)
fix(946) Center from town name instead of calculate center

Approved-by: Niclas Edenvin
2024-11-22 07:19:13 +00:00
Fredrik Thorsson
ebb42d9bd5 feat(SW-750): change key name 2024-11-21 15:06:47 +01:00
Fredrik Thorsson
ee7fabc6c8 feat(SW-750): add facility information text 2024-11-21 15:06:47 +01:00
Fredrik Thorsson
9344db7876 feat(SW-750): add about the hotel sidepeek 2024-11-21 15:06:47 +01:00
Pontus Dreij
87c12f6709 fix(SW-946) renamde query 2024-11-21 14:26:37 +01:00
Pontus Dreij
f725c46dcf fix(SW-946) Removed log 2024-11-21 14:25:47 +01:00
Pontus Dreij
08e71a8dc6 fix(946) Center from town name instead of calculate center 2024-11-21 14:15:51 +01:00
Pontus Dreij
a0627b9ac5 fix(SW-925) remove log 2024-11-20 14:41:48 +01:00
Pontus Dreij
a1f1531fc2 fix(SW-925): Don't throw error if api for packages throws error 2024-11-20 14:41:48 +01:00
Bianca Widstam
eb5dd49981 Merged in fix/SW-955-restaurantsOverviewPage-attributes-optional (pull request #943)
fix(SW-955): restaurantsOverviewPage atttributes optional

* fix(SW-955): restaurantsOverviewPage atttributes optional


Approved-by: Pontus Dreij
2024-11-20 13:39:52 +00:00
Simon Emanuelsson
744af22b08 fix: make sure all searchparams are used in redirect 2024-11-19 11:19:44 +00:00
Erik Tiekstra
1b3999a050 fix(SW-769): removed categoryname enum from pointOfInterestSchema and use z.string() instead 2024-11-19 10:58:39 +01:00
Arvid Norlin
17df6d6c47 feat(SW-612): Add popover component 2024-11-19 08:08:08 +01:00
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
Simon Emanuelsson
94f693c4f0 feat: make steps of enter details flow dynamic depending on data 2024-11-18 16:30:09 +01: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
Fredrik Thorsson
cf0173ef57 feat(SW-880): add wellness and exercise sidepeek 2024-11-18 12:17:59 +01:00
Pontus Dreij
2750a4f403 fix(SW-881) fixing data issues 2024-11-16 10:45:58 +01:00
Christel Westerberg
dc3516f4e1 feat: add packages info to summary 2024-11-15 16:32:08 +01:00
Christel Westerberg
dbb5367df2 fix: filter out room availability based on packages 2024-11-15 16:32:08 +01:00
Christel Westerberg
43ef48e2c7 fix: move packages schemas 2024-11-15 16:32:08 +01:00
Pontus Dreij
f782b69c33 Merged in fix/SW-449-booking-widget-url-date (pull request #884)
Fix/SW-449 booking widget url date

Approved-by: Chuma Mcphoy (We Ahead)
2024-11-13 09:46:24 +00:00
Bianca Widstam
b6c390fdad feat/SW-763-image-gallery-update (pull request #846)
feat(SW-763): update to smallerImages for select-hotel/rate page and slice size depending on signature

* feat(SW-763): update to smallerImages for select- hotel/rate page and slice size depending on signature

* fix(SW-763): add hotelType enum

* feat(SW-763): move hotel type check to the route for the hotelData

* fix(SW-763): remove unused import

* fix(SW-763): fix comment

* fix(SW-763): add optional galleryImages check


Approved-by: Christian Andolf
Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2024-11-13 08:51:51 +00:00
Pontus Dreij
cf8585a3df fix(SW-449): Re-added YYYY-MM-DD 2024-11-13 08:30:43 +01:00
Christel Westerberg
32d12bae58 fix: refacotr away optional pricing 2024-11-12 09:05:08 +01:00
Christel Westerberg
5e2d2abd17 fix: make incomplete steps in accordion look disabled 2024-11-12 08:58:02 +01:00
Pontus Dreij
42e5da1ee0 fix(SW-449): Updated next.config date rule 2024-11-08 15:13:24 +01:00
Simon Emanuelsson
0897a398ee feat(SW-791): make confirmation page dynamic 2024-11-08 09:47:35 +01:00
Erik Tiekstra
de5d80ec92 feat(SW-508): contract changes for hotel alerts 2024-11-08 07:28:31 +01:00
Christel Westerberg
f4f771ec70 fix: rename BedTypeEnums 2024-11-07 13:53:24 +01:00
Christel Westerberg
a708eedfd4 fix: extend bedType to include discription and roomTypeCode 2024-11-07 13:53:24 +01:00
Christel Westerberg
fb76c67cee fix: calc total price for summary 2024-11-07 11:31:21 +01:00
Linus Flood
a76857a62b Merge branch 'develop' into feat/performance-improvements 2024-11-06 13:48:26 +01:00
Tobias Johansson
0cbffc7904 Merged in feat/SW-613-refactor-hotelreservation-sidepeek (pull request #805)
Feat/SW-613 refactor hotelreservation sidepeek

* feat(SW-613): move sidepeek paralell route to apply for all of hotelreservation

* feat(SW-613): refactor sidepeek logic to a unified approach for hotelreservation flow

* feat(SW-613): fix issue where room was not selected properly in sidepeek

* fix(SW-613): move back preload to layout

* fix(SW-613): move preload to dedicated file

* fix(SW-613): refactor sidepeek to work with hotel page

* feat(SW-613): added sidepeek button for room card


Approved-by: Simon.Emanuelsson
2024-11-06 12:09:27 +00:00
Linus Flood
4f7b9d24d9 Adding Jira ticket #SW-778 2024-11-06 10:52:00 +01:00
Linus Flood
9fb6d062db Added comment to hotel enum 2024-11-05 14:46:52 +01:00
Linus Flood
3e858cb064 Refactor 2024-11-05 14:46:52 +01:00
Linus Flood
ae2601bef8 Refactor 2024-11-05 14:46:52 +01:00
Linus Flood
7e4bbfb3e6 feat: performance improvements 2024-11-05 14:46:52 +01:00