Commit Graph

4595 Commits

Author SHA1 Message Date
Pontus Dreij 6b2a78b71c Merged develop into feat/SW-266-seo-loyalty-pages 2024-08-19 11:08:33 +00: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
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 cdd83a4346 feat: SW-158 Tracking support 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
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
Hrishikesh Vaipurkar 6ef4da125d feat(SW-162): MFA expiry set with token expiry 2024-08-14 11:18:35 +02:00
Hrishikesh Vaipurkar 84670dbd14 feat(SW-162): Optimized as review comments 2024-08-14 10:44:15 +02: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 1040c09147 feat: SW-162 Handled void scenario of isMFAInvalid fn 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 767f5b5d2e feat: SW-162 Inserted all three scopes 2024-08-14 10:44:12 +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 0c0fc1d08b Merged in fix/SW-236-webview-refresh (pull request #396)
fix(SW-236): properly handle expired token in webviews

Approved-by: Arvid Norlin
2024-08-14 07:10:59 +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 d7147bbefc Merged in fix/eslint-fn-comp-def (pull request #376)
fix: enable eslint rule "react/function-component-definition"

Approved-by: Simon.Emanuelsson
Approved-by: Hrishikesh Vaipurkar
Approved-by: Matilda Landström
2024-08-13 14:52:15 +00:00
Michael Zetterberg 52a6754a98 fix: enable eslint rule "react/function-component-definition"
Using default values for the rule:

Named components: function declaration
Unnamed components: function expression
2024-08-13 16:51:32 +02:00
Matilda Landström c0284cd56c fix: update discount rate in translations 2024-08-13 13:39:23 +02:00
Matilda Landström 94e96f1076 chore: update metadata title 2024-08-13 13:30:09 +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 d7fdea757b feat(SW-68): fix typo 2024-08-13 08:52:54 +02:00