Simon Emanuelsson
13a164242f
fix: clean up hotel and its typings
2025-01-30 13:50:02 +01:00
Erik Tiekstra
ca42876eb8
Merged in feat/SW-1453-city-listing-on-country-page (pull request #1222 )
...
feat(SW-1453): added city listing component
* feat(SW-1453): added city listing component
Approved-by: Christian Andolf
Approved-by: Fredrik Thorsson
2025-01-29 10:09:51 +00:00
Tobias Johansson
a7468cd958
Merged in feat/SW-1379-multiroom-summary (pull request #1198 )
...
Feat/SW-1379 multiroom summary
* fix: added early return in hotel query and added missing type annotations
* feat(SW-1379): update summary to support multiple rooms and add tests
* fix: added check for room number when using isMember for member prices
* fix: remove mocked array
* fix: minor bug fixes in rate details popup
* fix: translation key
Approved-by: Pontus Dreij
Approved-by: Arvid Norlin
2025-01-29 09:25:43 +00: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
Bianca Widstam
95e8c5ff6c
Merged in fix/add-lang-to-availability-call (pull request #1210 )
...
fix/SW-1514/add-lang-to-availability-call
* fix/add-lang-to-availability-call
Approved-by: Pontus Dreij
Approved-by: Matilda Landström
2025-01-27 12:16:32 +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
Bianca Widstam
527e691157
Merged in fix/bookingCode-optional (pull request #1214 )
...
fix: bookingCode optional
* fix: bookingCode optional
Approved-by: Pontus Dreij
2025-01-27 09:53:39 +00:00
Pontus Dreij
3b68d3471e
fix: Removed double check
2025-01-27 10:24:00 +01:00
Pontus Dreij
4bc459f0a4
fix: Update getRoomsAvailability
2025-01-27 10:22:29 +01:00
Linus Flood
d02dc51dcc
Merged in fix/cache-time-hotels-test-env (pull request #1194 )
...
fix: cache time 5 minutes for hotels data in test env
* fix: cache time 5 minutes for hotels data in test env
2025-01-21 09:29:09 +00:00
Linus Flood
c701c067b4
Merged in feat/cache-hoteldata-time (pull request #1189 )
...
feat: hoteldata - cache 5 minutes in test env
* feat: hoteldata - cache 5 minutes in test env
* Removed console log
* Renamed variable
Approved-by: Joakim Jäderberg
2025-01-20 07:52:38 +00: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
Tobias Johansson
1018b3ebcd
Merged in feat/SW-1169-map-bedtype-icons (pull request #1113 )
...
Feat/SW-1169 map bedtype icons
* feat(SW-1169): Added bed icons
* fix(SW-1169): update fill rule property
* fix(SW-1169): update clip rule prop
* feat(SW-1169): Added way of rendering bed type icons with extra beds
* feat(SW-1169): update room schema to map mainBed to enum
* feat(SW-1169): update bedtype icon color
* feat(SW-1169): transform unknown bed types to BedTypeEnum.Other
* test: update mock data with new schema
Approved-by: Christel Westerberg
2025-01-08 13:26:56 +00:00
Tobias Johansson
6ca56f3138
Merged in feat/SW-822-handle-breakfast-included (pull request #1138 )
...
Feat/SW-822 handle breakfast included
* feat(SW-822): Added flag for breakfast included and hide breakfast step if included
* fix: check if window is defined to avoid error during SSR
* fix: remove return if rate definition is not found because its expected if input is undefined
Approved-by: Christel Westerberg
Approved-by: Arvid Norlin
2025-01-08 12:34:20 +00:00
Erik Tiekstra
3af542b075
fix(SW-664): Fixed issue with params when fetching data from API in relation to Hotellisting
2024-12-18 14:29:29 +01:00
Erik Tiekstra
3939bf7cdc
feat(SW-664): Hotel listing component and queries for content pages
2024-12-18 12:20:57 +01:00
Fredrik Thorsson
66f6762b99
feat(SW-1012): remove title components
2024-12-17 14:12:37 +01:00
Fredrik Thorsson
baf4055938
feat(SW-1012): update query
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
Christel Westerberg
4210218852
fix: persist selection of bed and breakfast if same room
2024-12-10 15:42:44 +01:00
Arvid Norlin
886be166ef
fix: use room.description instead of mainBed.description
2024-12-09 14:18:15 +01:00
Erik Tiekstra
ca2f60253f
feat(SW-201): Refactoring how we fetch hotel page data
2024-11-26 14:48:28 +01: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
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
Simon Emanuelsson
744af22b08
fix: make sure all searchparams are used in redirect
2024-11-19 11:19:44 +00: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
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
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
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
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