Skip to content

Commit 1753254

Browse files
authored
Fix: desktop css and frontend test (#37)
* This is a first step for improving Desktop pages. Mobile rensponsiveness is still missing. However I need to check with LaSuite design studio about the HTML+CSS they are using. On Docs and Visio it look like rensponsive design is working better. We may be using the wrong boiler plate.
1 parent e64b983 commit 1753254

File tree

5 files changed

+58
-9
lines changed

5 files changed

+58
-9
lines changed

frontend/knip.config.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@ import type { KnipConfig } from "knip";
77

88
export default {
99
entry: ["src/main.tsx", "src/swagger.ts", "src/routes/*"],
10-
ignore: ["src/gql/*", "src/routeTree.gen.ts", ".storybook/locales.ts"],
10+
//:tchap: add tchap vite
11+
ignore: [
12+
"src/gql/*",
13+
"src/routeTree.gen.ts",
14+
".storybook/locales.ts",
15+
"tchap/vite.tchap.config.ts",
16+
],
17+
//:tchap:
1118
ignoreDependencies: [
1219
// This is used by the tailwind PostCSS plugin, but not detected by knip
1320
"postcss-nesting",

frontend/tchap/css/tchap.css

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/tests/routes/__snapshots__/reset-cross-signing.test.tsx.snap

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ exports[`Reset cross signing > renders the cancelled page 1`] = `
6363
</p>
6464
<footer
6565
class="lasuite fr-footer"
66-
role="contentinfo"
6766
>
6867
<div
6968
class="fr-container lasuite-container"
@@ -246,7 +245,6 @@ exports[`Reset cross signing > renders the deep link page 1`] = `
246245
</a>
247246
<footer
248247
class="lasuite fr-footer"
249-
role="contentinfo"
250248
>
251249
<div
252250
class="fr-container lasuite-container"
@@ -344,7 +342,6 @@ exports[`Reset cross signing > renders the errored page 1`] = `
344342
</button>
345343
<footer
346344
class="lasuite fr-footer"
347-
role="contentinfo"
348345
>
349346
<div
350347
class="fr-container lasuite-container"
@@ -527,7 +524,6 @@ exports[`Reset cross signing > renders the page 1`] = `
527524
</a>
528525
<footer
529526
class="lasuite fr-footer"
530-
role="contentinfo"
531527
>
532528
<div
533529
class="fr-container lasuite-container"
@@ -616,7 +612,6 @@ exports[`Reset cross signing > renders the success page 1`] = `
616612
</p>
617613
<footer
618614
class="lasuite fr-footer"
619-
role="contentinfo"
620615
>
621616
<div
622617
class="fr-container lasuite-container"
@@ -705,7 +700,6 @@ exports[`Reset cross signing > renders the success page 2`] = `
705700
</p>
706701
<footer
707702
class="lasuite fr-footer"
708-
role="contentinfo"
709703
>
710704
<div
711705
class="fr-container lasuite-container"

frontend/tests/routes/account/__snapshots__/index.test.tsx.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,6 @@ exports[`Account home page > renders the page 1`] = `
757757
</div>
758758
<footer
759759
class="lasuite fr-footer"
760-
role="contentinfo"
761760
>
762761
<div
763762
class="fr-container lasuite-container"

tchap/README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,16 @@ See in the logs
5959
```
6060
2025-06-03T12:28:33.967776Z INFO mas_cli::commands::server:297 Listening on http://[::]:8080 with resources [Discovery, Human, OAuth, Compat, GraphQL { playground: false, undocumented_oauth2_access: false }, Assets { path: "./frontend/dist/" }, AdminApi]
6161
62-
```
62+
```
63+
64+
# troubleshoot
65+
66+
67+
### error : This endpoint must only be called by MAS
68+
69+
hint : your HOMESERVER_SECRET is probably not correct
70+
71+
`
72+
M_UNKNOWN: This endpoint must only be called by MAS
73+
HTTP status client error (403 Forbidden) for url (https://matrix.tchapgouv.com/_synapse/mas/is_localpart_available?localpart=olivierdelcroix)
74+
`

0 commit comments

Comments
 (0)