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
Erik Tiekstra
b2b7f4f85a
fix(SW-190): added cache for content page query and added breadcrumbs fetching for content page
2024-08-22 09:49:02 +02:00
Tobias Johansson
1ec1033267
Merged in feat/SW-165-correct-labels (pull request #427 )
...
Feat/SW-165 correct labels
* feat(SW-165): sort friend transactions and return additional properties
* feat(SW-165): Added points being calculated label
* feat(SW-165): added transactionDate for transactions without checkinDate
* feat(SW-165): Updated description copy for various reward types
* feat(SW-165): filter out expired transactions
* feat(SW-165): removed Mobile table and unified them into Table instead
* feat(SW-165): Added bookingUrl to friend transactions
* fix(SW-165): style fixes
* fix(SW-165): fix issues from merge
* fix(SW-165): remove comment
* fix(SW-165): fixed booking urls not being set and smaller fixes
* fix(SW-165): added comment regarding 'BALFWD'
Approved-by: Michael Zetterberg
Approved-by: Christel Westerberg
2024-08-21 13:54:55 +00:00
Arvid Norlin
8109148bc5
fix(SW287): update translation regarding current level
2024-08-21 14:29:51 +02:00
Arvid Norlin
cadcf2a13f
chore: remove redundant css rule
2024-08-21 09:44:28 +02:00
Arvid Norlin
7e719bc475
chore: move typings
2024-08-21 09:44:28 +02:00
Arvid Norlin
0453728696
chore: make pagination scale somewhat better on small devices awaiting design feedback on ellipsises
2024-08-21 09:44:28 +02:00
Arvid Norlin
b0358ffa0e
chore: break out pagination component
2024-08-21 09:44:28 +02:00
Arvid Norlin
a14157696e
fix: remove initialData to avoid page load issues
2024-08-21 09:44:28 +02:00
Arvid Norlin
f96712538e
refactor: implement trpc client pattern for EarnAndBurn Journey
2024-08-21 09:44:28 +02:00
Arvid Norlin
1bcd3b81e1
chore: move totalPages to meta
2024-08-21 09:44:28 +02:00
Arvid Norlin
8c75b9bcd7
wip: initial stab trpc pagination
2024-08-21 09:44:25 +02:00
Arvid Norlin
6c15f1ae3a
chore: remove destructuring of intl.formatMessage
2024-08-21 09:43:51 +02:00
Arvid Norlin
6f293be3a7
feat(SW-164): Add pagination for friendship transactions
2024-08-21 09:43:51 +02:00
Niclas Edenvin
59ae1a1d42
Merged in bug/lang-client-component (pull request #411 )
...
bug: Make staycard a client component
* bug: Make staycard a client component
Approved-by: Hrishikesh Vaipurkar
2024-08-15 12:12:39 +00:00
Niclas Edenvin
e67212bd94
Merged in feature/refactor-lang (pull request #387 )
...
feat: SW-238 Avoid prop drilling of lang
Approved-by: Michael Zetterberg
2024-08-14 11:00:20 +00:00
Michael Zetterberg
bc84122a40
fix(SW-236): properly handle expired token in webviews
...
Trying out a new pattern for errors in data fetching.
Next.js is not a fan of throwing errors. Instead it recommends returning
different shapes for each state. Ref:
https://nextjs.org/docs/app/building-your-application/routing/error-handling#handling-expected-errors-from-server-components
It requires some more detailing and a bit more refactoring in non webview part,
but it is a start. This webview specific implementation should not break web.
2024-08-13 16:54:33 +02:00
Chuma McPhoy
404bf867db
fix(feat-SW-94): cleaner conditional check for breadcrumbs
2024-08-12 10:51:25 +02:00
Chuma McPhoy
ebe79c43e0
feat: Add tab navigation to hotel page
2024-08-12 10:26:02 +02:00
Arvid Norlin
1230df86d0
chore: remove obsolete CurrentPointsBalance component since unused
2024-08-10 08:23:54 +02:00
Arvid Norlin
8592d7004b
fix(SW-248): update spendable points texts
2024-08-10 08:23:42 +02:00