From ee953507ef65a182931d2bf6ed8a8905443813c5 Mon Sep 17 00:00:00 2001 From: Siphonight Date: Sat, 19 Sep 2026 22:19:57 +0200 Subject: [PATCH] v1.9.2 (suite) : WEB_VERSION 1.9.2 + e2e versions + README statut MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Suivi du commit précédent : le remplacement de WEB_VERSION (1.9.0 → cible inexistante, le fichier était en 1.9.1) avait échoué silencieusement, laissant les assertions e2e et le README en retard. Corrigé : WEB_VERSION 1.9.2, assertions e2e 1.9.2, README web v1.9.2 (169 tests). check --release vert. --- README.md | 10 +++++----- js/ui/settings.js | 2 +- scripts/e2e.mjs | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b51f4ad..bc840d1 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,11 @@ > Fie-toi toujours à tes analyses de sang et aux consignes de ton > endocrinologue. -- **Statut** : web v1.8.1 — parité fonctionnelle avec l'Android v1.8.1 - (recommandation de prochaine prise de sang, stabilisation sensible aux - changements récents ; l'auto-backup journalier Android reste - structurellement non porté, cf §12 — l'export manuel couvre la donnée) · - **155 tests verts** · E2E navigateur ✅ · conteneur testé en +- **Statut** : web v1.9.2 — parité fonctionnelle avec l'Android v1.9.2 + (modèle Estrannaise analytique + nuage d'incertitude MCMC exclusif ESE ; + l'auto-backup journalier Android reste structurellement non porté, cf + §12 — l'export manuel couvre la donnée) · + **169 tests verts** · E2E navigateur ✅ · conteneur testé en configuration durcie ✅ · lint/i18n ✅ - **Journal des versions web** : [docs/CHANGELOG.md](docs/CHANGELOG.md) - **Releases** : [gitea.cloudyfy.fr/Siphonight/HormoneTrack-web/releases](https://gitea.cloudyfy.fr/Siphonight/HormoneTrack-web/releases) diff --git a/js/ui/settings.js b/js/ui/settings.js index 7c7d30d..3f1c2ea 100644 --- a/js/ui/settings.js +++ b/js/ui/settings.js @@ -31,7 +31,7 @@ import { el, showDialog, field, switchRow, filterChip, toast } from './component * (APK + web au MÊME numéro, tags appariés `vX.Y.Z` + `vX.Y.Z-web`). * v1.4.10 = portage initial de l'Android v1.4.10. */ -export const WEB_VERSION = '1.9.1'; +export const WEB_VERSION = '1.9.2'; /** Parse un champ numérique FR (virgule → point) ; null si vide/invalide. */ function parseNumOrNull(text) { diff --git a/scripts/e2e.mjs b/scripts/e2e.mjs index 6f89581..e33786f 100644 --- a/scripts/e2e.mjs +++ b/scripts/e2e.mjs @@ -131,7 +131,7 @@ async function main() { ok(dialog !== null, 'dialog « Nouveautés » au premier lancement (markdown rendu)'); if (dialog) { const dlgText = await dialog.textContent(); - ok(dlgText.includes('Version 1.9.1'), 'dialog : section de la version courante'); + ok(dlgText.includes('Version 1.9.2'), 'dialog : section de la version courante'); const hasRenderedMd = await dialog.$('.md-body h3, .md-body strong'); ok(hasRenderedMd !== null, 'dialog : markdown RENDU (titres/gras), pas de brut'); await page.click('.dialog .actions button'); @@ -334,7 +334,7 @@ async function main() { await page.waitForTimeout(300); text = await page.textContent('main.content'); ok(text.includes('Langue'), 'Paramètres : carte langue'); - ok(text.includes('Version 1.9.1 (web)'), 'Paramètres : version affichée'); + ok(text.includes('Version 1.9.2 (web)'), 'Paramètres : version affichée'); ok(text.includes('100 % local'), 'Paramètres : note vie privée'); await page.screenshot({ path: join(SHOTS, 'e2e-settings.png') });