Commit Graph

711 Commits

Author SHA1 Message Date
Christel Westerberg
8a0ba71bc7 fix: remove feature flags 2024-11-28 09:19:04 +01:00
Christel Westerberg
5ef019b05a fix: readd confirmation page temporarily 2024-11-28 09:19:04 +01:00
Linus Flood
3318d31ec8 Fixed map page 2024-11-28 09:09:44 +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
Bianca Widstam
8f3d203b70 Merged in fix/SW-1041-design-feedback-select-hotel (pull request #986)
fix(SW-1041): fix UI design feedback

* fix(SW-1041): fix UI design feedback

* fix(SW-1041): small fix

* fix(SW-1041): add filter and sort badge

* fix(SW-1041): update activefilter when entering map view

* fix(SW-1041): create hook with activefilters

* fix(SW-1041): hook only sets filter

* fix(SW-1041): fix padding breadcrumbs

* fix(SW-1041): rename hook

* fix(SW-1041): fix double scroll


Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2024-11-28 07:42:52 +00:00
Linus Flood
4a11833b4d Refactor 2024-11-27 21:46:39 +01:00
Linus Flood
31540d0d40 Refactor and fixed bug 2024-11-27 19:51:15 +01:00
Linus Flood
267a47c61a Merge branch 'master' into feat/sw-929-release-preps 2024-11-27 19:13:21 +01:00
Christel Westerberg
d3d72f74c9 fix(SW-976): handle unlocalized entries revalidation 2024-11-27 16:03:26 +01:00
Christel Westerberg
f5990998db fix: add hotel header to enter details flow 2024-11-27 15:59:12 +01:00
Linus Flood
4b85b01919 Removed dead code 2024-11-27 12:41:29 +01:00
Simon Emanuelsson
ccb15593ea feat: merge stores, fix auto navigation, split summary 2024-11-27 10:20:14 +01:00
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
Christel Westerberg
317731c24d fix: handle no children 2024-11-25 15:08:12 +01:00
Hrishikesh Vaipurkar
21f9719050 fix: SW-981 Rounded to single decimal as current web 2024-11-25 11:52:43 +01:00
Hrishikesh Vaipurkar
bd6fd62d5c fix: SW-981 Fixed distance to center value 2024-11-25 11:52:43 +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
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
Linus Flood
de22d873a1 Refactor 2024-11-22 13:25:57 +01:00
Joakim Jäderberg
0a35243d88 fix: remove test-data 2024-11-22 13:17:33 +01:00
Joakim Jäderberg
ed1f97f24e fix: tests failed due to timezone issues 2024-11-22 13:07:49 +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
Joakim Jäderberg
c8c0a41ed8 fix: move date logic to its own file with tests 2024-11-22 10:30:33 +01:00
Joakim Jäderberg
079ad45ded fix: move date logic to its own file with tests
fix: missing packages should not prevent render
fix: display nothing if roomavailability returns nothing
2024-11-22 10:29:59 +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
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
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
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
Bianca Widstam
8b66c16e17 Merged in feat/SW-903-breadcrumbs-select-hotel (pull request #924)
Feat/SW-903 breadcrumbs select hotel

* feat(SW-903): break out breadcrumbs component and add on select-hotel page

* feat(903): updated paths

* feat(903): fix padding and remove translations

* feat(903): fix type

* feat(903): refactor padding

* feat(903): refactor padding again

* feat(903): refactor

* feat(903): fix comments

* feat(903): rename content breadcrumbs back


Approved-by: Pontus Dreij
Approved-by: Erik Tiekstra
2024-11-21 07:28:39 +00:00
Linus Flood
299da82ba3 Fix build error 2024-11-21 07:25:53 +01:00
Linus Flood
367da173fb Inverted flag values 2024-11-21 07:23:11 +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
Linus Flood
ff8a1b836c Fix merge issues 2024-11-20 13:44:34 +01:00
Linus Flood
ec53457fd1 Merge branch 'master' into feat/sw-929-release-preps 2024-11-20 13:28:02 +01:00
Joakim Jäderberg
3d2f9e4a7e fix: rename misnamed component 2024-11-20 13:09:37 +01:00
Linus Flood
ea325796e3 feat: sw-929 show booking widget on hotelreservation path and separate env for sitewide alerts 2024-11-20 12:00:01 +00:00
Joakim Jäderberg
90184b8662 Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/syncblocking-parallel-routes 2024-11-20 12:43:41 +01:00
Joakim Jäderberg
847ee5521e fix: use suspense over loading.tsx 2024-11-20 12:14:56 +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
Hrishikesh Vaipurkar
bc344e64cf feat: SW-601 Implement filters and sort in map view 2024-11-19 17:21:11 +01:00
Pontus Dreij
ccf332490f Merged in fix/SW-934-isAllUnavailable (pull request #939)
fix(SW-934): Change logic to isAllUnavailable instad of hotels.length

Approved-by: Bianca Widstam
Approved-by: Niclas Edenvin
2024-11-19 14:58:56 +00:00
Niclas Edenvin
c309619cdc Merged in feat/SW-863-remove-filters (pull request #935)
feat(SW-863): remove filters without a type

* feat(SW-863): remove filters without a type


Approved-by: Pontus Dreij
2024-11-19 14:39:25 +00:00