Commit Graph

87 Commits

Author SHA1 Message Date
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
Niclas Edenvin
d37f99f2ba Merged in feat/sw-590-update-room-configuration-schema (pull request #687)
Rename bedType to roomTypeCode

* Rename bedType to roomTypeCode


Approved-by: Fredrik Thorsson
2024-10-14 12:56:11 +00:00
Pontus Dreij
e723558870 fix: removed second validation since it is not needed 2024-10-11 12:15:11 +02:00
Pontus Dreij
c69b473de1 feat(SW-415): Normalize roomSchema 2024-10-10 14:10:03 +02:00
Pontus Dreij
9d106713a0 feat(SW-415): Update typings 2024-10-10 13:38:05 +02:00
Pontus Dreij
79442d80b8 feat(SW-415): Update Room card UI 2024-10-09 11:03:33 +02:00
Niclas Edenvin
c2c1a676ca SW-454 Use the API on select room page 2024-10-09 11:03:33 +02:00
Niclas Edenvin
6e6d14875d Merged in feat/SW-454-select-room-api (pull request #648)
Feat/SW-454 Create select rate page foundation

* Extract select-rate page to its own, fixed route

* Rename availability to hotelsAvailability

* Update availability hotels response

* Number to string


Approved-by: Pontus Dreij
2024-10-08 09:10:06 +00:00
Matilda Landström
22f3656b92 refactor(SW-296) 2024-10-08 08:53:41 +02:00
Matilda Landström
a12eea5493 refactor(SW-302): split upp function into two 2024-10-08 08:53:41 +02:00
Matilda Landström
72c961eabf refactor(SW-302): code cleanup 2024-10-08 08:53:41 +02:00
Matilda Landström
86dd3c04ed feat(SW-302): switch out mock data for facility cards 2024-10-08 08:53:41 +02:00
Tobias Johansson
4103e3fb37 Merged in feat/SW-431-payment-flow (pull request #635)
Feat/SW-431 payment flow

* feat(SW-431): Update mock hotel data

* feat(SW-431): Added route handler and trpc routes

* feat(SW-431): List payment methods and handle booking status and redirection

* feat(SW-431): Updated booking page to poll for booking status

* feat(SW-431): Updated create booking contract

* feat(SW-431): small fix

* fix(SW-431): Added intl string and sorted dictionaries

* fix(SW-431): Changes from PR

* fix(SW-431): fixes from PR

* fix(SW-431): add todo comments

* fix(SW-431): update schema prop


Approved-by: Simon.Emanuelsson
2024-10-04 09:37:09 +00:00