Simon Emanuelsson
2337d37f1a
feat(SW-160): update profile
2024-08-23 09:09:55 +02:00
Tobias Johansson
e9a6499086
feat(SW-245): Delete credit card
2024-08-21 16:24:39 +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
Michael Zetterberg
63ce8a2dfb
fix(SW-104): use relative url for initiation
2024-08-21 15:25:37 +02:00
Arvid Norlin
7e719bc475
chore: move typings
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
6f293be3a7
feat(SW-164): Add pagination for friendship transactions
2024-08-21 09:43:51 +02:00
Tobias Johansson
84f5e74f00
Merged in feat/SW-104-add-card (pull request #410 )
...
Feat/SW-104 add card
* feat: add api endpoints for adding and removing credit card
* feat(SW-104): Added Sonner toast lib
* feat(SW-104): Add route handlers for add card flow
* feat(SW-104): Added link to route handler and trigger toast when query params from callback is set
* feat(SW-104): Added translations for add card success toast
* feat(SW-104): Refactored to use client request for initiate save card
* fix(SW-104): Return proper status codes when initiating save card fails
* fix(SW-104): remove delete card endpoint because it was added in SW-245
* fix(SW-104): remove console.log
* fix(SW-104): Use api.post for save card request
* fix(SW-104): move function declaration above export
* fix(SW-104): handle response of save card and use Lang enum
* fix(SW-104): added comment for why setTimeout is needed for toast and also removed lang prop
* fix(SW-104): added type for AddCreditCardButton props
* feat: add toasts
* fix(SW-104): start using toasts from ToastHandler and fix problem with duplicate toasts
* fix(SW-104): remove unnecessary wrapping div
Approved-by: Michael Zetterberg
2024-08-20 15:04:02 +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
Simon Emanuelsson
c94b83464f
fix(SW-113): add colors to negative and positive point transactions
2024-08-06 14:11:10 +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
Chuma McPhoy
f71d0a07d5
feat: add textTransform prop to section headers
2024-07-10 18:47:45 +02:00
Matilda Landström
3e54d3c29e
chore: add memberships "endoint"
2024-06-19 17:36:50 +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
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
Simon Emanuelsson
aca9221ea6
feat: loosen up the zod validations and return null instead of throwing
2024-06-18 12:28:05 +02:00
Simon Emanuelsson
7c4b8401e9
feat(WEB-304): remaning UI from design system primitives
2024-06-13 10:00:16 +02:00
Simon Emanuelsson
de79c2dc80
feat(WEB-220): label translations
2024-06-05 13:25:10 +02:00
Simon Emanuelsson
00f99912fc
feat(WEB-249): first iteration design system primitives (typography, grid)
2024-05-30 18:17:03 +02:00
Simon Emanuelsson
16b817f469
feat(WEB-250): overview hero final ui
2024-05-30 17:56:56 +02:00
Matilda Landström
c8247bb2e4
refactor: move contentype to header
2024-05-30 16:07:42 +02:00
Matilda Landström
3b14b9fa48
fix: add typing
2024-05-30 16:07:17 +02:00
Arvid Norlin
470e308480
chore: css fixes
2024-05-23 15:42:52 +02:00
Arvid Norlin
795fe400cb
fix: update friendTransaction model according to API
2024-05-23 14:59:26 +02:00
Arvid Norlin
9ef9de840c
feat: add data handling to EarnAndBurn
2024-05-23 14:59:26 +02:00
Arvid Norlin
7ad8726633
feat: add initial support for points page
2024-05-23 14:59:26 +02:00
Michael Zetterberg
f5108d1a8e
feat: improve structure and error handling
2024-05-20 00:51:16 +02:00
Christel Westerberg
5d15e5605f
feat: add two and three column grid variants
2024-05-15 09:43:29 +02:00
Christel Westerberg
b054fc2597
fix: add nullable values for account page
2024-05-14 11:24:19 +02:00
Christel Westerberg
ed052dbfa4
fix: change optional to nullable in validation
2024-05-14 11:24:19 +02:00
Christel Westerberg
661a8019d3
feat: enhance stays with api data
2024-05-14 10:33:15 +02:00
Arvid Norlin
58d2963d6a
chore: organize types
2024-05-03 08:16:52 +02:00
Arvid Norlin
2ddcbff009
fix: move user fetch
2024-05-03 08:16:52 +02:00
Arvid Norlin
03daf0540e
fix: correct Shortcuts
2024-05-03 08:16:52 +02:00
Arvid Norlin
dd2127749a
chore: make Stays title prop optional
2024-05-03 08:16:52 +02:00
Arvid Norlin
1e8f23de38
chore: clean up typings
2024-05-03 08:16:51 +02:00
Arvid Norlin
b12ccfafef
fix: align styles
2024-05-03 08:16:51 +02:00
Arvid Norlin
7b92be973c
fix: move typings
2024-05-03 08:16:51 +02:00
Arvid Norlin
dff21b33cd
feat: add SoonestStays
2024-05-03 08:16:51 +02:00
Arvid Norlin
b7782b61a7
fix: add rendering logic for optional link and preamble
2024-05-03 08:16:51 +02:00
Arvid Norlin
ed2cc59a87
feat: add initial rendering of Account page data
2024-05-03 08:16:51 +02:00
Christel Westerberg
c00f7b78eb
feat(WEB-131): add loyalty page
2024-04-29 14:01:20 +02:00
Matilda Landström
861ad26f21
chore: update my stays to new MVP design
2024-04-26 16:06:41 +02:00
Matilda Landström
7480b212e2
chore: add load more functionality, with refactored css
2024-04-26 16:06:41 +02:00
Michael Zetterberg
2f6500f46d
feat: static my stays
2024-04-20 07:24:54 +02:00
Simon Emanuelsson
55794034c5
feat(WEB-169): get profile data from API
2024-04-18 13:53:49 +02:00
Simon Emanuelsson
38f764e0ff
feat: breadcrumbs for My Pages
2024-04-16 10:09:10 +02:00
Simon Emanuelsson
9396b2c3d5
feat(WEB-170): edit profile view
2024-04-16 09:24:31 +02:00
Simon Emanuelsson
82e4d40203
feat(WEB-154): my profile view
2024-04-12 16:25:52 +02:00