Commit Graph

642 Commits

Author SHA1 Message Date
Erik Tiekstra
ca2f60253f feat(SW-201): Refactoring how we fetch hotel page data 2024-11-26 14:48:28 +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
72090236c7 Merged in fix/SW-1014-city-not-found-on-map (pull request #973)
fix(SW-1014): Fixed issue where google didn't found city.

Approved-by: Niclas Edenvin
2024-11-25 15:05:34 +00:00
Pontus Dreij
0ef12d4a29 fix(SW-1014): Fixed issue where google didn't found city. 2024-11-25 15:38:08 +01:00
Erik Tiekstra
50f285776a feat(SW-200): Added noindex property to seo metadata in contentstack and added implementation 2024-11-25 08:00:13 +01:00
Erik Tiekstra
6aba0d8f52 feat(SW-200): Added other options for description and images 2024-11-25 08:00:13 +01:00
Erik Tiekstra
b22888db5f feat(SW-200): refactored breadcrumbs fetching and added json schema to layout 2024-11-25 08:00:13 +01:00
Erik Tiekstra
28738d7161 feat(SW-200): refactoring SEO metadata handling and added functionality for static pages 2024-11-25 08:00:12 +01:00
Joakim Jäderberg
81c4a91563 Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/loading-rooms-separately 2024-11-22 13:16:40 +01:00
Joakim Jäderberg
74b634021a Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/loading-rooms-separately 2024-11-22 10:30:53 +01:00
Pontus Dreij
c71c8af35a feat(SW-938) Added icon to roomFacilitiesSchema and detailedFacilitySchema 2024-11-22 10:17:56 +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
ee7fabc6c8 feat(SW-750): add facility information text 2024-11-21 15:06:47 +01:00
Fredrik Thorsson
b8767dd8f1 feat(SW-750): add HotelLocation type 2024-11-21 15:06:47 +01:00
Fredrik Thorsson
1881f6646d feat(SW-750): fix typo 2024-11-21 15:06:47 +01:00
Fredrik Thorsson
cbc8081676 feat(SW-750): remove button 2024-11-21 15:06:47 +01:00
Fredrik Thorsson
acd1656885 feat(SW-750): add base url 2024-11-21 15:06:47 +01:00
Fredrik Thorsson
d5cdbf7e82 feat(SW-750): update icon import 2024-11-21 15:06:47 +01:00
Fredrik Thorsson
fc27339aff feat(SW-750): refactor types 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
Simon Emanuelsson
1aeed2e9ca fix: make sure session storage is cleaner whenever user is no longer in the booking flow 2024-11-21 14:54:08 +01:00
Pontus Dreij
08e71a8dc6 fix(946) Center from town name instead of calculate center 2024-11-21 14:15:51 +01:00
Joakim Jäderberg
10bd915217 merge 2024-11-21 12:43:25 +01:00
Christian Andolf
3aedc4ff25 fix(SW-696): split up surprises into more components for readability
add tsparticles for confetti
2024-11-21 12:19:46 +01:00
Christian Andolf
0824f7ce26 fix(SW-696): add unwrap to surprises
add animations to sliding cards

various minor fixes
2024-11-21 12:19:46 +01:00
Tobias Johansson
7221e77fa0 Merged in fix/SW-933-incorrect-ratecode (pull request #947)
Fix/SW-933 incorrect ratecode when creating booking as a member

* fix(SW-933): Added check if member to select correct rate code in create booking

* fix(SW-933): set member price in summary when "join" is true

* fix(SW-933): change "price" -> "amount" and fix bool expression

* fix(SW-933): added check for membership number in summary


Approved-by: Christel Westerberg
2024-11-21 09:00:06 +00:00
Pontus Dreij
37098d23cf fix(SW-925) disable filter if there are no availablePackages 2024-11-20 14:41:48 +01:00
Pontus Dreij
10d2e094e4 fix(SW-925) Fix default packages 2024-11-20 14:41:48 +01:00
Joakim Jäderberg
dbb08960a5 Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/loading-rooms-separately 2024-11-20 14:33:05 +01:00
Joakim Jäderberg
d32a595e2e feat: contain logic for selecting price at the top level instead of on individual room card 2024-11-20 11:25:11 +01:00
Hrishikesh Vaipurkar
1330c8b537 feat: SW-601 Optimized code 2024-11-19 17:32:43 +01:00
Hrishikesh Vaipurkar
bc344e64cf feat: SW-601 Implement filters and sort in map view 2024-11-19 17:21:11 +01: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
Christel Westerberg
bd0720dc0f fix: break out css variables 2024-11-19 08:49:26 +01:00
Christel Westerberg
9094b08345 fix: booking widget locking scroll 2024-11-19 08:49:26 +01:00
Christel Westerberg
117cbcd20d feat: add new design for join scandic friends checkbox 2024-11-19 08:49:26 +01:00
Arvid Norlin
e18a2fdc44 feat: add useSetOverflowVisibleOnRA hook 2024-11-19 08:08:08 +01:00
Arvid Norlin
17df6d6c47 feat(SW-612): Add popover component 2024-11-19 08:08:08 +01:00
Simon Emanuelsson
94f693c4f0 feat: make steps of enter details flow dynamic depending on data 2024-11-18 16:30:09 +01: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
Niclas Edenvin
d18bc45b19 Merged in feat/SW-342-filtering-and-sorting-mobile (pull request #919)
Feat/SW-342 filtering and sorting mobile

* feat(SW-342): add sort and filter on mobile

* Use zustand for state management

* Add count and translations

* Clear filters

* Small fixes

* Fixes


Approved-by: Pontus Dreij
2024-11-18 14:02:32 +00:00
Fredrik Thorsson
ce965fd130 feat(SW-880): refactor facility component 2024-11-18 12:17:59 +01:00
Fredrik Thorsson
b5704dee21 feat(SW-880): create facility card component 2024-11-18 12:17:59 +01:00
Fredrik Thorsson
4002d63c59 feat(SW-880): update facility type rendering 2024-11-18 12:17:59 +01:00
Fredrik Thorsson
7a8ce0d8f6 feat(SW-880): add import type 2024-11-18 12:17:59 +01:00
Fredrik Thorsson
cf0173ef57 feat(SW-880): add wellness and exercise sidepeek 2024-11-18 12:17:59 +01:00
Christel Westerberg
f0c7aa349c fix: update booking service schemas 2024-11-18 10:54:57 +01:00
Tobias Johansson
ce453d8b1d feat(SW-817): hide apple pay if not supported 2024-11-18 08:52:12 +00:00
Pontus Dreij
1e94a857c1 Merged in fix/SW-839-correct-price-select-rate-summary (pull request #910)
fix(SW-839): Fallback if member is not available

Approved-by: Niclas Edenvin
2024-11-16 21:50:44 +00:00