Commit Graph

113 Commits

Author SHA1 Message Date
Bianca Widstam
541b91e34c Merged in feat/SW-1281-ancillaries-add-flow (pull request #1399)
Feat/SW-1281 ancillaries add flow

* feat(SW-1546): update design

* feat(SW-1546): show points only if logged in

* feat(SW-1546): always show points

* feat(SW-1281): ancillary add flow initial

* feat(SW-1546): add api call

* feat(SW-1281): refactor naming and break out components

* feat(SW-1281): handle back button

* feat(SW-1281): make mobile cards clickable

* feat(SW-1281): refactor spread ancillaries

* feat(SW-1281): add deliverytimes

* feat(SW-1281): rebase master

* feat(SW-1281): add design for logged in or not

* feat(SW-1281): add design

* feat(SW-1281): add mobile design

* feat(SW-1281): fix carousel

* feat(SW-1281): show deliverytime only if ancillary has not been added

* feat(SW-1281): add design

* feat(SW-1281): add translations

* feat(SW-1281): add translations

* feat(SW-1281): add translations

* feat(SW-1281): base dates on check in date only

* feat(SW-1281): fix show correct toast when no valid data

* feat(SW-1281): hande logic if deliverytime is not required

* feat(SW-1281): fix max width for mobile

* feat(SW-1281): refactor after pr comment


Approved-by: Niclas Edenvin
Approved-by: Linus Flood
2025-02-26 07:20:45 +00:00
Pontus Dreij
90fee1b0c4 Merged in fix/get-booking-as-user (pull request #1366)
Fix: Use session.token.access_token if session exists in booking confirmation, else use serviceToken

* Fix: Added service token to safeProtectedProcedure

* fix: use of safeProtectedServiceProcedure


Approved-by: Michael Zetterberg
2025-02-18 11:42:18 +00:00
Bianca Widstam
224a41ec74 feat/SW-1546-list-ancillaries-my-stay (pull request #1259)
Feat/SW-1546 list ancillaries my stay

* feat(SW-1546): foundation for listing ancillaries

* feat(SW-1546): foundation for listing ancillaries

* feat(SW-1546): refactor type

* feat(SW-1546): fix date format

* feat(SW-1546): refactor usestate

* feat(SW-1546): refactor typing

* feat(SW-1546): refactor types

* feat(SW-1546): responsive width on modal

* feat(SW-1546): update design

* feat(SW-1546): rebase master

* feat(SW-1546): show points only if logged in

* feat(SW-1546): always show points

* feat(SW-1546): small fix

* feat(SW-1546): remove spread object

* feat(SW-1546): fix import order


Approved-by: Simon.Emanuelsson
2025-02-14 10:37:17 +00:00
Simon.Emanuelsson
4a06162f79 Merged in fix/rateCodes (pull request #1315)
fix: taking care of missing rateDefinitions

* fix: taking care of missing rateDefinitions


Approved-by: Linus Flood
2025-02-12 08:52:08 +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
Erik Tiekstra
e3b1bfc414 Merged in feat/SW-1454-hotel-listing-city-page (pull request #1250)
feat(SW-1454): added hotel listing

* feat(SW-1454): added hotel listing


Approved-by: Fredrik Thorsson
2025-02-05 13:10:28 +00:00
Simon Emanuelsson
1deab000bd fix: cache hotel response 2025-01-30 13:51:47 +01:00
Simon Emanuelsson
13a164242f fix: clean up hotel and its typings 2025-01-30 13:50:02 +01:00
Niclas Edenvin
ef22fc4627 This creates the alternative hotels page. It is mostly a copy of the select hotel page, and most of the contents of the pages lives under the same component in /components.
Merged in feat/sw-397-alternative-hotels (pull request #1211)

Feat/sw 397 alternative hotels

* fix(SW-397): create alternative hotels page

* update types

* Adapt to new changes for fetching data

* Make bookingcode optional

* Code review fixes


Approved-by: Simon.Emanuelsson
2025-01-28 12:08:40 +00: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
Pontus Dreij
4bc459f0a4 fix: Update getRoomsAvailability 2025-01-27 10:22:29 +01:00
Christel Westerberg
a3331850a2 fix: avoid localizing currencies and default missing value to N/A 2025-01-14 16:20:08 +01:00
Matilda Landström
57bc08aae2 Merged in feat/SW-1090-amenities-meetings-sidepeeks (pull request #1114)
Feat/SW-1090: Sidepeek amenities and meetings

Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-01-10 15:18:21 +00:00
Arvid Norlin
0c7c6ea21a feat: add Price details modal 2024-12-20 09:28:06 +01:00
Niclas Edenvin
a3f8c954e2 Merged in fix/detailed-facilities-validation (pull request #1108)
fix(SW-1260): allow unrecognized hotel facilities

* fix(SW-1260): allow unrecognized hotel facilities

Before this we only allowed hotel facilities that we know about (ID:s in
an enum). Now we instead allow everything, but filter away the ones we
don't know about.


Approved-by: Christel Westerberg
2024-12-19 09:29:24 +00:00
Erik Tiekstra
3939bf7cdc feat(SW-664): Hotel listing component and queries for content pages 2024-12-18 12:20:57 +01:00
Christel Westerberg
8328493289 fix: align placeholder handling for all hotel images in zod 2024-12-17 16:13:58 +01:00
Fredrik Thorsson
0c1a4896d0 feat(SW-1012): add ternary expression for hotel images 2024-12-17 14:12:37 +01:00
Erik Tiekstra
05006506f0 feat(SW-1012): Added possibility for multiple include params for hotels 2024-12-17 14:12:37 +01:00
Tobias Johansson
aa8cfe86c4 fix: added placeholder meta data 2024-12-13 10:02:28 +01:00
Tobias Johansson
6dc807d0b2 fix: added default image for hotel images 2024-12-13 09:58:09 +01:00
Arvid Norlin
083ba28f9e feat: add SignupPromo component 2024-12-05 15:33:25 +01:00
Fredrik Thorsson
50611d1be2 feat(SW-644): add book parking button 2024-12-04 15:57:38 +01:00
Bianca Widstam
4f871a3220 Merged in feat/SW-1051-amenities-in-sidepeek (pull request #1007)
feat(SW-1051): fix sidepeek select hotel page

* feat(SW-1051): fix sidepeek select hotel page


Approved-by: Niclas Edenvin
2024-12-02 13:45:31 +00:00
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
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
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
08e71a8dc6 fix(946) Center from town name instead of calculate center 2024-11-21 14:15:51 +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
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
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
43ef48e2c7 fix: move packages schemas 2024-11-15 16:32:08 +01: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
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
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
Niclas Edenvin
a9663c856f Make parking data optional 2024-11-05 09:36:10 +01:00
Pontus Dreij
b4a015b47a feat(sw-697): Added default values 2024-11-04 16:36:24 +01:00