From 895e84a21c6ac64c436f7c8698ba79d7d53f1c15 Mon Sep 17 00:00:00 2001 From: Quentin Bellanger Date: Wed, 17 Jul 2024 14:58:55 +0200 Subject: [PATCH 1/8] shorten contact fields in declaration page --- confiture-web-app/src/pages/audit/AuditDeclarationPage.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/confiture-web-app/src/pages/audit/AuditDeclarationPage.vue b/confiture-web-app/src/pages/audit/AuditDeclarationPage.vue index 4d69dc92..bd30390d 100644 --- a/confiture-web-app/src/pages/audit/AuditDeclarationPage.vue +++ b/confiture-web-app/src/pages/audit/AuditDeclarationPage.vue @@ -345,6 +345,7 @@ const isDevMode = useDevMode(); v-model="contactName" label="Nom et prénom du contact (optionnel)" type="text" + class="narrow-field" />

@@ -362,6 +363,7 @@ const isDevMode = useDevMode(); ? 'Vous devez renseigner au moins 1 moyen de contact' : undefined " + class="narrow-field" /> Date: Wed, 17 Jul 2024 15:03:09 +0200 Subject: [PATCH 2/8] adjust derogation block spacing and fields order --- .../src/pages/audit/AuditDeclarationPage.vue | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/confiture-web-app/src/pages/audit/AuditDeclarationPage.vue b/confiture-web-app/src/pages/audit/AuditDeclarationPage.vue index bd30390d..181e1aaf 100644 --- a/confiture-web-app/src/pages/audit/AuditDeclarationPage.vue +++ b/confiture-web-app/src/pages/audit/AuditDeclarationPage.vue @@ -484,17 +484,9 @@ const isDevMode = useDevMode(); - -

Dérogations

-

- Ces informations doivent faire l’objet d’une discussion entre l’auditeur - ou l’auditrice et le responsable du site audité. C’est le responsable du - site audité qui accepte de prendre le risque juridique de mentionner des - contenus dérogés. Si aucun contenu n’est à déroger, laissez les deux - champs vides. -

+

Contenus non accessibles

-
+
+

Dérogations

+ +

+ Les contenus dérogés doivent faire l’objet d’une discussion entre + l’auditeur et le responsable du site audité. C’est le responsable du site + audité qui accepte de prendre le risque juridique de mentionner des + contenus dérogés. +

+
-
+
-
+

+ Ajouter un environnement de test personnalisé +

+ +

Environnement {{ i + 1 }}

