Commit Graph

566 Commits

Author SHA1 Message Date
Matilda Landström
b3ab0613f6 fix: make headerRow optional 2024-11-26 13:21:26 +01:00
Chuma McPhoy
6f980fe9cd refactor(SW-360): review feedback 2024-11-26 10:30:24 +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
Christel Westerberg
8bfc4065ed fix: add wrapper function for caching 2024-11-26 08:48:19 +01: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
956d031ffc feat(SW-200): Replaced Contentstack image with Imagevault image for metadata 2024-11-25 08:00:13 +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
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
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
Joakim Jäderberg
10bd915217 merge 2024-11-21 12:43:25 +01:00
Christian Andolf
e294d39fdf fix(SW-696): add unwrap metrics 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
Christel Westerberg
3a6cfcfe5c fix: avoid sending query params to planet 2024-11-21 10:18:36 +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
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
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
dfdbdb7621 feat: break apart loading of room availability and hotel card
feat: add skeletons
2024-11-20 10:17:55 +01:00
Chuma McPhoy
a68e37c26f fix(SW-898): remove redundant schema and add transform in signupInput 2024-11-19 15:45:00 +01:00
Chuma McPhoy
cfaa92260a chore(SW-898): pr comments 2024-11-19 15:45:00 +01:00
Chuma McPhoy
bc5a01fdf4 fix(SW-898): formatting 2024-11-19 15:45:00 +01:00
Chuma McPhoy
6958db3ca5 refactor(SW-898): replace signup server action with TRPC 2024-11-19 15:45:00 +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
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
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
Tobias Johansson
a70f8a3b97 Merged in feat/SW-618-payment-non-happy-path (pull request #874)
Feat/SW-618 payment non happy path

* feat(SW-618): filter out expired saved cards

* feat(SW-618): Added payment error codes and way of showing messages based on code

* feat(SW-618): show error message if max retries has been reached and remove search param after showing toast

* fix(SW-618): move fallback error codes

* fix(SW-618): remove ref from stopping useEffect to run twice

* fix(SW-618): refactored logic for toast message and minor fixes

* fix(SW-618): remove error message enum due to static analysis problems


Approved-by: Christian Andolf
Approved-by: Arvid Norlin
2024-11-18 14:10:11 +00: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
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
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
Christel Westerberg
06da80c9f0 fix: conditionally use user token or service token for booking 2024-11-15 10:23:56 +01:00
Erik Tiekstra
d732138696 feat(SW-572): Added support for logged in and logged out variants of the top link inside the header 2024-11-14 07:23:25 +01:00