Commit Graph

671 Commits

Author SHA1 Message Date
Pontus Dreij
08e71a8dc6 fix(946) Center from town name instead of calculate center 2024-11-21 14:15:51 +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
Pontus Dreij
10d2e094e4 fix(SW-925) Fix default packages 2024-11-20 14:41:48 +01:00
Joakim Jäderberg
3d2f9e4a7e fix: rename misnamed component 2024-11-20 13:09:37 +01: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
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
Pontus Dreij
ab9c8012c9 fix(SW-934): Change logic to isAllUnavailable instad of hotels.length 2024-11-19 15:36:20 +01:00
Bianca Widstam
ea3aff5dcd Merged in fix/translation-hotelpage-header (pull request #934)
Fix/SW-932-translation hotelpage header

* fix: add translation for hotel page header

* fix: add hotel translation

* fix: add translation where to when loading

* fix: update hotel(s) count if filtered

* fix(SW-932): update hotel(s) count


Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2024-11-19 14:34:45 +00:00
Simon Emanuelsson
744af22b08 fix: make sure all searchparams are used in redirect 2024-11-19 11:19:44 +00:00
Joakim Jäderberg
e1a2532b3f fix: use suspense over loading.tsx 2024-11-19 10:57:52 +01:00
Joakim Jäderberg
3c8db6ae8b merge 2024-11-19 08:58:40 +01:00
Christel Westerberg
bd0720dc0f fix: break out css variables 2024-11-19 08:49:26 +01:00
Joakim Jäderberg
0103144815 fix: add missing loading.tsx 2024-11-19 08:48:11 +01:00
Arvid Norlin
c0751968b5 feat(SW-612): Add popover component 2024-11-19 08:48:11 +01:00
Joakim Jäderberg
275fdd8a78 fix: add loading.tsx to route group 2024-11-19 08:31:52 +01:00
Arvid Norlin
17df6d6c47 feat(SW-612): Add popover component 2024-11-19 08:08:08 +01:00
Joakim Jäderberg
7addf78740 fix: add missing loading.tsx and remove redundant ones 2024-11-19 08:05:14 +01:00
Joakim Jäderberg
d6e1e222cc fix: add missing loading.tsx and remove redundant ones 2024-11-19 08:05:14 +01:00
Simon Emanuelsson
c6fc500d9e feat: make steps of enter details flow dynamic depending on data 2024-11-19 08:05:14 +01:00
Bianca Widstam
d49e301634 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-19 08:05:14 +01:00
Tobias Johansson
293800f024 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-19 08:05:14 +01:00
Niclas Edenvin
5fb70866ea 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-19 08:05:14 +01:00
Christel Westerberg
d67affd677 fix: update booking service schemas 2024-11-19 08:05:13 +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
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
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
Christel Westerberg
f0c7aa349c fix: update booking service schemas 2024-11-18 10:54:57 +01:00
Joakim Jäderberg
9c7ac78e14 fix: make parallel routes not render blocking
fix: add loading to parallel routes
2024-11-18 10:45:37 +01:00
Hrishikesh Vaipurkar
0a3b9450b6 feat: SW-602 Optimized code 2024-11-15 18:20:48 +01:00
Hrishikesh Vaipurkar
a17010a431 feat: SW-602 Implemented no availability states 2024-11-15 18:20:48 +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
Anton Gunnarsson
684faaa4b0 Merged master into feat/SW-888-skeleton-loaders 2024-11-15 14:24:57 +00:00
Chuma McPhoy
5fef56cc97 fix(SW-890): better feature flag handling 2024-11-15 12:22:40 +01:00
Chuma McPhoy
fd6c15ed78 feat: add env var for signup flow 2024-11-15 12:22:40 +01:00
Bianca Widstam
ef2ef3c9a8 feat/SW-604-select-hotel-page-UI (pull request #905)
Feat/SW-604 select hotel page UI

* feat(SW-604): update header, scandic logo, and map text

* feat(SW-604): fix map button

* feat(SW-604): fix align header

* feat(SW-604): hide filter for mobile

* feat(SW-604): fix padding

* feat(SW-604): fix padding again

* feat(SW-604): fix mobile design

* feat(SW-604): fix padding


Approved-by: Pontus Dreij
2024-11-15 10:15:26 +00:00
Anton Gunnarsson
d83a839ed6 Merged master into feat/SW-888-skeleton-loaders 2024-11-15 09:44:56 +00:00
Christel Westerberg
aec6361cd7 fix: header in current content pages 2024-11-15 09:09:38 +01:00
Linus Flood
c7465855cf Merged master into feat/SW-888-skeleton-loaders 2024-11-14 19:14:31 +00:00
Pontus Dreij
d158aca6fd feat(SW-629): Added no availabilty if no hotels are listed 2024-11-14 16:23:44 +01:00
Pontus Dreij
8aa615dfc7 feat(SW-892) Fixed bug with summary not adding pet charge on filter 2024-11-14 14:42:45 +01:00
Anton Gunnarsson
4c6d72a402 Set min-height on layout loaders 2024-11-14 13:25:56 +01:00
Anton Gunnarsson
2bfe8df741 Refactor booking widget skeleton 2024-11-14 13:25:49 +01:00