Bibliothèque consultable (lot 3a), arbitrages du lot 4

Écran #/bibliotheque : recherche, filtres zone, muscle, famille et matériel
dans l'adresse (nav.set), fiche avec place dans le programme, exercices
proches et « Demander à mon IA » ; exercices génériques. #import-json=
devient un fragment réservé. Plan du lot 4 (WOD).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pierre MARTIN
2026-11-18 14:20:47 +01:00
co-authored by Claude Opus 5.5
parent 25639639cc
commit be3e820b88
15 changed files with 655 additions and 6 deletions
+3
View File
@@ -21,6 +21,7 @@ import { finishScreen, progressScreen } from "./ui/game.js";
import { applyTheme, getTheme } from "./ui/theme-pref.js";
import { pairScreen, syncIndicator, syncScreen } from "./ui/screens/sync.js";
import { connectAiScreen } from "./ui/screens/connect-ai.js";
import { libraryItemScreen, libraryScreen } from "./ui/screens/library.js";
import { createSyncService } from "./ui/sync-service.js";
import { readPairFragment } from "./ui/sync-model.js";
import { toast } from "./ui/feedback.js";
@@ -143,6 +144,8 @@ startRouter(root, (route, nav) => {
case "proposal": return proposalScreen({ store, nav, id: route.id });
case "sync": return syncScreen({ service: sync, store, nav });
case "pair": return pairScreen({ service: sync, store, nav, key: pairKey });
case "library": return libraryScreen({ store, nav, query: route.query });
case "library-item": return libraryItemScreen({ store, nav, today, id: route.id });
case "connect-ai": return connectAiScreen({ service: sync, nav, hash: "?" + route.query });
case "not-found":
return {