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
Christel Westerberg
fda17c947a
fix: empty previous stays design
2024-07-10 07:57:11 +02:00
Christel Westerberg
21f07c584b
chore: update design system and names of tokens
2024-07-10 07:56:38 +02:00
Matilda Landström
bb422f804d
Merged in feat/card-grid-ui (pull request #332 )
...
Feat/card grid ui
Approved-by: Simon.Emanuelsson
2024-07-09 11:16:44 +00:00
Matilda Landström
ada65b8612
Merged in feat/benefit-cards (pull request #334 )
...
feat: update benefit cards ui
Approved-by: Simon.Emanuelsson
2024-07-09 11:14:30 +00:00
Matilda Landström
c6ad107e49
Merged in feat/section-header-link (pull request #314 )
...
Feat(WEB-359): Update section link for mobile
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Arvid Norlin
2024-07-04 10:42:01 +00:00
Fredrik Thorsson
be2817c83a
feat: remove icon class
2024-07-01 12:38:48 +02:00
Fredrik Thorsson
e2cd952ce9
feat: use grid on no upcoming component
2024-07-01 12:38:48 +02:00
Fredrik Thorsson
0887bffe0f
feat: syntax change
2024-07-01 12:38:48 +02:00
Fredrik Thorsson
032022dd52
feat: remove guest amount information
2024-07-01 12:38:48 +02:00
Fredrik Thorsson
0c832078a3
feat: remove limit
2024-07-01 12:38:48 +02:00
Fredrik Thorsson
b059302c92
feat: use overflow hidden instead of variables
2024-07-01 12:38:48 +02:00
Fredrik Thorsson
4fa526ddce
feat: remove icon class on show more button
2024-07-01 12:38:47 +02:00
Fredrik Thorsson
d2b6e9e358
feat: add baseText style
2024-07-01 12:38:47 +02:00
Fredrik Thorsson
5b30d8cb0d
feat: display guest logic
2024-07-01 12:38:47 +02:00
Fredrik Thorsson
306f6cd9ab
feat: add ui to empty state overview component
2024-07-01 12:38:47 +02:00
Fredrik Thorsson
c435873937
feat: add ui for stay card
2024-07-01 12:38:47 +02:00
Fredrik Thorsson
e4e3b315ff
feat: add css variables
2024-07-01 12:38:47 +02:00
Fredrik Thorsson
21ff5f78ca
feat: implement ui for empty stay
2024-07-01 12:38:47 +02:00
Arvid Norlin
1c76725b4c
feat: add benefit translations and remove unused JSON
2024-06-26 14:57:33 +02:00
Michael Zetterberg
1a6a31bfe9
fix: bg for tables
2024-06-20 08:02:09 +02:00
Michael Zetterberg
2002604711
fix: bg color on earn and burn table rows
2024-06-20 07:44:27 +02:00
Matilda Landström
edb45b4ac7
chore: update colors to new design
2024-06-19 17:52:19 +02:00
Matilda Landström
469f97dee5
chore: update background color for shortcuts and current level benefits
2024-06-19 17:49:11 +02:00
Christel Westerberg
b0b9ac15cc
fix: button for empty stays
2024-06-19 16:15:33 +02:00
Christel Westerberg
4233ecae42
fix: update ui
2024-06-19 16:15:33 +02:00
Simon Emanuelsson
d84efcbb0f
feat(WEB-162): final design edit profile page
2024-06-19 14:51:00 +02:00
Simon Emanuelsson
5f3e417593
feat(WEB-162): final design for my profile page
2024-06-19 14:51:00 +02:00
Chuma McPhoy
a7b04df7b6
fix: Remove explore all benefits link from benefits page
2024-06-19 13:09:40 +02:00
Christel Westerberg
ceee9fd154
refactor: break out Section container
2024-06-18 16:21:06 +02:00
Matilda Landström
9931d9edef
Merged in feat/membership-information (pull request #233 )
...
Feat(WEB-307) Display correct membership information
* fix: fix typo
* chore: update fetch of user membership
* chore: update components to use api data
* chore: remove lang as static value
* fix: adapt to dev updates
* fix: adapt to code from dev
* fix: break out MembershipLevel into its a React component
* fix: add enum to zod validation
* refactor: rename tier to level
* refactor: remove unnecessary casts
* refactor: change toString() to hideEmpty=false
* refactor: remove toString()
* refactor: remove hideEmpty from title and subtitle
* fix: update currentLevel with data
* fix: fix from rebase
Approved-by: Michael Zetterberg
2024-06-18 13:14:09 +00:00