Commit Graph

1746 Commits

Author SHA1 Message Date
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
267a47c61a Merge branch 'master' into feat/sw-929-release-preps 2024-11-27 19:13:21 +01:00
Christel Westerberg
f5990998db fix: add hotel header to enter details flow 2024-11-27 15:59:12 +01:00
Christel Westerberg
439bc13e65 fix: close summary sheet 2024-11-27 13:39:09 +01:00
Simon Emanuelsson
ccb15593ea feat: merge stores, fix auto navigation, split summary 2024-11-27 10:20:14 +01:00
Niclas Edenvin
a69d14ff61 Merged in fix/sw-1011-calendar (pull request #975)
fix(SW-1011): when only choosing one date on mobile

* fix(SW-1011): when only choosing one date on mobile

When choosing only from date on mobile the to date is set to the next
day. This was only the case on desktop before, no it's on mobile too.

* Remove unnecessary dependency


Approved-by: Pontus Dreij
Approved-by: Hrishikesh Vaipurkar
2024-11-27 08:38:29 +00:00
Erik Tiekstra
27f48bcc7e feat(SW-713): Added sidepeek functionality for rooms 2024-11-27 07:54:40 +01:00
Erik Tiekstra
bab7c15424 feat(SW-201): Added structured data for hotel pages 2024-11-26 14:55:40 +01:00
Erik Tiekstra
ca2f60253f feat(SW-201): Refactoring how we fetch hotel page data 2024-11-26 14:48:28 +01:00
Christian Andolf
257900b7a8 fix(SW-993): toast is now full width on mobile
updated sonner to latest version

increased default duration of toast to 5 sec
2024-11-26 13:27:26 +00:00
Chuma McPhoy
4311def182 fix(SW-360): remove placeholder prop to fix ios select input bug 2024-11-26 11:57:40 +01:00
Chuma McPhoy
c14fe6bc86 refactor(SW-360): extract password validation outside main NewPassword component to minimize re-renders. 2024-11-26 10:30:24 +01:00
Chuma McPhoy
c8eaae7928 fix(SW-360): change button to signup to trigger shouldFocusError 2024-11-26 10:30:24 +01:00
Chuma McPhoy
3967ec6040 chore(SW-360): proper formatting of AriaInputWithLabel 2024-11-26 10:30:24 +01:00
Chuma McPhoy
79f48adbf5 fix(SW-360): scroll to first validation + remove unused translations 2024-11-26 10:30:24 +01:00
Chuma McPhoy
0d972367df fix(SW-360): remove container queries to fix stacking context bug affecting dropdowns in signup 2024-11-26 10:30:24 +01:00
Chuma McPhoy
6f980fe9cd refactor(SW-360): review feedback 2024-11-26 10:30:24 +01:00
Chuma McPhoy
0865a553cd fix(SW-360): set default validate behaviour to onBlur on signup page 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
Bianca Widstam
9fc65b6e53 Merged in fix/SW-998-select-room-change-lang-issues (pull request #977)
fix(SW-998): fix issues related to non-english languages

* fix(SW-998): reverse price logic


Approved-by: Niclas Edenvin
2024-11-26 09:00:15 +00:00
Tobias Johansson
d6cff63c5e Merged in feat/SW-999-visual-fixes (pull request #976)
Feat/SW-999 visual fixes in enter details

* fix(SW-999): accordion title font sizes fix and alignment of change room button

* fix(SW-999): added scroll if content cannot fit inside popover


Approved-by: Christel Westerberg
2024-11-26 08:11:50 +00:00
Christel Westerberg
8bfc4065ed fix: add wrapper function for caching 2024-11-26 08:48:19 +01:00
Pontus Dreij
503b0bf186 Merged in fix/SW-983-map-view-cards-hover-select (pull request #971)
Fix/SW-983 map view cards hover select

Approved-by: Niclas Edenvin
2024-11-25 15:05:53 +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
40228f8fc2 fix(SW-983) added variables 2024-11-25 15:43:44 +01: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
Christian Andolf
39dff4cd3d Merged in fix/SW-992-center-empty-stays-text (pull request #969)
fix(SW-992): center empty stays text

Approved-by: Matilda Landström
2024-11-25 13:35:25 +00:00
Matilda Landström
f54ab70ffd chore(SW-912): add underline to alert link 2024-11-25 13:27:46 +01:00
Pontus Dreij
0283c777ca fix(SW-984): Scroll to active card (desktop) 2024-11-25 13:27:19 +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
Christian Andolf
d612aa83d8 fix(SW-992): center empty stays text 2024-11-25 10:51:03 +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
92ad7192b1 feat(SW-200): Fixed image sizes for RTE 2024-11-25 08:00:12 +01:00
Pontus Dreij
333be1379c fix(SW-983): Fixed bug with hotel card in map 2024-11-22 17:05:29 +01:00
Linus Flood
de22d873a1 Refactor 2024-11-22 13:25:57 +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
Bianca Widstam
c345600d78 Merged in fix/SW-948-map-no-availability (pull request #961)
Fix/SW-948 map no availability

* fix(SW-948): add no availability message on hotel map

* fix(SW-948): add placeholder image for map


Approved-by: Niclas Edenvin
2024-11-22 11:13:30 +00:00
Joakim Jäderberg
a1c5ae95be fix: skeletons wasn't center aligned 2024-11-22 11:19:17 +01:00
Joakim Jäderberg
2ba25a70ba fix: filtering rooms should remove them instead of displaying as not available 2024-11-22 10:46:30 +01:00
Pontus Dreij
ff5859fad1 feat(SW-938) added normalizedName 2024-11-22 10:41:07 +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
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
1f32f77846 feat(SW-938) Added icons to room facility 2024-11-22 10:18:27 +01:00
Pontus Dreij
9693803626 feat(SW-938) use mapFacilityToIcon 2024-11-22 10:17:56 +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