Commit Graph

570 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
Arvid Norlin
35128dbf44 fix: handle rte table overflow on smaller screens 2024-08-14 12:07:23 +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
c0284cd56c fix: update discount rate in translations 2024-08-13 13:39:23 +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
e7af67ca73 feat(SW-68): refactor digital signature 2024-08-13 08:52:54 +02:00
Fredrik Thorsson
5c39a1dcbd feat(SW-68): Add ReadMe file 2024-08-13 08:52:54 +02:00
Fredrik Thorsson
5d18a68d9c feat(SW-68): use import instead of require 2024-08-13 08:52:54 +02:00
Fredrik Thorsson
854247e15e feat(SW-68): add digital signature to request 2024-08-13 08:52:54 +02:00
Fredrik Thorsson
26404eb209 feat(SW-68): use img instead of next image 2024-08-13 08:52:54 +02:00
Fredrik Thorsson
ef1631be1a feat(SW-68): syntax 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
a38ba188ed refactor(SW-94): cleaner css selector for hotel page container 2024-08-12 14:04:33 +02:00
Chuma McPhoy
b19dbf0664 refactor(feat-SW-94): use enum for HotelHashValues and move to types/components dir 2024-08-12 13:51:05 +02:00
Chuma McPhoy
404bf867db fix(feat-SW-94): cleaner conditional check for breadcrumbs 2024-08-12 10:51:25 +02:00
Chuma McPhoy
308279841c fix: remove console.log 2024-08-12 10:26:02 +02:00
Chuma McPhoy
ebe79c43e0 feat: Add tab navigation to hotel page 2024-08-12 10:26:02 +02:00
Arvid Norlin
1230df86d0 chore: remove obsolete CurrentPointsBalance component since unused 2024-08-10 08:23:54 +02:00
Arvid Norlin
8592d7004b fix(SW-248): update spendable points texts 2024-08-10 08:23:42 +02:00
Arvid Norlin
c0bf09bf3f fix: change casing of some svg attributes to get rid of warnings 2024-08-09 14:58:28 +02:00
Michael Zetterberg
c95753d95a Merged in fix/SW-234-mobile-webview-issues (pull request #393)
fix(SW-234): better empty state message for no transactions

Approved-by: Fredrik Thorsson
2024-08-09 10:45:28 +00:00
Michael Zetterberg
49ec390599 fix(SW-234): better empty state message for no transactions 2024-08-09 12:40:29 +02:00
Arvid Norlin
d0227cb5f5 fix: correct the faulty values in Overview Table data 2024-08-08 09:15:46 +02:00
Hrishikesh Vaipurkar
937e625170 feat: SW-65 Updated styles 2024-08-07 14:02:39 +02:00
Hrishikesh Vaipurkar
1dfcd144fb SW-65 Moved type to /types 2024-08-07 14:02:39 +02:00
Hrishikesh Vaipurkar
23c97db987 SW-65 Optimized styles 2024-08-07 14:02:38 +02:00
Hrishikesh Vaipurkar
fb5ba552e9 SW-65 Removed action used onSubmit and dt lib 2024-08-07 14:02:38 +02:00
Hrishikesh Vaipurkar
6a26949faa SW-65 Hide booking widget for development 2024-08-07 14:02:37 +02:00
Hrishikesh Vaipurkar
2afab6a33d feat: SW-65 Working on booking widget wrapper component 2024-08-07 14:02:37 +02:00
Simon.Emanuelsson
9796ff29c5 Merged in feat/SW-207 (pull request #386)
feat(SW-207): add expiring points and date when they will expire

Approved-by: Michael Zetterberg
2024-08-07 08:53:48 +00:00
Simon.Emanuelsson
461df11e62 Merged in fix/SW-113 (pull request #385)
fix(SW-113): add colors to negative and positive point transactions

Approved-by: Michael Zetterberg
2024-08-07 08:52:25 +00:00
Fredrik Thorsson
507a9aa96e feat: change key 2024-08-07 09:09:24 +02:00
Fredrik Thorsson
ed08db94cc feat: card height and breakpoint 2024-08-06 21:08:48 +02:00
Simon Emanuelsson
be620f18ba feat(SW-207): add expiring points and date when they will expire 2024-08-06 15:59:40 +02:00
Simon Emanuelsson
c94b83464f fix(SW-113): add colors to negative and positive point transactions 2024-08-06 14:11:10 +02:00
Fredrik Thorsson
ca7c50659e feat: image styling 2024-08-06 13:12:22 +02:00
Fredrik Thorsson
75011dffe5 feat: schema change 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
d88de5424b feat: remove styling from checkboxes 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
10bb946a90 feat: add translations 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
Arvid Norlin
aefa779a17 chore: organize table exports 2024-08-06 10:52:44 +02:00
Arvid Norlin
4005701c79 feat: add RTE Table 2024-08-05 15:56:26 +02:00
Niclas Edenvin
eca9669222 bug: SW-235 Fix hover state on stay card 2024-08-01 10:22:43 +02:00
Michael Zetterberg
fa4a7ac56b Merged in fix/safari-membershipnr-link (pull request #379)
fix(SW-230): stop Safari from parsing membership number as phone number on iOS

Approved-by: Niclas Edenvin
2024-08-01 07:17:36 +00:00