Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(report): fixer les entêtes du tableau #203

Merged
merged 9 commits into from
Jul 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions report/www/package.json
Original file line number Diff line number Diff line change
@@ -14,8 +14,7 @@
"test": "jest"
},
"dependencies": {
"@dataesr/react-dsfr": "^0.9.8",
"@gouvfr/dsfr": "^1.3.0",
"@dataesr/react-dsfr": "^2.5.0",
"@socialgouv/matomo-next": "^1.2.2",
"@testing-library/user-event": "^13.5.0",
"country-flag-icons": "^1.4.20",
3 changes: 2 additions & 1 deletion report/www/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -5,7 +5,8 @@ import { Container } from "@dataesr/react-dsfr";
import Head from "next/head";
import { init } from "@socialgouv/matomo-next";

import "@gouvfr/dsfr/dist/dsfr/dsfr.min.css";
import "@gouvfr/dsfr/dist/utility/utility.main.min.css";
import "@gouvfr/dsfr/dist/dsfr/dsfr.main.min.css";
import "rc-tooltip/assets/bootstrap.css";

import { HeaderSite } from "../src/components/HeaderSite";
4 changes: 2 additions & 2 deletions report/www/src/__tests__/__snapshots__/Dashboard.test.js.snap
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ exports[`Should render empty Dashboard 1`] = `null`;

exports[`Should render full Dashboard 1`] = `
<div
className="fr-table tableWrapper"
className="fr-table fr-table--header-fixed tableWrapper"
>
<table
className="table"
@@ -6952,7 +6952,7 @@ exports[`Should render full Dashboard 1`] = `

exports[`Tools config Should render Dashboard with limited tools 1`] = `
<div
className="fr-table tableWrapper"
className="fr-table fr-table--header-fixed tableWrapper"
>
<table
className="table"
29 changes: 9 additions & 20 deletions report/www/src/__tests__/__snapshots__/Intro.test.js.snap
Original file line number Diff line number Diff line change
@@ -93,7 +93,6 @@ exports[`Should render Intro 1`] = `
<br />
<div
class="fr-alert fr-alert--success"
role="alert"
>
<p
class="fr-alert__title"
@@ -104,7 +103,6 @@ exports[`Should render Intro 1`] = `
</div>
<div
class="fr-alert fr-alert--info"
role="alert"
>
<p
class="fr-alert__title"
@@ -114,8 +112,7 @@ exports[`Should render Intro 1`] = `
</p>
</div>
<div
class="fr-alert fr-alert--warning"
role="alert"
class="fr-alert fr-alert--error"
>
<p
class="fr-alert__title"
@@ -174,7 +171,6 @@ exports[`Should render Intro 1`] = `
<br />
<div
class="fr-alert fr-alert--info"
role="alert"
>
<p
class="fr-alert__title"
@@ -225,7 +221,6 @@ exports[`Should render Intro 1`] = `
<br />
<div
class="fr-alert fr-alert--info"
role="alert"
>
<p
class="fr-alert__title"
@@ -306,7 +301,6 @@ exports[`Should render Intro 1`] = `
<br />
<div
class="fr-alert fr-alert--info"
role="alert"
>
<p
class="fr-alert__title"
@@ -388,7 +382,6 @@ exports[`Should render Intro 1`] = `
<br />
<div
class="fr-alert fr-alert--info"
role="alert"
>
<p
class="fr-alert__title"
@@ -537,7 +530,6 @@ exports[`Should render Intro 1`] = `
<br />
<div
class="fr-alert fr-alert--info"
role="alert"
>
<p
class="fr-alert__title"
@@ -619,12 +611,13 @@ exports[`Should render Intro 1`] = `
</li>
<br />
<div
class="fr-alert fr-alert--warning"
role="alert"
class="fr-alert fr-alert--error"
>
<p
class="fr-alert__title"
/>
>
thirdparties
</p>
<p>
Certains script légitimes peuvent apparaitre dans cette catégorie s'ils sont hébergés sur d'autres serveurs
</p>
@@ -867,7 +860,6 @@ exports[`Tools config Should render Intro with limited tools 1`] = `
<br />
<div
class="fr-alert fr-alert--info"
role="alert"
>
<p
class="fr-alert__title"
@@ -918,7 +910,6 @@ exports[`Tools config Should render Intro with limited tools 1`] = `
<br />
<div
class="fr-alert fr-alert--info"
role="alert"
>
<p
class="fr-alert__title"
@@ -999,7 +990,6 @@ exports[`Tools config Should render Intro with limited tools 1`] = `
<br />
<div
class="fr-alert fr-alert--info"
role="alert"
>
<p
class="fr-alert__title"
@@ -1081,7 +1071,6 @@ exports[`Tools config Should render Intro with limited tools 1`] = `
<br />
<div
class="fr-alert fr-alert--info"
role="alert"
>
<p
class="fr-alert__title"
@@ -1163,7 +1152,6 @@ exports[`Tools config Should render Intro with limited tools 1`] = `
<br />
<div
class="fr-alert fr-alert--info"
role="alert"
>
<p
class="fr-alert__title"
@@ -1245,12 +1233,13 @@ exports[`Tools config Should render Intro with limited tools 1`] = `
</li>
<br />
<div
class="fr-alert fr-alert--warning"
role="alert"
class="fr-alert fr-alert--error"
>
<p
class="fr-alert__title"
/>
>
thirdparties
</p>
<p>
Certains script légitimes peuvent apparaitre dans cette catégorie s'ils sont hébergés sur d'autres serveurs
</p>
Loading