diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md new file mode 100644 index 00000000..ec2021b7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -0,0 +1,27 @@ +--- +name: Bug +about: Le titre du ticket doit être clair, concis et résumer le problème +title: '' +labels: '' +assignees: '' + +--- + +- **Relevé par** : [Prénom] +- **Le** : [xx/xx/xx] + +## Description du problème + +- [Description détaillée du problème, localisation et impact sur l'usager.] + +## Scénario pour reproduire le bug + +- [Liste des actions à réaliser pour reproduire le bug] + +## Correction à apporter + +- [Description du comportement attendu] + +--- + +🔮 Pensez à lancer et/ou mettre à jour les tests end-to-end si nécessaire avant passage en prod. diff --git "a/.github/ISSUE_TEMPLATE/nouvelle-fonctionnalit\303\251.md" "b/.github/ISSUE_TEMPLATE/nouvelle-fonctionnalit\303\251.md" new file mode 100644 index 00000000..0610103a --- /dev/null +++ "b/.github/ISSUE_TEMPLATE/nouvelle-fonctionnalit\303\251.md" @@ -0,0 +1,21 @@ +--- +name: Nouvelle fonctionnalité +about: Le titre du ticket doit être clair, concis et résumer l’objectif ou le problème à résoudre +title: '' +labels: '' +assignees: '' + +--- + +## Description du problème + +- [Description détaillée du problème, localisation et impact sur l’usager.] +- [Inclure toutes les informations ou données pertinentes.] + +## Pistes de solutions + +- [Premières idées ou recommandations pour résoudre le problème.] + +--- + +🔮 Pensez à lancer et/ou mettre à jour les tests end-to-end si nécessaire avant passage en prod. diff --git a/CHANGELOG.md b/CHANGELOG.md index e7470169..06a59e71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,16 +2,16 @@ Tous les changements notables de Ara sont documentés ici avec leur date, leur catégorie (nouvelle fonctionnalité, correction de bug ou autre changement) et leur pull request (PR) associée. -## 06/02/2025 +## 07/02/2025 -### Corrections 🐛 +### Nouvelles fonctionnalités 🚀 -- 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)) +- Ajoute une aide et des exemples sur l’impact usager ([#928](https://github.com/DISIC/Ara/pull/928)) -### Autres changements ⚙️ +## 06/02/2025 + +### Corrections 🐛 -- 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 @@ -614,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 : ([#328](https://github.com/DISIC/Ara/pull/328)) +- Mise à jour de l’adresse email de contact : ara@design.numerique.gouv.fr ([#328](https://github.com/DISIC/Ara/pull/328)) ## 08/03/2023 diff --git a/confiture-web-app/.eslintrc b/confiture-web-app/.eslintrc index 1c1d6871..52745e46 100644 --- a/confiture-web-app/.eslintrc +++ b/confiture-web-app/.eslintrc @@ -17,18 +17,6 @@ }, "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 27f39b22..c9b07b54 100644 --- a/confiture-web-app/src/components/audit/AraTabs.vue +++ b/confiture-web-app/src/components/audit/AraTabs.vue @@ -15,7 +15,6 @@ import { useUniqueId } from "../../composables/useUniqueId"; import { AraTabsTabData } from "./AraTabsTabData"; /** Types */ - export interface TabsRouteParams { name: string; params: { @@ -196,9 +195,7 @@ onBeforeRouteUpdate(async (to, from) => { @keydown.home.prevent="selectFirstTab" @keydown.end.prevent="selectLastTab" > - {{ - tab.label - }} + {{ tab.label }} diff --git a/confiture-web-app/src/components/audit/AuditGenerationCriterium.vue b/confiture-web-app/src/components/audit/AuditGenerationCriterium.vue index 45fc2cf7..669d6f18 100644 --- a/confiture-web-app/src/components/audit/AuditGenerationCriterium.vue +++ b/confiture-web-app/src/components/audit/AuditGenerationCriterium.vue @@ -275,12 +275,15 @@ const showTransverseStatus = computed(() => { + > + + diff --git a/confiture-web-app/src/components/audit/AuditGenerationHeader.vue b/confiture-web-app/src/components/audit/AuditGenerationHeader.vue index 3a75c2af..377019af 100644 --- a/confiture-web-app/src/components/audit/AuditGenerationHeader.vue +++ b/confiture-web-app/src/components/audit/AuditGenerationHeader.vue @@ -548,8 +548,7 @@ onMounted(() => { .sticky-indicator { position: sticky; - /* Prevent "one line background flickering" when scrolling the page */ - top: -0.1px; + top: 0; z-index: 4; gap: 0.5rem 0; align-items: center; diff --git a/confiture-web-app/src/components/audit/CriteriumNotCompliantAccordion.vue b/confiture-web-app/src/components/audit/CriteriumNotCompliantAccordion.vue index c544da97..d3a64e10 100644 --- a/confiture-web-app/src/components/audit/CriteriumNotCompliantAccordion.vue +++ b/confiture-web-app/src/components/audit/CriteriumNotCompliantAccordion.vue @@ -40,9 +40,9 @@ const userImpacts: Array<{ color?: RadioColor; }> = [ { - value: CriterionResultUserImpact.MINOR, - label: formatUserImpact(CriterionResultUserImpact.MINOR), - color: RadioColor.GREY + value: CriterionResultUserImpact.BLOCKING, + label: formatUserImpact(CriterionResultUserImpact.BLOCKING), + color: RadioColor.RED }, { value: CriterionResultUserImpact.MAJOR, @@ -50,9 +50,9 @@ const userImpacts: Array<{ color: RadioColor.YELLOW }, { - value: CriterionResultUserImpact.BLOCKING, - label: formatUserImpact(CriterionResultUserImpact.BLOCKING), - color: RadioColor.RED + value: CriterionResultUserImpact.MINOR, + label: formatUserImpact(CriterionResultUserImpact.MINOR), + color: RadioColor.GREY } ]; @@ -143,11 +143,57 @@ const title = "Erreur et recommandation"; class="fr-mb-4w" :model-value="userImpact" :items="userImpacts" - label="Impact sur l’usager" :default-value="null" :disabled="isOffline" @update:model-value="$emit('update:userImpact', $event)" - /> + > + +
@@ -178,10 +224,13 @@ const title = "Erreur et recommandation"; gap: 0.5rem; } -.user-impact-container { - border: none; +.user-impact-label { display: flex; - gap: 1rem; - flex-wrap: wrap; + align-items: center; + gap: 0.5rem; +} + +.user-impact-example { + font-style: italic; } diff --git a/confiture-web-app/src/components/overview/AuditGridStep.vue b/confiture-web-app/src/components/overview/AuditGridStep.vue index 53d63f14..4d47c9a2 100644 --- a/confiture-web-app/src/components/overview/AuditGridStep.vue +++ b/confiture-web-app/src/components/overview/AuditGridStep.vue @@ -61,7 +61,8 @@ const csvExportSizeEstimation = computed(() => {