From a948b79e76b5682b34e790c6c0221bd01c629c13 Mon Sep 17 00:00:00 2001 From: Yaacov Date: Thu, 6 Feb 2025 19:29:40 +0100 Subject: [PATCH] =?UTF-8?q?839=20bug=20mauvaise=20position=20de=20lusager?= =?UTF-8?q?=20apr=C3=A8s=20utilisation=20des=20ancres=20pages=20dans=20le?= =?UTF-8?q?=20rapport=20(#945)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix duplicate ids in errors and improvements tabs * Update CHANGELOG * Hide dropdown menu instead of removing it from DOM (#881) * Hide dropdown menu instead of removing it from DOM Note: no more smooth transition after this change * Update CHANGELOG * MAJ du label pour le nom de la procédure (#910) * update procedure name field label * update tests * use custom matomo vue plugin * MAJ du DSFR en 1.13.0 (#915) * update dsfr package version * fix audit update notes test * update changelog * Mise à jour de node en version 22.13.0 (#919) * update node version to 22.13 * add .nvmrc * smdlfjk * fix matomo url regex to anonymize urls * Supprime la page Contexte (#924) * remove context page links and usages * remove context page component and route * update changelog --------- Co-authored-by: Quentin Bellanger * MAJ de la page données personnelles (#923) * update privacy page content * use thead and add border for tables * Fix typo * lint stuff --------- Co-authored-by: Benoît Dequick <33344370+benoitdequick@users.noreply.github.com> Co-authored-by: Quentin Bellanger * MAJ du plan du site (#925) * add account dashboard, roadmpa and changelog pages to sitemap * add account, sitemap and contact pages to sitemap --------- Co-authored-by: Quentin Bellanger * fix typo * Supprime la 1ere étape du changement de mot de passe dans le compte (#926) * skip first step * add test for already logged in passord reset * cleanup test * fix NewPasswordForm style * update changelog * add homepage in sitemap when not connected * 859 redondance de linformation en cours (#914) * replace list title with badges * remove status column in audit list * add progress bar value prop * add inline layout for progress bar * increase column gap in audits list * end align percentage * exlude transverse criteria to compute progress * fix duplication type * reduce space between progress bar and value * update changelog --------- Co-authored-by: Quentin Bellanger * Génère les types des payloads de l'API (#722) * generate and copy api types on install * delete dist folder before generating types * disable config validation when generating types * use generated types in report * use more generated types * use generated types for account and audit listing * hide some props * use generated types in feedback form * generate prisma client before generating types * update dockerfile * clean up * add guideline * hotfix: fix backend dockerfile and a typing issue preventing build * Corrige un petit bug visuel de la liste des audits (#930) * adjust audit list grid columns * make audits list more mobile friendly * remove responsive tablet-like state --------- Co-authored-by: Quentin Bellanger * Update CHANGELOG * feat(report): top alert message no more sticky * fix(report): scroll to anchor fixed * a hack has been added on DSFR tabs to remove overflow hidden, scroll to anchor then put back overflow hidden * the link behaviour has changed from an instant scroll to a smooth scroll (when javascript is enabled) * fix(ui): move tabs 0.1px up to hide the "one line scrolling backround" at the top * feat(AraTabs): add "icon" and "selectedTab" props * fix(report): remove tabs DSFR hack as planning to use AraTabs * feat(report): minor UI fixes * titles: in blue * results: smaller font * header: smaller bottom margin * feat(report): use AraTabs in Report * fix(AuditGenerationPage): stay on current tab on refresh * fit(ui): smooth scroll behavior (only if prefers-reduced-motion: no-preference) * Fix duplicate ids in errors and improvements tabs (#879) * Fix duplicate ids in errors and improvements tabs * Update CHANGELOG * Explicite louverture des livrables dans un nouvel onglet (#932) * modify steps * modify consult report link in audit page * update changelog * adjust download button * ignore account status * set copy link to secondary * update changelog * Refonte visuelle rapide du rapport (#929) * add separator between improvements + add count on top * remove tests & references accordion, error accordion and topic number * adjust spacing between errors and small css tweaks * update report tests wording * adjust example images size * update wording on report counts * lowercase improvements count * update changelog * update tests --------- Co-authored-by: Quentin Bellanger * Update PrivacyPage.vue * Update CHANGELOG * fix(report): scroll to anchor fixed * a hack has been added on DSFR tabs to remove overflow hidden, scroll to anchor then put back overflow hidden * the link behaviour has changed from an instant scroll to a smooth scroll (when javascript is enabled) * fix(report): remove tabs DSFR hack as planning to use AraTabs * feat(report): minor UI fixes * titles: in blue * results: smaller font * header: smaller bottom margin * Update CHANGELOG * chore(ReportCriteria): remove useless code * fix(lint): please linter + fix non breakable spaces between « and » characters * fit(ui): remove smooth scroll behavior * chore(lint): authorize irregular whitespaces in texts For example, the non-breakable space, used in french. * fix(doc): modify CHANGELOG to better fit reality + simplify one sentence + add the 🐛 emoji * chore(ui): add comments to explain why -0.1px * chore(css): move filters CSS to a separate file --------- Co-authored-by: Quentin Bellanger Co-authored-by: Adrien Boutigny Co-authored-by: Quentin Bellanger Co-authored-by: Benoît Dequick <33344370+benoitdequick@users.noreply.github.com> --- CHANGELOG.md | 8 +- confiture-web-app/.eslintrc | 12 +++ .../src/components/audit/AraTabs.vue | 18 ++-- .../audit/AuditGenerationHeader.vue | 3 +- .../src/components/report/ReportCriteria.vue | 11 ++- .../src/pages/audit/AuditGenerationPage.vue | 76 +++++++++++------ .../src/pages/misc/PrivacyPage.vue | 17 ++-- .../src/pages/report/ReportPage.vue | 85 +++++++------------ confiture-web-app/src/router.ts | 2 +- confiture-web-app/src/styles/filters.css | 16 ++++ 10 files changed, 148 insertions(+), 100 deletions(-) create mode 100644 confiture-web-app/src/styles/filters.css diff --git a/CHANGELOG.md b/CHANGELOG.md index b2835e4b4..e74701699 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ Tous les changements notables de Ara sont documentés ici avec leur date, leur c ### Corrections 🐛 +- Dans la page du rapport, lorsque l’un des deux onglets « Détails des non-conformités » ou « Points d’amélioration » est sélectionné, les liens présents dans le menu latéral de gauche pointent désormais correctement vers les différentes parties du rapport. ([#839](https://github.com/DISIC/Ara/issues/839)) + +### Autres changements ⚙️ + +- L’interface du rapport a été revue : la barre d’onglets et le menu latéral de gauche sont désormais positionnés « en adhérence » (_sticky_) +- La page de création d’audit conserve l’onglet sélectionné lorsque l’on rafraichit la page - Corrige la hiérarchie des titres et les annonces d’enregistrement pour les technologies d’assistance ([#933](https://github.com/DISIC/Ara/pull/933)) ## 05/02/2025 @@ -608,7 +614,7 @@ Tous les changements notables de Ara sont documentés ici avec leur date, leur c ### Autres changements ⚙️ - Mise à jour du DSFR en version `1.9.0` ([#326](https://github.com/DISIC/Ara/pull/326)) -- Mise à jour de l’adresse email de contact : ara@design.numerique.gouv.fr ([#328](https://github.com/DISIC/Ara/pull/328)) +- Mise à jour de l’adresse email de contact : ([#328](https://github.com/DISIC/Ara/pull/328)) ## 08/03/2023 diff --git a/confiture-web-app/.eslintrc b/confiture-web-app/.eslintrc index 52745e466..1c1d68717 100644 --- a/confiture-web-app/.eslintrc +++ b/confiture-web-app/.eslintrc @@ -17,6 +17,18 @@ }, "rules": { "vue/multi-word-component-names": "off", + "no-irregular-whitespace": "off", + "vue/no-irregular-whitespace": [ + "error", + { + "skipStrings": true, + "skipComments": true, + "skipRegExps": true, + "skipTemplates": true, + "skipHTMLAttributeValues": true, + "skipHTMLTextContents": true + } + ], "vue/no-v-html": "off", "no-duplicate-imports": "error", "@typescript-eslint/no-explicit-any": "off", diff --git a/confiture-web-app/src/components/audit/AraTabs.vue b/confiture-web-app/src/components/audit/AraTabs.vue index 45711da3b..b430c52f9 100644 --- a/confiture-web-app/src/components/audit/AraTabs.vue +++ b/confiture-web-app/src/components/audit/AraTabs.vue @@ -5,14 +5,18 @@ -->