Proposer l'installation de l'app au bon moment (lot 3d)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pierre MARTIN
2026-11-18 15:17:39 +01:00
co-authored by Claude Opus 5.5
parent 888aec1003
commit 84b4027796
7 changed files with 461 additions and 4 deletions
+3
View File
@@ -28,12 +28,15 @@ import { readPairFragment } from "./ui/sync-model.js";
import { toast } from "./ui/feedback.js";
import { updateBanner } from "./ui/update-banner.js";
import { loadDraft } from "./ui/draft-storage.js";
import { startInstaller } from "./ui/install.js";
import { openEventStore } from "./infra/event-store.js";
import { decodeProposalFragment } from "./domain/link.js";
import { registerServiceWorker } from "./sw-register.js";
applyTheme(getTheme());
// Tôt, pour ne pas manquer l'invite d'installation du navigateur.
startInstaller();
// Le journal est gardé dans IndexedDB : chargé au démarrage, chaque événement
// créé y est ajouté (ADR 0006).