Commit Graph

647 Commits

Author SHA1 Message Date
Christel Westerberg
151fff22d9 fix: hide booking widget 2024-08-22 11:39:52 +02:00
Erik Tiekstra
fb3bf0d482 fix(SW-190): fixed some styling irregularities 2024-08-22 09:49:02 +02: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
Erik Tiekstra
8c76cf62c7 fix(SW-190): reverted changes in MaxWidth 2024-08-22 09:49:02 +02:00
Erik Tiekstra
771338cc80 fix(SW-190): added imageVaultAsset schema 2024-08-22 09:49:02 +02:00
Erik Tiekstra
4f2bd0c2d6 fix(SW-190): moved Intro component to components folder and removed 'duplicate' 2024-08-22 09:49:02 +02:00
Erik Tiekstra
b073b0ae73 fix(SW-190): renamed components to index.tsx 2024-08-22 09:49:02 +02:00
Erik Tiekstra
c75452dd17 fix(SW-190): moved Hero component from TempDesignSystem to components 2024-08-22 09:49:02 +02:00
Erik Tiekstra
e7ec6b09c3 fix(SW-190): styling fixes 2024-08-22 09:49:02 +02:00
Erik Tiekstra
8220a39a8f feat(SW-190): added hero to static content pages 2024-08-22 09:49:02 +02:00
Erik Tiekstra
f1ca9a0704 feat(SW-190): added hero to loyalty pages 2024-08-22 09:49:02 +02:00
Christel Westerberg
df076f50f5 fix: hide my pages menu for logged in users 2024-08-22 09:02:15 +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
Fredrik Thorsson
72ebc14f7d feat(SW-243): import tempdata 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
5c357bc88b feat(SW-243): add translations 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
f4e63bedca feat(SW-243): remove height on desktop 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
47c1b763fc feat(SW-243): change title to subtitle 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
0362e5eff3 feat(SW-243): set button asChild 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
13d113169c feat(SW-243): css refactoring 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
cda3816219 feat(SW-243): translations 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
56a85dcde7 feat(SW-243): refactor 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
65509622d2 feat(SW-243): add temp data 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
bd14fb5fd2 feat(SW-243): use Caption and Body 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
6a6dccaba5 feat(SW-243): make section responsive 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
a689f12965 feat(SW-243): add breakpoints 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
bdafef492f feat(SW-243): implement mobile design 2024-08-21 15:32:53 +02:00
Michael Zetterberg
63ce8a2dfb fix(SW-104): use relative url for initiation 2024-08-21 15:25:37 +02:00
Arvid Norlin
8109148bc5 fix(SW287): update translation regarding current level 2024-08-21 14:29:51 +02:00
Christel Westerberg
855713565e feat: handle ecid and loginType params from mobile app 2024-08-21 11:24:44 +02:00
Chuma McPhoy
4a07ca3cd9 fix(SW-188): add todo comment for badge text in rooms 2024-08-21 10:31:52 +02:00
Chuma McPhoy
78057ce295 fix(SW-188): use brackets for if body 2024-08-21 10:31:52 +02:00
Chuma McPhoy
f4586ba35b fi(SW-188): implement PR feedback 2024-08-21 10:31:52 +02:00
Chuma McPhoy
2407f40b75 fix(SW-188): replace formatMessage destructuring in hotel related components 2024-08-21 10:31:52 +02:00
Chuma McPhoy
400c0b48e4 refactor(SW-188): reintroduce tempHotelData 2024-08-21 10:31:52 +02:00
Chuma McPhoy
3a2a58a9ca fix(SW-188): improve semantics, use hotel instead of attribute naming 2024-08-21 10:31:52 +02:00
Chuma McPhoy
1885f8080a fix: retrigger build 2024-08-21 10:31:52 +02:00
Chuma McPhoy
1ff6cd267d feat: update getHotel to use real hotel api endpoint, support for service tokens, type modifications 2024-08-21 10:31:52 +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
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
Matilda Landström
aa9e723cb5 feat(SW-288): update translations 2024-08-20 10:10:18 +02:00