@@ -291,138 +215,53 @@ function combineEnvironments( > Supprimer -
-
- - Support - -
-
- - -
-
- - -
-
-
-
-
- - -
+ -
- - -
+ + -
- - -
-
+ + -../../../enums../../../types From cd6cf19bf39ef81e56279d704abf99ab5e5d3319 Mon Sep 17 00:00:00 2001 From: Quentin Bellanger Date: Wed, 17 Jul 2024 17:26:47 +0200 Subject: [PATCH 4/8] remove version fields and migrate database --- .../migration.sql | 47 +++++++++++++++++++ confiture-rest-api/prisma/schema.prisma | 5 +- .../src/audits/audit.service.ts | 38 ++------------- .../src/audits/dto/audit-report.dto.ts | 15 ------ .../src/audits/dto/update-audit.dto.ts | 21 --------- 5 files changed, 52 insertions(+), 74 deletions(-) create mode 100644 confiture-rest-api/prisma/migrations/20240717150619_remove_environment_version_fields/migration.sql diff --git a/confiture-rest-api/prisma/migrations/20240717150619_remove_environment_version_fields/migration.sql b/confiture-rest-api/prisma/migrations/20240717150619_remove_environment_version_fields/migration.sql new file mode 100644 index 00000000..02483d0f --- /dev/null +++ b/confiture-rest-api/prisma/migrations/20240717150619_remove_environment_version_fields/migration.sql @@ -0,0 +1,47 @@ +/* + Warnings: + + - You are about to drop the column `assistiveTechnologyVersion` on the `TestEnvironment` table. All the data in the column will be lost. + - You are about to drop the column `browserVersion` on the `TestEnvironment` table. All the data in the column will be lost. + - You are about to drop the column `operatingSystemVersion` on the `TestEnvironment` table. All the data in the column will be lost. + - A unique constraint covering the columns `[platform,operatingSystem,assistiveTechnology,browser,auditUniqueId]` on the table `TestEnvironment` will be added. If there are existing duplicate values, this will fail. + +*/ + +-- DropIndex +DROP INDEX "TestEnvironment_platform_operatingSystem_operatingSystemVer_key"; + +/* + Merge: + - "operatingSystem" and "operatingSystemVersion" + - "browser" and "browserVersion" + - "assistiveTechnology" and "assistiveTechnologyVersion" +*/ +UPDATE + "TestEnvironment" +SET + "operatingSystem" = + CASE + WHEN "operatingSystemVersion" IS NOT NULL + THEN "operatingSystem" || ' ' || "operatingSystemVersion" + END, + + "browser" = + CASE + WHEN "browserVersion" IS NOT NULL + THEN "browser" || ' ' || "browserVersion" + END, + + "assistiveTechnology" = + CASE + WHEN "assistiveTechnologyVersion" IS NOT NULL + THEN "assistiveTechnology" || ' ' || "assistiveTechnologyVersion" + END; + +-- AlterTable +ALTER TABLE "TestEnvironment" DROP COLUMN "assistiveTechnologyVersion", +DROP COLUMN "browserVersion", +DROP COLUMN "operatingSystemVersion"; + +-- CreateIndex +CREATE UNIQUE INDEX "TestEnvironment_platform_operatingSystem_assistiveTechnolog_key" ON "TestEnvironment"("platform", "operatingSystem", "assistiveTechnology", "browser", "auditUniqueId"); diff --git a/confiture-rest-api/prisma/schema.prisma b/confiture-rest-api/prisma/schema.prisma index 0f0041d5..7edb012f 100644 --- a/confiture-rest-api/prisma/schema.prisma +++ b/confiture-rest-api/prisma/schema.prisma @@ -96,16 +96,13 @@ model TestEnvironment { id Int @id @default(autoincrement()) platform String operatingSystem String - operatingSystemVersion String? assistiveTechnology String - assistiveTechnologyVersion String? browser String - browserVersion String? audit Audit? @relation(fields: [auditUniqueId], references: [editUniqueId], onDelete: Cascade) auditUniqueId String? - @@unique([platform, operatingSystem, operatingSystemVersion, assistiveTechnology, assistiveTechnologyVersion, browser, browserVersion, auditUniqueId]) + @@unique([platform, operatingSystem, assistiveTechnology, browser, auditUniqueId]) } model AuditedPage { diff --git a/confiture-rest-api/src/audits/audit.service.ts b/confiture-rest-api/src/audits/audit.service.ts index 7a200192..8f370480 100644 --- a/confiture-rest-api/src/audits/audit.service.ts +++ b/confiture-rest-api/src/audits/audit.service.ts @@ -248,51 +248,27 @@ export class AuditService { notIn: data.environments.map((e) => e.operatingSystem) } }, - { - operatingSystemVersion: { - notIn: data.environments.map( - (e) => e.operatingSystemVersion - ) - } - }, { assistiveTechnology: { notIn: data.environments.map((e) => e.assistiveTechnology) } }, - { - assistiveTechnologyVersion: { - notIn: data.environments.map( - (e) => e.assistiveTechnologyVersion - ) - } - }, { browser: { notIn: data.environments.map((e) => e.browser) } - }, - { - browserVersion: { - notIn: data.environments.map((e) => e.browserVersion) - } } ] }, upsert: data.environments.map((environment) => ({ where: { - platform_operatingSystem_operatingSystemVersion_assistiveTechnology_assistiveTechnologyVersion_browser_browserVersion_auditUniqueId: + platform_operatingSystem_assistiveTechnology_browser_auditUniqueId: { auditUniqueId: uniqueId, platform: environment.platform, operatingSystem: environment.operatingSystem, - operatingSystemVersion: - environment.operatingSystemVersion, assistiveTechnology: environment.assistiveTechnology, - assistiveTechnologyVersion: - environment.assistiveTechnologyVersion, - browser: environment.browser, - browserVersion: environment.browserVersion + browser: environment.browser } }, create: environment, @@ -899,21 +875,15 @@ export class AuditService { .filter((e) => e.platform === "desktop") .map((e) => ({ operatingSystem: e.operatingSystem, - operatingSystemVersion: e.operatingSystemVersion, assistiveTechnology: e.assistiveTechnology, - assistiveTechnologyVersion: e.assistiveTechnologyVersion, - browser: e.browser, - browserVersion: e.browserVersion + browser: e.browser })), mobileEnvironments: audit.environments .filter((e) => e.platform === "mobile") .map((e) => ({ operatingSystem: e.operatingSystem, - operatingSystemVersion: e.operatingSystemVersion, assistiveTechnology: e.assistiveTechnology, - assistiveTechnologyVersion: e.assistiveTechnologyVersion, - browser: e.browser, - browserVersion: e.browserVersion + browser: e.browser })), referencial: "RGAA Version 4.1", samples: audit.pages diff --git a/confiture-rest-api/src/audits/dto/audit-report.dto.ts b/confiture-rest-api/src/audits/dto/audit-report.dto.ts index 9593ddbe..a7804131 100644 --- a/confiture-rest-api/src/audits/dto/audit-report.dto.ts +++ b/confiture-rest-api/src/audits/dto/audit-report.dto.ts @@ -145,30 +145,15 @@ class Environment { */ operatingSystem: string; - /** - * @example "11" - */ - operatingSystemVersion: string; - /** * @example "JAWS" */ assistiveTechnology: string; - /** - * @example "14.2" - */ - assistiveTechnologyVersion: string; - /** * @example "Firefox" */ browser: string; - - /** - * @example "104" - */ - browserVersion: string; } class ReportCriterionResult { diff --git a/confiture-rest-api/src/audits/dto/update-audit.dto.ts b/confiture-rest-api/src/audits/dto/update-audit.dto.ts index 83295937..e1a45481 100644 --- a/confiture-rest-api/src/audits/dto/update-audit.dto.ts +++ b/confiture-rest-api/src/audits/dto/update-audit.dto.ts @@ -22,38 +22,17 @@ class UpdateAuditEnvironment { @IsString() operatingSystem: string; - /** - * @example "11" - */ - @IsString() - @IsOptional() - operatingSystemVersion?: string; - /** * @example "JAWS" */ @IsString() assistiveTechnology: string; - /** - * @example "14.2" - */ - @IsString() - @IsOptional() - assistiveTechnologyVersion?: string; - /** * @example "Firefox" */ @IsString() browser: string; - - /** - * @example "104" - */ - @IsString() - @IsOptional() - browserVersion?: string; } // class CreateAuditRecipients { From 1499bbfab9a93ea62afae4a266b344c8105d43a9 Mon Sep 17 00:00:00 2001 From: Quentin Bellanger Date: Wed, 24 Jul 2024 10:42:51 +0200 Subject: [PATCH 5/8] display test environments in statement (edit and index) and context pages --- .../src/audits/audit.service.ts | 20 ++--- .../src/audits/dto/audit-report.dto.ts | 7 +- .../TestEnvironmentSelection.vue | 8 +- .../TestEnvironmentSelection/combinations.ts | 79 ++++--------------- confiture-web-app/src/enums.ts | 4 +- confiture-web-app/src/pages/StatementPage.vue | 70 +++++----------- .../src/pages/audit/AuditDeclarationPage.vue | 10 +-- .../src/pages/report/ContextPage.vue | 42 ++-------- confiture-web-app/src/types/report.ts | 7 +- confiture-web-app/src/types/types.ts | 3 - 10 files changed, 60 insertions(+), 190 deletions(-) diff --git a/confiture-rest-api/src/audits/audit.service.ts b/confiture-rest-api/src/audits/audit.service.ts index 8f370480..a95c8c10 100644 --- a/confiture-rest-api/src/audits/audit.service.ts +++ b/confiture-rest-api/src/audits/audit.service.ts @@ -871,20 +871,12 @@ export class AuditService { auditorName: audit.auditorName, auditorEmail: null, auditorOrganisation: audit.auditorOrganisation, - desktopEnvironments: audit.environments - .filter((e) => e.platform === "desktop") - .map((e) => ({ - operatingSystem: e.operatingSystem, - assistiveTechnology: e.assistiveTechnology, - browser: e.browser - })), - mobileEnvironments: audit.environments - .filter((e) => e.platform === "mobile") - .map((e) => ({ - operatingSystem: e.operatingSystem, - assistiveTechnology: e.assistiveTechnology, - browser: e.browser - })), + environments: audit.environments.map((e) => ({ + platform: e.platform, + operatingSystem: e.operatingSystem, + assistiveTechnology: e.assistiveTechnology, + browser: e.browser + })), referencial: "RGAA Version 4.1", samples: audit.pages .map((p, i) => ({ diff --git a/confiture-rest-api/src/audits/dto/audit-report.dto.ts b/confiture-rest-api/src/audits/dto/audit-report.dto.ts index a7804131..7e70d9a9 100644 --- a/confiture-rest-api/src/audits/dto/audit-report.dto.ts +++ b/confiture-rest-api/src/audits/dto/audit-report.dto.ts @@ -127,8 +127,7 @@ class ReportContext { tools: string[]; - desktopEnvironments: Environment[]; - mobileEnvironments: Environment[]; + environments: Environment[]; } class PageSample { @@ -140,6 +139,10 @@ class PageSample { } class Environment { + /** + * @example "Mobile" + */ + platform: string; /** * @example "Windows" */ diff --git a/confiture-web-app/src/components/audit/TestEnvironmentSelection/TestEnvironmentSelection.vue b/confiture-web-app/src/components/audit/TestEnvironmentSelection/TestEnvironmentSelection.vue index 9295f130..a469dad2 100644 --- a/confiture-web-app/src/components/audit/TestEnvironmentSelection/TestEnvironmentSelection.vue +++ b/confiture-web-app/src/components/audit/TestEnvironmentSelection/TestEnvironmentSelection.vue @@ -223,7 +223,7 @@ function combineEnvironments( label="Appareil" hint="Exemples : mobile, borne interactive" type="text" - required + :required="customEnvironments.length > 1" />
diff --git a/confiture-web-app/src/components/audit/TestEnvironmentSelection/combinations.ts b/confiture-web-app/src/components/audit/TestEnvironmentSelection/combinations.ts index 51883941..43f25c79 100644 --- a/confiture-web-app/src/components/audit/TestEnvironmentSelection/combinations.ts +++ b/confiture-web-app/src/components/audit/TestEnvironmentSelection/combinations.ts @@ -15,27 +15,18 @@ export const desktopCombinations = [ environments: [ { operatingSystem: OperatingSystem.WINDOWS, - operatingSystemVersion: "", browser: Browsers.FIREFOX, - browserVersion: "", - assistiveTechnology: AssistiveTechnology.NVDA, - assistiveTechnologyVersion: "" + assistiveTechnology: AssistiveTechnology.NVDA }, { operatingSystem: OperatingSystem.WINDOWS, - operatingSystemVersion: "", browser: Browsers.FIREFOX, - browserVersion: "", - assistiveTechnology: AssistiveTechnology.JAWS, - assistiveTechnologyVersion: "" + assistiveTechnology: AssistiveTechnology.JAWS }, { operatingSystem: OperatingSystem.MAC_OS, - operatingSystemVersion: "", browser: Browsers.SAFARI, - browserVersion: "", - assistiveTechnology: AssistiveTechnology.VOICE_OVER, - assistiveTechnologyVersion: "" + assistiveTechnology: AssistiveTechnology.VOICE_OVER } ] }, @@ -44,27 +35,18 @@ export const desktopCombinations = [ environments: [ { operatingSystem: OperatingSystem.WINDOWS, - operatingSystemVersion: "", browser: Browsers.FIREFOX, - browserVersion: "", - assistiveTechnology: AssistiveTechnology.NVDA, - assistiveTechnologyVersion: "" + assistiveTechnology: AssistiveTechnology.NVDA }, { operatingSystem: OperatingSystem.WINDOWS, - operatingSystemVersion: "", browser: Browsers.EDGE, - browserVersion: "", - assistiveTechnology: AssistiveTechnology.JAWS, - assistiveTechnologyVersion: "" + assistiveTechnology: AssistiveTechnology.JAWS }, { operatingSystem: OperatingSystem.MAC_OS, - operatingSystemVersion: "", browser: Browsers.SAFARI, - browserVersion: "", - assistiveTechnology: AssistiveTechnology.VOICE_OVER, - assistiveTechnologyVersion: "" + assistiveTechnology: AssistiveTechnology.VOICE_OVER } ] }, @@ -73,27 +55,18 @@ export const desktopCombinations = [ environments: [ { operatingSystem: OperatingSystem.WINDOWS, - operatingSystemVersion: "", browser: Browsers.EDGE, - browserVersion: "", - assistiveTechnology: AssistiveTechnology.NVDA, - assistiveTechnologyVersion: "" + assistiveTechnology: AssistiveTechnology.NVDA }, { operatingSystem: OperatingSystem.WINDOWS, - operatingSystemVersion: "", browser: Browsers.FIREFOX, - browserVersion: "", - assistiveTechnology: AssistiveTechnology.JAWS, - assistiveTechnologyVersion: "" + assistiveTechnology: AssistiveTechnology.JAWS }, { operatingSystem: OperatingSystem.MAC_OS, - operatingSystemVersion: "", browser: Browsers.SAFARI, - browserVersion: "", - assistiveTechnology: AssistiveTechnology.VOICE_OVER, - assistiveTechnologyVersion: "" + assistiveTechnology: AssistiveTechnology.VOICE_OVER } ] } @@ -106,11 +79,8 @@ export const mobileCombinations = [ environments: [ { operatingSystem: OperatingSystem.I_OS, - operatingSystemVersion: "", browser: Browsers.SAFARI, - browserVersion: "", - assistiveTechnology: AssistiveTechnology.VOICE_OVER, - assistiveTechnologyVersion: "" + assistiveTechnology: AssistiveTechnology.VOICE_OVER } ] }, @@ -119,18 +89,15 @@ export const mobileCombinations = [ environments: [ { operatingSystem: OperatingSystem.ANDROID, - operatingSystemVersion: "", browser: Browsers.CHROME, - browserVersion: "", - assistiveTechnology: AssistiveTechnology.TALKBACK, - assistiveTechnologyVersion: "" + assistiveTechnology: AssistiveTechnology.TALKBACK } ] } ]; /** - * @returns true if same environment (ignoring version fields) + * @returns true if same environment */ function compareEnvironments( a: Partial, @@ -150,12 +117,7 @@ export function getDesktopCombinations( environments: Omit[] ): string[] { const candidateEnvs = environments.filter((env) => { - return ( - env.platform === Platform.DESKTOP && - !env.assistiveTechnologyVersion && - !env.operatingSystemVersion && - !env.browserVersion - ); + return env.platform === Platform.DESKTOP; }); return desktopCombinations @@ -174,12 +136,7 @@ export function getMobileCombinations( environments: Omit[] ): string[] { const candidateEnvs = environments.filter((env) => { - return ( - env.platform === Platform.MOBILE && - !env.assistiveTechnologyVersion && - !env.operatingSystemVersion && - !env.browserVersion - ); + return env.platform === Platform.MOBILE; }); return mobileCombinations @@ -210,14 +167,6 @@ export function getCustomEnvironments( .filter(Boolean); return environments.filter((env) => { - if ( - env.assistiveTechnologyVersion || - env.operatingSystemVersion || - env.browserVersion - ) { - return true; - } - return !( d.some((desktopEnv) => compareEnvironments(desktopEnv!, env)) || m.some((mobileEnv) => compareEnvironments(mobileEnv!, env)) diff --git a/confiture-web-app/src/enums.ts b/confiture-web-app/src/enums.ts index 0f11efaa..9a3d856c 100644 --- a/confiture-web-app/src/enums.ts +++ b/confiture-web-app/src/enums.ts @@ -1,6 +1,6 @@ export enum Platform { - DESKTOP = "desktop", - MOBILE = "mobile" + DESKTOP = "Ordinateur", + MOBILE = "Mobile" } export enum OperatingSystem { diff --git a/confiture-web-app/src/pages/StatementPage.vue b/confiture-web-app/src/pages/StatementPage.vue index 1091ef9b..29de0d45 100644 --- a/confiture-web-app/src/pages/StatementPage.vue +++ b/confiture-web-app/src/pages/StatementPage.vue @@ -301,60 +301,28 @@ const siteUrl = computed(() => { -
Environnement de test
-

- Les vérifications de restitution de contenus ont été réalisées sur - la base de la combinaison fournie par la base de référence du RGAA, - avec les versions suivantes : -

-
    - +
    Pages du site ayant fait l’objet de la vérification de conformité
    diff --git a/confiture-web-app/src/pages/audit/AuditDeclarationPage.vue b/confiture-web-app/src/pages/audit/AuditDeclarationPage.vue index 181e1aaf..2b26b9c1 100644 --- a/confiture-web-app/src/pages/audit/AuditDeclarationPage.vue +++ b/confiture-web-app/src/pages/audit/AuditDeclarationPage.vue @@ -244,20 +244,14 @@ function DEBUG_fillFields() { { platform: Platform.DESKTOP, operatingSystem: OperatingSystem.WINDOWS, - operatingSystemVersion: "11", assistiveTechnology: AssistiveTechnology.NVDA, - assistiveTechnologyVersion: "", - browser: Browsers.FIREFOX, - browserVersion: "104" + browser: Browsers.FIREFOX }, { platform: Platform.DESKTOP, operatingSystem: OperatingSystem.MAC_OS, - operatingSystemVersion: "12.5", assistiveTechnology: AssistiveTechnology.VOICE_OVER, - assistiveTechnologyVersion: "", - browser: Browsers.SAFARI, - browserVersion: "15.6" + browser: Browsers.SAFARI } ]; diff --git a/confiture-web-app/src/pages/report/ContextPage.vue b/confiture-web-app/src/pages/report/ContextPage.vue index 8e0759a9..ee13b1b5 100644 --- a/confiture-web-app/src/pages/report/ContextPage.vue +++ b/confiture-web-app/src/pages/report/ContextPage.vue @@ -274,24 +274,9 @@ useWrappedFetch(() => report.fetchReport(uniqueId)); v-for="(env, i) in report.data.context.desktopEnvironments" :key="i" > - - {{ env.assistiveTechnology }} - - - - {{ env.browser }} - - - - {{ env.operatingSystem }} - - + {{ env.assistiveTechnology }} + {{ env.browser }} + {{ env.operatingSystem }} @@ -324,24 +309,9 @@ useWrappedFetch(() => report.fetchReport(uniqueId)); v-for="(env, i) in report.data.context.mobileEnvironments" :key="i" > - - {{ env.assistiveTechnology }} - - - - {{ env.browser }} - - - - {{ env.operatingSystem }} - - + {{ env.assistiveTechnology }} + {{ env.browser }} + {{ env.operatingSystem }} diff --git a/confiture-web-app/src/types/report.ts b/confiture-web-app/src/types/report.ts index dbd3fb9b..dad6f324 100644 --- a/confiture-web-app/src/types/report.ts +++ b/confiture-web-app/src/types/report.ts @@ -91,8 +91,7 @@ interface AuditReportContext { tools: string[]; - desktopEnvironments: Environment[]; - mobileEnvironments: Environment[]; + environments: Environment[]; } interface PageSample { @@ -104,10 +103,8 @@ interface PageSample { } interface Environment { + platform: string; operatingSystem: string; - operatingSystemVersion?: string; assistiveTechnology: string; - assistiveTechnologyVersion?: string; browser: string; - browserVersion?: string; } diff --git a/confiture-web-app/src/types/types.ts b/confiture-web-app/src/types/types.ts index 252d8544..514b37dc 100644 --- a/confiture-web-app/src/types/types.ts +++ b/confiture-web-app/src/types/types.ts @@ -8,11 +8,8 @@ export interface AuditEnvironment { id: number; platform: string; operatingSystem: string; - operatingSystemVersion?: string; assistiveTechnology: string; - assistiveTechnologyVersion?: string; browser: string; - browserVersion?: string; } export interface AuditPage { From cc81f7cd8f889d3862e4b97daacd5556a895946e Mon Sep 17 00:00:00 2001 From: Quentin Bellanger Date: Wed, 24 Jul 2024 10:56:10 +0200 Subject: [PATCH 6/8] fix env combinations table caption --- .../src/components/audit/AuditEnvironmentCheckbox.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confiture-web-app/src/components/audit/AuditEnvironmentCheckbox.vue b/confiture-web-app/src/components/audit/AuditEnvironmentCheckbox.vue index 6a293b8d..6d4f71c1 100644 --- a/confiture-web-app/src/components/audit/AuditEnvironmentCheckbox.vue +++ b/confiture-web-app/src/components/audit/AuditEnvironmentCheckbox.vue @@ -69,7 +69,7 @@ function onInput() { Couples navigateur et technologie d’assistance sur {{ - platform === Platform.DESKTOP ? "ordinateur" : "mobile" + platform }} From be9fec76354dbaecfa1e6312e0d67061c6146684 Mon Sep 17 00:00:00 2001 From: Quentin Bellanger Date: Wed, 24 Jul 2024 10:57:06 +0200 Subject: [PATCH 7/8] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bf65eb6..06619946 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Tous les changements notables de Ara sont documentés ici avec leur date, leur c ### Autres changements ⚙️ - Ajoute une information pour préciser la nature des contenus dans l’onglet "Points d’améliorations" ([#764](https://github.com/DISIC/Ara/pull/764)) +- Simplifie l’ajout d’environnements de test personnalisés ([#765](https://github.com/DISIC/Ara/pull/765)) ## 11/07/2024 From 61c170bc43f7056cb29de190dedcc83b553da37b Mon Sep 17 00:00:00 2001 From: Quentin Bellanger Date: Wed, 24 Jul 2024 11:08:49 +0200 Subject: [PATCH 8/8] fix test environments table in context page --- .../src/pages/report/ContextPage.vue | 43 ++----------------- 1 file changed, 3 insertions(+), 40 deletions(-) diff --git a/confiture-web-app/src/pages/report/ContextPage.vue b/confiture-web-app/src/pages/report/ContextPage.vue index ee13b1b5..478b17c1 100644 --- a/confiture-web-app/src/pages/report/ContextPage.vue +++ b/confiture-web-app/src/pages/report/ContextPage.vue @@ -251,51 +251,14 @@ useWrappedFetch(() => report.fetchReport(uniqueId)); conformément aux environnements de test suivants :

    - - -