Commit Graph

374 Commits

Author SHA1 Message Date
Chuma McPhoy
ad088ee7f5 fix(SW-96): remove improper use of hotel get 2024-08-30 09:43:19 +02:00
Chuma McPhoy
7e7a5d2646 fix(SW-96): add css variable for use of mobile header height 2024-08-30 08:53:34 +02:00
Pontus Dreij
4274bdc220 Merged in feat/SW-185-implement-footer-navigation (pull request #437)
Feat/SW-185 implement footer navigation

Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
Approved-by: Simon.Emanuelsson
2024-08-30 06:36:31 +00:00
Fredrik Thorsson
69ebf254d1 feat(SW-252): add new ux 2024-08-29 16:07:29 +02:00
Niclas Edenvin
f178f7fde0 Merged in feature/select-room-ux-one-page (pull request #523)
This updates the select room page according to the new UX. It has different sections on the same page, but with specific URLs per section. Since neither UX, UI nor API is completely done both design and data structures are a bit temporary.

Approved-by: Simon.Emanuelsson
2024-08-29 13:38:14 +00:00
Michael Zetterberg
64fbf2ec17 fix: don't prefetch the edit profile link 2024-08-29 09:22:54 +02:00
Simon Emanuelsson
93526ce693 fix: rename retried-wrapped fetch to make caching work again 2024-08-28 14:55:31 +02:00
Christel Westerberg
e04485d896 debug: log out cause for user 2024-08-26 15:40:37 +02:00
Simon.Emanuelsson
388060086e Merged in feat/masked-values (pull request #489)
feat: handle masked values only based on MFA

Approved-by: Michael Zetterberg
Approved-by: Arvid Norlin
2024-08-26 09:19:02 +00:00
Simon Emanuelsson
61b722d9ad feat: handle masked values only based on MFA 2024-08-26 11:06:01 +02:00
Pontus Dreij
97c48a736d feat(SW-185): Created mockup for footer 2024-08-26 11:04:43 +02:00
Christel Westerberg
231edbe944 fix: default language if missing in profile 2024-08-26 10:52:13 +02:00
Michael Zetterberg
149e97fa34 Merged in fix/headers-for-errors (pull request #466)
fix: send headers to error rewrites

Approved-by: Arvid Norlin
2024-08-23 07:35:09 +00:00
Michael Zetterberg
efd2e1730c fix: send headers to error rewrites 2024-08-23 09:34:17 +02:00
Simon Emanuelsson
2337d37f1a feat(SW-160): update profile 2024-08-23 09:09:55 +02:00
Hrishikesh Vaipurkar
0815075ba2 feat(SW-158): Fixed MFA redirect Url 2024-08-22 16:10:17 +02:00
Pontus Dreij
ecb3b78561 feat(SW-266): Replacing static metadata with data from Contentstack on Loyalty pages and Account Pages
Approved-by: Simon.Emanuelsson
2024-08-22 13:49:34 +00:00
Pontus Dreij
5c81ff13f7 feat(SW-266): Added breadcrumbs to metadata fragment 2024-08-22 14:45:19 +02:00
Christel Westerberg
26023cc6fe Merged in fix/not-found-params (pull request #449)
fix: remove listening to params in not-found, not needed

Approved-by: Niclas Edenvin
Approved-by: Simon.Emanuelsson
2024-08-22 12:38:07 +00:00
Michael Zetterberg
a33a69fb58 fix: improve auth handling and logging 2024-08-22 14:07:36 +02:00
Hrishikesh Vaipurkar
020a2dfcc2 feat(SW-158): Updated return url handling for seamless magiclink login 2024-08-22 11:52:17 +02:00
Christel Westerberg
ffff2324fa fix: remove listening to params in not-found, not needed 2024-08-22 10:56:33 +02:00
Erik Tiekstra
fb3bf0d482 fix(SW-190): fixed some styling irregularities 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
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
Simon Emanuelsson
48178cd4ea fix: profile_update scope typo fix 2024-08-22 08:42:08 +02:00
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
Pontus Dreij
a0fede3875 feat(SW-266): Moved logic for breadcrumbs since I cant pass custom prop to generateMetadata 2024-08-21 15:27:44 +02:00
Michael Zetterberg
63ce8a2dfb fix(SW-104): use relative url for initiation 2024-08-21 15:25:37 +02:00
Pontus Dreij
09639badb4 feat(SW-266): removed comment 2024-08-21 14:55:02 +02:00
Pontus Dreij
b3bccc51d7 Merge branch 'develop' into feat/SW-266-seo-loyalty-pages 2024-08-21 14:11:53 +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
Pontus Dreij
88d433c139 Merge branch 'feat/SW-266-seo-loyalty-pages' of https://bitbucket.org/scandic-swap/web into feat/SW-266-seo-loyalty-pages 2024-08-20 10:58:05 +02:00
Pontus Dreij
b3f4ba822c feat(SW-266): updated to use breadcrumbs title as default 2024-08-20 10:57:30 +02:00
Fredrik Thorsson
8c339fa593 feat(SW-240): add basic styling 2024-08-19 15:49:59 +02:00
Pontus Dreij
6b2a78b71c Merged develop into feat/SW-266-seo-loyalty-pages 2024-08-19 11:08:33 +00:00