Michael Zetterberg
2361ba696d
fix: improve auth handling and logging
2024-08-22 07:25:22 +02:00
Tobias Johansson
e9a6499086
feat(SW-245): Delete credit card
2024-08-21 16:24:39 +02:00
Christel Westerberg
2af17ef4d8
fix: route unlocalized login and logout correctly
2024-08-21 16:00:35 +02:00
Fredrik Thorsson
72ebc14f7d
feat(SW-243): import tempdata
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
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
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
Chuma McPhoy
f3d32033a5
fix(SW-188): remove use of getHotel endpoint in components meant to use other endpoints
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
1ff6cd267d
feat: update getHotel to use real hotel api endpoint, support for service tokens, type modifications
2024-08-21 10:31:52 +02:00
Michael Zetterberg
2282e35a71
Merged in fix/SW-236-webview-refresh-token (pull request #426 )
...
fix(SW-236): add returnUrl to refresh
Approved-by: Pontus Dreij
2024-08-21 07:19:38 +00: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
Michael Zetterberg
32aa6cf273
fix(SW-236): add returnUrl to refresh
2024-08-20 15:02:02 +02:00
Fredrik Thorsson
8c339fa593
feat(SW-240): add basic styling
2024-08-19 15:49:59 +02:00
Hrishikesh Vaipurkar
01bd7d2299
feat(SW-158): Updated to use custom cookie and optimization
2024-08-19 12:02:08 +02:00
Hrishikesh Vaipurkar
fd4c238428
feat(SW-158): Optimized code
2024-08-19 12:02:07 +02:00
Hrishikesh Vaipurkar
710730a9e9
feat(SW-158): Implemented seamless login in magic link login
2024-08-19 12:02:07 +02:00
Hrishikesh Vaipurkar
ce51402443
feat: SW-158 Optimized comments
2024-08-19 12:02:06 +02:00
Hrishikesh Vaipurkar
0b6b88e8e7
feat: SW-158 Optimized code
2024-08-19 12:02:05 +02:00
Hrishikesh Vaipurkar
d3ae62eff1
feat: SW-158 Updated new param loginKey and callback url support
2024-08-19 12:02:05 +02:00
Hrishikesh Vaipurkar
e14e3aaffa
feat: SW-158 Magic Link login support
2024-08-19 12:02:05 +02:00
Hrishikesh Vaipurkar
2ce21626b9
feat: SW-158 Enabled support for authjs nonce
2024-08-19 12:02:04 +02:00
Hrishikesh Vaipurkar
e36f5cd122
feat: SW-158 Adding route and support for Magic link
2024-08-19 12:02:04 +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
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
Hrishikesh Vaipurkar
51df6bfd34
feat(SW-162): Used token instead of cookie
2024-08-14 10:44:14 +02:00
Hrishikesh Vaipurkar
e7f7fb286e
feat(SW-162): Updated cookie name
2024-08-14 10:44:14 +02:00
Hrishikesh Vaipurkar
13ded529cc
feat(SW-162): Updated MFA to use basic cookie validation
2024-08-14 10:44:13 +02:00
Hrishikesh Vaipurkar
e264e4d2e2
feat: SW-162 Updated redirect to rewrite reducing unnecessary redirects for user
2024-08-14 10:44:13 +02:00
Hrishikesh Vaipurkar
8ab77a5522
feat: SW-162 Updated as per review comments
2024-08-14 10:44:11 +02:00
Hrishikesh Vaipurkar
77feefb1dd
feat: SW-162 Optimized code and updated scope
2024-08-14 10:44:11 +02:00
Hrishikesh Vaipurkar
dde2b828cb
feat: SW-162 MFA for Profile implemented
2024-08-14 10:44:10 +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
94e96f1076
chore: update metadata title
2024-08-13 13:30:09 +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
Fredrik Thorsson
b5f0003b1a
feat(SW-68): remove fragment
2024-08-13 08:52:54 +02:00
Fredrik Thorsson
b45fc7eb4a
feat(SW-68): change classname
2024-08-13 08:52:54 +02:00
Fredrik Thorsson
03fd0a8a49
feat(SW-68): add semantic elements
2024-08-13 08:52:54 +02:00
Fredrik Thorsson
4c0c90a0f0
feat(SW-68): add static map component
2024-08-13 08:52:54 +02:00
Chuma McPhoy
ebe79c43e0
feat: Add tab navigation to hotel page
2024-08-12 10:26:02 +02:00
Fredrik Thorsson
ca7c50659e
feat: image styling
2024-08-06 13:12:22 +02:00
Fredrik Thorsson
798d19d3c8
feat: filter route changes
2024-08-06 13:12:22 +02:00
Fredrik Thorsson
c7bef7d1cf
feat: css and syntax changes
2024-08-06 13:12:22 +02:00
Fredrik Thorsson
a48019a6a0
feat: pass filters as prop
2024-08-06 13:12:22 +02:00
Fredrik Thorsson
ebfe4d45dc
feat: add router for filters
2024-08-06 13:12:22 +02:00
Fredrik Thorsson
4a18d68909
feat: add basic styling to checkbox
2024-08-06 13:12:22 +02:00