Bianca Widstam
8b66c16e17
Merged in feat/SW-903-breadcrumbs-select-hotel (pull request #924 )
...
Feat/SW-903 breadcrumbs select hotel
* feat(SW-903): break out breadcrumbs component and add on select-hotel page
* feat(903): updated paths
* feat(903): fix padding and remove translations
* feat(903): fix type
* feat(903): refactor padding
* feat(903): refactor padding again
* feat(903): refactor
* feat(903): fix comments
* feat(903): rename content breadcrumbs back
Approved-by: Pontus Dreij
Approved-by: Erik Tiekstra
2024-11-21 07:28:39 +00:00
Joakim Jäderberg
e1a2532b3f
fix: use suspense over loading.tsx
2024-11-19 10:57:52 +01:00
Joakim Jäderberg
9c7ac78e14
fix: make parallel routes not render blocking
...
fix: add loading to parallel routes
2024-11-18 10:45:37 +01:00
Anton Gunnarsson
4c6d72a402
Set min-height on layout loaders
2024-11-14 13:25:56 +01:00
Arvid Norlin
628f79929c
fix(SW-779): replace css module with .css file to work with parallel route
2024-11-11 11:17:05 +01:00
Christian Andolf
f6b3cf8b92
chore: replace function expression with inline statement
...
replace destructuring for better static analysis
remove unused variables
2024-11-08 09:25:28 +01:00
Michael Zetterberg
1e92348fb4
fix(SW-126): remove feature flag communications settings in profile
2024-10-29 12:56:30 +01:00
Linus Flood
65b6830472
Merged develop into feat/sw-694-performance
2024-10-28 12:55:52 +00:00
Linus Flood
687a110a39
Utilizing memoized requests
2024-10-25 15:33:06 +02:00
Christian Andolf
ba30e2fe08
chore(SW-556): hiding surprises until new API endpoints are implemented
2024-10-25 14:02:32 +02:00
Christian Andolf
e6db1b17c6
fix(SW-556): now fetching surprises separately in component.
...
also showing surprises on any account page
2024-10-25 14:02:32 +02:00
Linus Flood
83a88f33a7
Suspense on Sidebar
2024-10-25 13:10:08 +02:00
Linus Flood
9f813bebfe
Refactor and built a breadcrums skeleton
2024-10-25 11:48:20 +02:00
Linus Flood
1a921940e8
feat: #sw-694 using suspense when loading dynamic content and breadcrumbs
2024-10-25 10:59:34 +02:00
Michael Zetterberg
261d1bc3c7
fix(SW-126): feature flag communications settings in profile
2024-10-16 07:30:45 +02:00
Linus Flood
1408284af8
feat:sw-561 updated design
2024-10-11 12:58:46 +02:00
Linus Flood
ee2637407e
Merge branch 'develop' into feature/sw-561-design-fixes
2024-10-08 13:20:40 +02:00
Christel Westerberg
2886084a82
feat: add communication preferences
...
feat: add generatePreferencesLink
feat: add subscriberId endpoint
2024-10-08 08:25:44 +02:00
Linus Flood
ed55f966c7
feat/sw-561: some design tweaks for container widths
2024-10-07 09:17:04 +02:00
Simon Emanuelsson
af850c90e7
feat(SW-66, SW-348): search functionality and ui
2024-09-24 09:47:31 +02:00
Linus Flood
31b239c577
Merged develop into feature/sw-352-page-loading
2024-09-04 07:26:17 +00:00
Hrishikesh Vaipurkar
c2e521035b
feat(SW-237): Updated parallel route to the root layout
2024-09-03 14:15:49 +02:00
Hrishikesh Vaipurkar
ad2182a60b
feat(SW-237): Updated typings and code optimizations
2024-09-03 14:15:49 +02:00
Hrishikesh Vaipurkar
097ef701e5
feat(SW-237): Renamed Bookingwidgetcontainer to BookingWidget
2024-09-03 14:15:47 +02:00
Hrishikesh Vaipurkar
0abaa4dc19
feat(SW-237): Implemented page based toggle for BW
2024-09-03 14:15:46 +02:00
Tobias Johansson
bc3233ff64
Merged in feat/SW-196-design-fixes (pull request #547 )
...
Feat/SW-196 design fixes
* feat(SW-196): Updated copy My credit cards -> My payment cards
* fix: update design system version
* feat(SW-196): Update Header component to use Preamble instead of Subtitle
* feat(SW-196): Minor design fixes
Approved-by: Christel Westerberg
2024-09-03 08:43:13 +00:00
Linus Flood
5150a870f5
SW-352 using loading.ts between page transations
2024-09-03 09:42:25 +02: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
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
Christel Westerberg
231edbe944
fix: default language if missing in profile
2024-08-26 10:52:13 +02:00
Simon Emanuelsson
2337d37f1a
feat(SW-160): update profile
2024-08-23 09:09:55 +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
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
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
b3bccc51d7
Merge branch 'develop' into feat/SW-266-seo-loyalty-pages
2024-08-21 14:11:53 +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
Pontus Dreij
b3f4ba822c
feat(SW-266): updated to use breadcrumbs title as default
2024-08-20 10:57:30 +02:00
Pontus Dreij
c730fa7035
feat(SW-266): Replacing static metadata with data from Contentstack on Loyalty pages and Account Pages
2024-08-19 13:03:46 +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
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
Michael Zetterberg
bbc8801d3f
refactor: render TrackingSDK as first child to pages
...
This helps with debugging and profiling.
Also tracking isn't tied to the rendering of the UI. So nitpicking could also
justify this change :)
2024-07-30 16:05:21 +02:00
Christel Westerberg
da74babef9
fix: mobile form ui and parse phone number bug
2024-07-17 09:38:30 +02:00
Christel Westerberg
09b1d322a7
feat: list credit card according to design
2024-07-16 15:50:26 +02:00
Christel Westerberg
62310caa90
fix: make all h4 and subtitles capitalized
2024-07-15 15:07:23 +02:00
Christel Westerberg
183e1cd6d2
fix: refactor tracking requests
2024-07-15 13:35:36 +02:00
Christel Westerberg
c7446032fe
fix: handle webviews
2024-07-15 13:35:36 +02:00