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
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
40228f8fc2
fix(SW-983) added variables
2024-11-25 15:43:44 +01:00
Christel Westerberg
317731c24d
fix: handle no children
2024-11-25 15:08:12 +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
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
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
23fa17a450
feat(SW-938) Updated icons
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
Pontus Dreij
5e7d7f377e
Merged in fix/SW-960-tap-outside-card-map-mobile (pull request #958 )
...
fix(SW-960) close hotel card in map on click outside (mobile)
Approved-by: Niclas Edenvin
2024-11-22 07:18:36 +00:00
Pontus Dreij
496b0db230
fix(SW-960) close on click outside
2024-11-21 16:30:24 +01:00
Arvid Norlin
ac0d671811
fix(SW-957 SW-958): Make selected EnterDetailsCards clickable
2024-11-21 15:34:44 +01:00
Fredrik Thorsson
d5cdbf7e82
feat(SW-750): update icon import
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
Hrishikesh Vaipurkar
01638f4dd7
fix: SW-967 Fixed bad setState call error
2024-11-21 11:26:01 +01:00
Hrishikesh Vaipurkar
de2057b41c
fix: SW-967 Alert showing no hotels with filters
2024-11-21 11:26:01 +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
55bf718045
Merged in fix/add-translation-no-prices-available (pull request #949 )
...
fix: add translation for no prices available
* fix: add translation for no prices available
Approved-by: Pontus Dreij
Approved-by: Christian Andolf
2024-11-20 15:09:24 +00:00
Pontus Dreij
a12fad1a45
fix(SW-925) remove log
2024-11-20 14:41:48 +01:00
Pontus Dreij
f2de6f103e
fix(SW-925) remove log
2024-11-20 14:41:48 +01:00
Pontus Dreij
f5a215b27f
fix(SW-925) Removed adding of rooms not in filter
2024-11-20 14:41:48 +01: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
0d739ff81d
fix: remove console.log and unused variable
2024-11-20 14:31:53 +01:00
Bianca Widstam
39b3cc39d7
Merged in fix/SW-940-sort-by-price (pull request #946 )
...
fix(SW-940): change logic for price sorting
* fix(SW-940): change logic for price sorting
* fix(SW-940): change logic for price sorting
Approved-by: Pontus Dreij
2024-11-20 12:54:54 +00: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
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
1330c8b537
feat: SW-601 Optimized code
2024-11-19 17:32:43 +01:00
Hrishikesh Vaipurkar
cb98f5a907
feat: SW-601 Optimized css
2024-11-19 17:21:11 +01:00