From 0c3b5e27a76de4b9e6e05e1a342749000df12c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?POL=20Micka=C3=ABl?= Date: Mon, 6 Apr 2026 07:34:07 +0200 Subject: [PATCH] =?UTF-8?q?rename:=20Minuteur=20Dragodinde=20=E2=86=92=20O?= =?UTF-8?q?bsidienne?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Renommage complet dans package.json, main.ts, UI, tray, notifications - GUID NSIS fixe pour mise à jour propre (pas de doublon d'installation) - Migration automatique des données depuis %APPDATA%\Minuteur Dragodinde\ - Rétrocompatibilité import : backups 'minuteur-dragodinde' toujours acceptés - Mise à jour README changelog, CLAUDE.md, docs, maquettes, page ntfy Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 4 +-- README.md | 16 +++++++--- algorithmes.md | 2 +- docs/fonctionnalites-par-ecran.md | 2 +- ntfy-redirect/index.html | 4 +-- package-lock.json | 4 +-- package.json | 13 ++++---- refonte_graphique/dashboard.html | 2 +- refonte_graphique/enclos.html | 2 +- src/infrastructure/electron/main.ts | 32 ++++++++++++++----- src/presentation/components/App.ts | 2 +- src/presentation/components/ParametresView.ts | 6 ++-- tests/regression/security-hardening.test.ts | 6 ++-- .../infrastructure/ImportValidation.test.ts | 2 +- 14 files changed, 60 insertions(+), 37 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 50ba9ec..649e9c1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -14,7 +14,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Project Overview -Minuteur Dragodinde is a Windows desktop app (Electron + Vite + TypeScript) for managing Dragodinde breeding timers in Dofus 3. French-language UI. +Obsidienne (anciennement "Minuteur Dragodinde") is a Windows desktop app (Electron + Vite + TypeScript) for managing Dragodinde breeding timers in Dofus 3. French-language UI. ## Commands @@ -89,7 +89,7 @@ Checks Gitea Releases API on startup (after 3s) and hourly. Downloads NSIS Setup ### Dev vs packaged mode -When `!app.isPackaged`, userData is stored in `MinuteurDragodinde-DEV` (isolated from installed app) and a DEV badge is injected into the UI. +When `!app.isPackaged`, userData is stored in `Obsidienne-DEV` (isolated from installed app) and a DEV badge is injected into the UI. On first packaged launch, data is auto-migrated from the old `Minuteur Dragodinde` folder. ## Tests diff --git a/README.md b/README.md index 5036d8d..955d6ec 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ⚔ Obsidienne — Minuteur Dragodinde (Dofus 3) +# ⚔ Obsidienne — Élevage Dragodinde (Dofus 3) Application desktop Windows de gestion d'élevage de Dragodindes pour Dofus 3. Construite avec **Electron + Vite + TypeScript** en architecture **DDD hexagonale**. @@ -39,7 +39,7 @@ Construite avec **Electron + Vite + TypeScript** en architecture **DDD hexagonal ## Installation (utilisateurs) -1. Télécharger `Minuteur Dragodinde Setup x.x.x.exe` depuis la section [Releases](https://gitea.mickael-pol.fr/mickael/dd-timer/releases) +1. Télécharger `Obsidienne Setup x.x.x.exe` depuis la section [Releases](https://gitea.mickael-pol.fr/mickael/dd-timer/releases) 2. **Clic droit → Propriétés → cocher "Débloquer" → OK** (important, une seule fois) 3. Double-cliquer pour lancer l'installation 4. L'app apparaît dans le menu Démarrer et sur le Bureau @@ -122,7 +122,7 @@ L'application utilise **electron-updater** avec un fichier `latest.yml` pour la # 2. Build l'application npm run build # → Génère dans dist/ : -# - Minuteur Dragodinde Setup 1.x.x.exe +# - Obsidienne Setup 1.x.x.exe # - latest.yml (version + sha512, requis par electron-updater) # 3. Committer et tagger @@ -133,7 +133,7 @@ git push && git push --tags # 4. Sur Gitea : Releases → Nouvelle release → tag v1.x.x # Attacher les 2 fichiers : -# - Minuteur Dragodinde Setup 1.x.x.exe +# - Obsidienne Setup 1.x.x.exe # - latest.yml ``` @@ -236,6 +236,12 @@ src/ - 🛡 **Nettoyage Ctrl+Z listener** — `removeEventListener` dans `destroy()` pour éviter les memory leaks - 🛡 **Toast stale container** — protection `isConnected` contre les conteneurs DOM détachés +#### Renommage +- 🏷 **Renommage "Minuteur Dragodinde" → "Obsidienne"** — nouveau nom d'application, raccourcis, titre, tray, notifications +- 🔄 **Migration automatique des données** — copie transparente du fichier de sauvegarde depuis l'ancien dossier `%APPDATA%\Minuteur Dragodinde\` au premier lancement +- 🔄 **GUID NSIS fixe** — l'installeur reconnaît l'ancienne version et la remplace proprement (pas de doublon) +- 🔄 **Rétrocompatibilité import** — les backups exportés avec `app: 'minuteur-dragodinde'` restent importables + #### Technique - ⬆ **Migration electron-updater** — vérification sha512 via `latest.yml`, installation NSIS native, restart auto - 🎨 **Icône Windows native** — migration `icon.png` → `icon.ico` @@ -303,7 +309,7 @@ src/ - 📝 **Sous-onglets par enclos** (Elevage / Historique bebes) - 🔧 **Mode DEV** — Donnees isolees et badge DEV visible quand lance avec `npm start` - ⬆ **Mise a jour automatique** via Gitea Releases avec banniere de progression dans l'interface -- 🔧 Correction de l'identifiant applicatif (`fr.mickael-pol.minuteur-dragodinde`) +- 🔧 Correction de l'identifiant applicatif (`fr.mickael-pol.obsidienne`) - 🔧 Masquage des spinners natifs sur les champs numeriques ### v1.0.0 diff --git a/algorithmes.md b/algorithmes.md index 313298f..f1fa9c8 100644 --- a/algorithmes.md +++ b/algorithmes.md @@ -1,4 +1,4 @@ -# Algorithmes de calcul — Minuteur Dragodinde +# Algorithmes de calcul — Obsidienne Ce document décrit tous les algorithmes utilisés dans l'application, expliqués simplement. diff --git a/docs/fonctionnalites-par-ecran.md b/docs/fonctionnalites-par-ecran.md index de22b4b..7e4c9bb 100644 --- a/docs/fonctionnalites-par-ecran.md +++ b/docs/fonctionnalites-par-ecran.md @@ -1,4 +1,4 @@ -# Fonctionnalités par écran — Minuteur Dragodinde +# Fonctionnalités par écran — Obsidienne --- diff --git a/ntfy-redirect/index.html b/ntfy-redirect/index.html index caf988d..6ca13df 100644 --- a/ntfy-redirect/index.html +++ b/ntfy-redirect/index.html @@ -3,7 +3,7 @@ -Minuteur Dragodinde - Notifications +Obsidienne - Notifications