Commit Graph

99 Commits

Author SHA1 Message Date
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
Pontus Dreij
04df824ea1 feat(697): Made new fields optional 2024-11-04 16:09:31 +01:00
Pontus Dreij
7f9af6c12e feat(SW-697): Update package structure on price from API 2024-11-04 14:20:46 +01:00
Bianca Widstam
105e730e89 fix(SW-712): remove hotelFacts.hotelFacilityDetail, hotelFacts.hotelInformation and use detailedFacilities 2024-10-31 13:38:43 +01:00
Tobias Johansson
60ceeaf9c3 fix(SW-614): move filtering logic to routes 2024-10-30 09:44:49 +00:00
Bianca Widstam
eff0d122cd feat/SW-711-update-children-params (pull request #791)
Feat/SW-711 update children params

* feat(SW-711): add new child params for availability

* feat(SW-711): fix children schema

* feat(SW-711): fix optional values

* feat(SW-711): add children as parameter iff not undefined

* feat(SW-711): add bedType enum

* feat(SW-711): remove optional number type

* feat(SW-711): fix wrong slash

* feat(SW-711): remove optional


Approved-by: Hrishikesh Vaipurkar
2024-10-30 09:34:54 +00:00
Simon Emanuelsson
62f549e85d feat: get breakfast package from API 2024-10-29 15:39:21 +01:00
Bianca Widstam
fc8844eb96 feat/SW-689-image-gallery-sizes (pull request #781)
Feat/SW-689 image gallery sizes

* feat(SW-689): initial gallery changes

* feat(SW-689): remove console.log

* feat(SW-689): remove unneccessary code

* feat(SW-689): change sizes

* feat(SW-689): change size

* feat(SW-689): add design for ipad for fullview

* feat(SW-689): fix import type

* feat(SW-689): fix tripAdvisor placement

* feat(SW-689): fix image gallery type

* feat(SW-689): fix check gallery length


Approved-by: Christian Andolf
Approved-by: Matilda Landström
2024-10-29 13:54:12 +00:00
Pontus Dreij
62cf5dab80 feat(sw-453): fixed pr comments and default filter 2024-10-29 11:15:06 +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
Bianca Widstam
748021cdab Merged in feat/SW-673-galleryicon-hotel-lightbox (pull request #734)
Feat/SW-673 galleryicon hotel lightbox

* feat(SW-673): add galleryChip to trigger lightbox

* feat(SW-673): add updated design galleryIcon

* feat(SW-673): add first image from hotelContent and heroImages

* feat(SW-673): fix import type

* feat(SW-673): fix css variables

* feat(SW-673): change component to include image that trigger lightbox

* feat(SW-673): refactor name to imageGallery


Approved-by: Niclas Edenvin
2024-10-24 08:41:26 +00:00
Erik Tiekstra
a29657a6b2 feat(SW-508): Added hotel alerts 2024-10-24 09:35:19 +02:00
Erik Tiekstra
445bde8e2e feat(SW-671): Added correct icons to amenities list 2024-10-23 09:59:35 +02:00
Christel Westerberg
2fab1fd917 fix: handle back button 2024-10-18 12:12:13 +02:00
Christel Westerberg
e4617d84ba feat: populate session storage on submit 2024-10-18 12:12:13 +02:00