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
Fredrik Thorsson
121d3878af
feat(SW-240): use caption instead of body
2024-08-19 15:50:00 +02:00
Fredrik Thorsson
0bf2927e79
feat(SW-240): add form id to button
2024-08-19 15:50:00 +02:00
Fredrik Thorsson
0e084538b3
feat(SW-240): remove box shadow
2024-08-19 15:50:00 +02:00
Fredrik Thorsson
4a469243e4
feat(SW-240): name change
2024-08-19 15:50:00 +02:00
Fredrik Thorsson
66f2b202c9
feat(SW-240): change class name
2024-08-19 15:49:59 +02:00
Fredrik Thorsson
3eaaa9aca2
feat(SW-240): basic styling forms
2024-08-19 15:49:59 +02:00
Fredrik Thorsson
2d45a637e5
feat(SW-240): remove width from input class
2024-08-19 15:49:59 +02:00
Fredrik Thorsson
608fe13004
feat(SW-240): add simple form
2024-08-19 15:49:59 +02:00
Fredrik Thorsson
00a5465485
feat(SW-240): refactor booking widget
2024-08-19 15:49:59 +02:00
Fredrik Thorsson
5a0d1c6d7b
feat(SW-240): add borders
2024-08-19 15:49:59 +02:00
Fredrik Thorsson
8c339fa593
feat(SW-240): add basic styling
2024-08-19 15:49:59 +02:00
Fredrik Thorsson
a3602b285b
feat(SW-240): add translations
2024-08-19 15:49:59 +02:00
Niclas Edenvin
819ac454b0
Merged in feature/refresh-token (pull request #401 )
...
feat: SW-101 Proactively refresh tokens
Approved-by: Michael Zetterberg
2024-08-16 13:56:09 +00:00
Matilda Landström
9f69e383e8
fix: translations feedback
2024-08-16 15:18:59 +02:00
Arvid Norlin
902f1c965e
chore: remove destructuring of intl.formatMessage
2024-08-16 14:15:58 +02:00
Arvid Norlin
f59cb6d031
chore: replace translation key
2024-08-16 13:30:09 +02:00
Arvid Norlin
da36036379
reafactor: decouple SidePeek from URL params
2024-08-16 13:30:09 +02:00
Arvid Norlin
68694ef914
refactor: update SidePeek composition
2024-08-16 13:30:09 +02:00
Arvid Norlin
04eb3c6d94
fix: enable localization of sidepeek params
2024-08-16 13:30:09 +02:00
Arvid Norlin
47c77b62d6
fix(SW-239): make contents in sidepeek component render serverside for seo
2024-08-16 13:30:09 +02:00
Arvid Norlin
b9d63d9f01
fix: make table full width of container
2024-08-16 11:14:15 +02:00
Matilda Landström
f561ca750c
chore: update loyalty levels translations
2024-08-15 16:43:23 +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
Erik Tiekstra
1721f09ebb
fix(SW-203): removed hidden prop inside RoomCard and added logic to parent
2024-08-15 07:53:07 +02:00
Erik Tiekstra
0a2fb14383
fix(SW-203): added translations and now using updater function to set state
2024-08-15 07:53:07 +02:00
Erik Tiekstra
2d791557b7
fix(SW-203): only activate scrolling upon hiding rooms
2024-08-15 07:53:07 +02:00
Erik Tiekstra
dc38b5f71a
feat(SW-203): added show more functionality to rooms inside the hotel page
2024-08-15 07:53:07 +02: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
Arvid Norlin
35128dbf44
fix: handle rte table overflow on smaller screens
2024-08-14 12:07:23 +02: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
Matilda Landström
c0284cd56c
fix: update discount rate in translations
2024-08-13 13:39:23 +02:00
Matilda Landström
96af5e1f07
chore: update loyalty translations
2024-08-13 13:30:09 +02:00
Fredrik Thorsson
02cd647649
feat: make map key and signature optional
2024-08-13 11:24:06 +02:00
Chuma Mcphoy (We Ahead)
242d604308
Merged develop into feat/hotel-page-tab-navigation
2024-08-13 07:03:40 +00:00
Fredrik Thorsson
e7af67ca73
feat(SW-68): refactor digital signature
2024-08-13 08:52:54 +02:00