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
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
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
Michael Zetterberg
49ec390599
fix(SW-234): better empty state message for no transactions
2024-08-09 12:40:29 +02:00
Simon.Emanuelsson
9796ff29c5
Merged in feat/SW-207 (pull request #386 )
...
feat(SW-207): add expiring points and date when they will expire
Approved-by: Michael Zetterberg
2024-08-07 08:53:48 +00:00
Simon Emanuelsson
be620f18ba
feat(SW-207): add expiring points and date when they will expire
2024-08-06 15:59:40 +02:00
Simon Emanuelsson
c94b83464f
fix(SW-113): add colors to negative and positive point transactions
2024-08-06 14:11:10 +02:00
Niclas Edenvin
eca9669222
bug: SW-235 Fix hover state on stay card
2024-08-01 10:22:43 +02:00
Michael Zetterberg
fa4a7ac56b
Merged in fix/safari-membershipnr-link (pull request #379 )
...
fix(SW-230): stop Safari from parsing membership number as phone number on iOS
Approved-by: Niclas Edenvin
2024-08-01 07:17:36 +00:00
Niclas Edenvin
39f2b88088
bug: SW-233 Fix wrong padding on membership number
2024-07-31 13:37:42 +02:00
Michael Zetterberg
a8d6c3790a
fix(SW-230): stop Safari from parsing membership number as phone number on iOS
2024-07-30 16:44:45 +02:00
Matilda Landström
b67c4c7684
fix: update grids to dynamically adapt number of columns + aligned rows
2024-07-15 15:28:09 +02:00
Christel Westerberg
62310caa90
fix: make all h4 and subtitles capitalized
2024-07-15 15:07:23 +02:00
Matilda Landström
801a041404
Merged in feat/best-friend-hero (pull request #338 )
...
Feat(SW-170): Update overview hero
Approved-by: Christel Westerberg
2024-07-12 06:45:44 +00:00
Christel Westerberg
9ede5e4210
fix: remove pagination from friends endpoints since it is no longer supported
2024-07-11 15:00:46 +02:00
Christel Westerberg
6b5606fc8b
fix: design review comments
2024-07-10 16:01:28 +02:00
Hrishikesh Vaipurkar
cbd634144e
feat: WEB-210 Updated types as review comments
2024-07-10 11:37:29 +02:00
Hrishikesh Vaipurkar
d33e038703
feat: WEB-210 Updated as per review comments
2024-07-10 11:37:29 +02:00
Hrishikesh Vaipurkar
1fd7cdcbc3
feat: WEB-210 Rebased with develop branch
2024-07-10 11:37:27 +02:00
Hrishikesh Vaipurkar
b57860ddfe
feat: (Web-210) Added encryption for my-booking Urls
2024-07-10 11:37:25 +02:00