Commit Graph

313 Commits

Author SHA1 Message Date
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
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
Michael Zetterberg
71dcf30719 fix: make sure all logged errors are preceeded with a message
Just logging an error makes it difficult to relate the error log to code in the
codebase. Error logging a message right before the error itself makes it easier
to search the codebase for that error log.
2024-07-24 11:32:15 +02:00
Niclas Edenvin
5347ae5b6c feat(SW-71): Create bed selection 2024-07-19 09:34:28 +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
Niclas Edenvin
364979fdf4 feat(SW-74): add hotel information 2024-07-15 16:13:54 +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
Christel Westerberg
c96008fb78 fix: track user on page load 2024-07-15 13:35:36 +02:00
Christel Westerberg
546679387f feat: add tracking to account pages 2024-07-15 13:35:36 +02:00
Christel Westerberg
a8a67d5e35 feat: add tracking events for loyalty pages 2024-07-15 13:35:36 +02:00
Niclas Edenvin
5c6d9d03ce feat(SW-73): Create breakfast selection 2024-07-12 11:09:12 +02:00
Chuma Mcphoy (We Ahead)
d26e856c47 Merged develop into feat/SW-92-room-card 2024-07-11 08:06:59 +00:00
Chuma McPhoy
48b7c79953 fix: accessing hotel in hotel reservation 2024-07-10 19:14:51 +02:00
Niclas Edenvin
3374505aee feat(SW-72): Add flexibility selection 2024-07-10 16:04:25 +02:00
Niclas Edenvin
8e94c92c70 feat(SW-72): move the room selection to its own component 2024-07-10 16:04:25 +02:00
Fredrik Thorsson
174fc75b42 feat: add hotel id 2024-07-10 11:31:46 +02:00
Fredrik Thorsson
286d772de1 feat: use getHotel data 2024-07-10 11:31:46 +02:00
Fredrik Thorsson
54daa1735a feat: add css variable 2024-07-10 11:31:46 +02:00
Fredrik Thorsson
aed9b56e69 feat: remove ListContainer 2024-07-10 11:31:46 +02:00
Fredrik Thorsson
2f1f81530a feat: add placeholder data 2024-07-10 11:31:45 +02:00
Fredrik Thorsson
85232401c8 feat: add route for select hotel 2024-07-10 11:31:45 +02:00
Christel Westerberg
7068fb4e15 chore: update design system tokens 2024-07-10 07:57:11 +02:00
Niclas Edenvin
722bab97ad feat(SW-70): Create TRPC route to get rates 2024-07-09 13:25:26 +02:00
Niclas Edenvin
78c1452ed3 Add texts to i18n 2024-07-09 13:25:26 +02:00
Niclas Edenvin
d6fe6a33b4 feat(SW-70): create base for rate selection page
This is the foundation for the rate selection. Since we don't have UX
and UI ready yet this is on a best effort basis. Things that will be
changed later includes proper API fetching, correct design,
internationalization of text and form handling.
2024-07-09 13:25:26 +02:00