Commit Graph

260 Commits

Author SHA1 Message Date
Christian Andolf
0ba71f205d fix(LOY-137): now fetches surprises client side in intervals 2025-02-21 15:37:59 +01:00
Linus Flood
15dbeb9d46 Merged in feat/mypages-parallel-routes (pull request #1388)
feat: my profile - removed all parallel routes

* Removed all parallel routes on my-profile

* Fixed suspense

* Moved components into myprofile folder

* Turn off browser cache on myprofile

* Clear router cache when editing profile

* Clear route cache when adding new credit card

* PR fixes


Approved-by: Joakim Jäderberg
2025-02-21 11:24:46 +00:00
Pontus Dreij
a0286603db Merged in feat(SW-1275)-cancel-booking-my-stay (pull request #1376)
Feat(SW-1275) cancel booking my stay

* feat(SW-1276) UI implementation Desktop part 1 for MyStay

* feat(SW-1276) UI implementation Desktop part 2 for MyStay

* feat(SW-1276) UI implementation Mobile part 1 for MyStay

* refactor: move files from MyStay/MyStay to MyStay

* feat(SW-1276) Sidepeek implementation

* feat(SW-1276): Refactoring

* feat(SW-1276) UI implementation Mobile part 2 for MyStay

* feat(SW-1276): translations

* feat(SW-1276) fixed skeleton

* feat(SW-1276): Added missing translations

* feat(SW-1276) fixed translations

* feat(SW-1275) cancel modal

* feat(SW-1275): Mutate cancel booking

* feat(SW-1275) added translations

* feat(SW-1275) match current cancellationReason

* feat(SW-1275) Added modal for manage stay

* feat(SW-1275) Added missing icon

* feat(SW-1275) New Dont cancel button

* feat(SW-1275) Added preperation for Cancellation number

* feat(SW-1275): added --modal-box-shadow

* feat(SW-1718) Add to calendar

* feat(SW-1718) general add to calendar


Approved-by: Niclas Edenvin
2025-02-21 09:06:15 +00:00
Christian Andolf
bc81b18e85 fix(LOY-88): expiration date is now not defaulted to todays date if it's missing, instead nothing is shown 2025-02-17 09:07:32 +01:00
Joakim Jäderberg
2791f07f67 Merged in fix/mypages-clientside-menu (pull request #1344)
Fix/mypages clientside menu

* feat: move mypages menu to client side

* Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/mypages-clientside-menu

* wip

* wip

* wip

* refactor: reorganize MyPages navigation logic and improve type definitions

* refactor: enhance MyPagesMobileDropdown with loading states and skeletons

* refactor: clean up header component and improve myPagesNavigation query structure

* Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/mypages-clientside-menu


Approved-by: Linus Flood
2025-02-17 07:47:33 +00:00
Christian Andolf
03e9e5c9ca fix(LOY-138): remove membership id from showing in surprises 2025-02-13 16:44:40 +01:00
Joakim Jäderberg
6f51130e48 Merged in feature/hardcoded-mypages-links (pull request #1325)
Feature/hardcoded mypages links

* feat: wip use hardcoded links

* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/hardcoded-mypages-links

* feat: use hardcoded links for my pages to support dynamic links

* cleanup

* code fixes

* refactor: restructure MyPagesMobileDropdown component for improved readability

* use util timeout function


Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-02-13 09:28:30 +00:00
Christian Andolf
4459d5762c fix(LOY-119): hiding redeemed rewards
some smaller cleanup on coupon property to avoid optional checks
2025-02-11 13:02:29 +01:00
Christian Andolf
72049ed88b fix(LOY-89): add a more user friendly error message for when unwrapping surprises 2025-02-11 10:08:40 +01:00
Linus Flood
0800c877a3 Merged in fix/hotjar-suppress-fixes (pull request #1192)
fix: hotjar - suppress personal data

* fix: hotjar - suppress personal data

* More suppressing
2025-02-04 06:47:36 +00:00
Christian Andolf
72e4b7bb9b fix(LOY-39): revert coupon property change 2025-01-20 09:53:17 +01:00
Christian Andolf
633d259ce0 fix(LOY-39): refetch rewards when redeemed
update expiration date text

possible to redeem rewards with coupon code
2025-01-20 09:53:17 +01:00
Michael Zetterberg
d2ce9c0d7c fix(i18n): prepare for Lokalise 2025-01-13 13:35:03 +01:00
Linus Flood
dc6c2ae483 Refactor navigation skeleton 2024-12-17 08:20:30 +01:00
Linus Flood
c45ef9d4a7 Splitted sidebar skeletons 2024-12-17 07:45:55 +01:00
Linus Flood
daa677d605 feat/sidebar-skeleton: added sidebar skeleton 2024-12-17 07:17:30 +01:00
Chuma McPhoy
53c33fef13 fix(LOY-10): My pages sidebar UI tweaks 2024-12-12 14:06:31 +01:00
Christian Andolf
e08e960209 chore: add consistent type imports 2024-12-12 11:47:44 +01:00
Chuma McPhoy
13551417ed feat(LOY-10): dynamic icons based on reward id 2024-12-11 09:40:41 +01:00
Chuma McPhoy
28d4d752e9 feat(LOY-53): CurrentRewards - replace show more functionality with pagination 2024-12-10 09:48:59 +01:00
Christian Andolf
848338248f fix(SW-696): remove redundant filter, add translation 2024-11-21 12:19:46 +01:00
Christian Andolf
3aedc4ff25 fix(SW-696): split up surprises into more components for readability
add tsparticles for confetti
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
Christian Andolf
f6b3cf8b92 chore: replace function expression with inline statement
replace destructuring for better static analysis

remove unused variables
2024-11-08 09:25:28 +01:00
Linus Flood
65b6830472 Merged develop into feat/sw-694-performance 2024-10-28 12:55:52 +00:00
Linus Flood
5e8efb4a27 More memoized requests 2024-10-28 11:20:59 +01:00
Christian Andolf
b6cb3855c2 refactor(SW-556): added a few missing pieces like translations and properties.
removed unneeded changes
2024-10-25 14:02:32 +02:00
Christian Andolf
e6db1b17c6 fix(SW-556): now fetching surprises separately in component.
also showing surprises on any account page
2024-10-25 14:02:32 +02:00
Simon Emanuelsson
af850c90e7 feat(SW-66, SW-348): search functionality and ui 2024-09-24 09:47:31 +02:00
Linus Flood
3834f82497 Merge branch 'develop' into feat/sw-386-header-fixes 2024-09-19 11:23:33 +02:00
Linus Flood
98b48b8290 More PR fixes 2024-09-18 15:31:15 +02:00
Christel Westerberg
1729f4b9c7 fix: hide tier nights 2024-09-18 10:06:15 +02:00
Linus Flood
df90387f1a Some pr fixes 2024-09-12 19:44:44 +02:00
Linus Flood
1d9a8f9e70 Langswitcher as parallel instead of Header. Using promise.all and added some Suspenses 2024-09-12 19:44:44 +02:00
Christel Westerberg
1b8cc891c9 fix: refactor away subtitleParam 2024-09-06 11:37:00 +02:00
Christel Westerberg
df38a718b5 fix(SW-366): add nights to next level 2024-09-06 11:05:33 +02:00
Tobias Johansson
fd9d6d5a1c fix: wrong prop name 2024-09-05 11:38:13 +02:00
Tobias Johansson
238de4cd3a Merged in feat/CJ-17-points-expiration-table (pull request #527)
Feat/CJ-17 points expiration table

* feat(CJ-17): Added point expiration table and refactored to use Table component

* feat(CJ-17): Use Table component inside Row

* fix(CJ-117): Added missing css class and update date formatting

* fix(CJ-117): Added copy of membershipLevel route with a protectedProcedure


Approved-by: Christel Westerberg
2024-09-05 09:28:25 +00:00
Tobias Johansson
bc3233ff64 Merged in feat/SW-196-design-fixes (pull request #547)
Feat/SW-196 design fixes

* feat(SW-196): Updated copy My credit cards -> My payment cards

* fix: update design system version

* feat(SW-196): Update Header component to use Preamble instead of Subtitle

* feat(SW-196): Minor design fixes


Approved-by: Christel Westerberg
2024-09-03 08:43:13 +00:00
Tobias Johansson
c0b16e8dee Merged in feat/SW-212-copy-to-clipboard-feedback (pull request #548)
Feat/SW-212 copy to clipboard feedback

* feat(SW-212): Added toast to give feedback when copying member id

* feat(SW-212): Update copy

* feat(SW-212): Changed to use success toast and updated copy

* fix: update copy in toast for copying membership ID


Approved-by: Christel Westerberg
Approved-by: Matilda Landström
2024-09-02 13:49:10 +00:00
Matilda Landström
3c772bfb10 Merged in feat/benefit-cards-titles (pull request #528)
fix: change to correct titles on benefit cards

Approved-by: Michael Zetterberg
2024-08-28 12:39:44 +00:00
Matilda Landström
52c0829d55 fix: change to correct titles on benefit cards 2024-08-28 12:19:41 +02:00
Matilda Landström
d5846f38f5 fix: remove mistake 2024-08-28 11:55:03 +02:00
Matilda Landström
f3a20e9a27 fix(SW-288): usage of intl 2024-08-28 11:51:08 +02:00
Matilda Landström
007b937695 chore(SW-288): update Finnish translations + date format 2024-08-28 09:54:16 +02:00
Tobias Johansson
e092631c4d fix: issue with name not being center aligned 2024-08-27 11:40:51 +02:00
Michael Zetterberg
2ea6a2d242 fix: allow any membership level 2024-08-27 07:41:59 +02:00
Matilda Landström
f46207a308 feat: improve handling of stays 2024-08-23 15:45:15 +02:00
Tobias Johansson
fb581ad489 fix: hide clickable booking url in webview 2024-08-23 11:01:07 +02:00
Tobias Johansson
159114a082 Merged in feat/SW-165-fixes (pull request #460)
Feat/SW-165 fixes

* fix(SW-165): update translations for reward labels

* fix(SW-165): Fix sorting and filtering of transactions and hide fields when BALFWD

* fix(SW-165): update condition


Approved-by: Michael Zetterberg
2024-08-22 14:34:55 +00:00