Commit Graph

157 Commits

Author SHA1 Message Date
Simon.Emanuelsson
248473e8bf Merged in chore/refactor-booking-flow (pull request #1333)
chore: cleaning up select-rate

Approved-by: Arvid Norlin
Approved-by: Linus Flood
2025-02-14 13:51:37 +00:00
Simon Emanuelsson
051bc54e6c chore: cleaning up select-rate 2025-02-14 14:20:54 +01: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
Hrishikesh Vaipurkar
eabe45b73c Merged in feat/SW-1557-implement-booking-code-select (pull request #1304)
feat: SW-1577 Implemented booking code city search

* feat: SW-1577 Implemented booking code city search

* feat: SW-1557 Strict comparison

* feat: SW-1557 Review comments fix


Approved-by: Michael Zetterberg
Approved-by: Pontus Dreij
2025-02-13 09:24:47 +00:00
Erik Tiekstra
1532898c23 Merged in feat/SW-1457-city-dynamic-map (pull request #1320)
feat(SW-1457): Added map and fetching hotels by cityIdentifier

* feat(SW-1457): Added map and fetching hotels by cityIdentifier


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-02-12 13:02:19 +00:00
Erik Tiekstra
bcfa84324f Merged in feat/SW-1456-country-dynamic-map (pull request #1310)
feat(SW-1456): Added map and fetching hotels by country

* feat(SW-1456): Added map and fetching hotels by country


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-02-12 09:15:33 +00:00
Pontus Dreij
e00cea4646 feat(SW-717) use of AvailabilityEnum instead of strings 2025-02-07 08:38:47 +01:00
Linus Flood
c0f5c0278b Merged in feat/skeletons-and-cache (pull request #1273)
feat: skeleton key bullet proof. 10 min cache on city search response

* feat: skeleton key bullet proof. 10 min cache on city search response

* Refactor server.ts


Approved-by: Michael Zetterberg
2025-02-07 07:02:53 +00:00
Erik Tiekstra
8ecaac4b52 Merged in fix/hotel-faq (pull request #1265)
fix: setting faq section as nullable from CS as CS returns null after import

* fix: setting faq section as nullable from CS as CS returns null after import


Approved-by: Fredrik Thorsson
2025-02-06 09:19:59 +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
Fredrik Thorsson
b85a3a57ec Merged in feat/SW-1444-destination-page-add-destination-list-component (pull request #1240)
feat/SW-1444 destination page add destination list component

* feat(SW-1444): add list component

* feat(SW-1444): add subtitle to accordion

* feat(SW-1444): refactor component structure

* feat(SW-1444): add desktop breakpoint

* feat(SW-1444): fix typo

* feat(SW-1444): add props

* feat(SW-1444): add query

* feat(SW-1444): updated query

* feat(SW-1444): display data

* feat(SW-1444): fix merge hickup

* feat(SW-1444): change var name

* feat(SW-1444): remove unsued translations

* feat(SW-1444): use country as title

* feat(SW-1444): sort hotels in query

* feat(SW-1444): make responsive

* feat(SW-1444): fetch country url

* feat(SW-1444): update logging

* feat(SW-1444): remove spread


Approved-by: Erik Tiekstra
2025-02-04 14:17:12 +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
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