diff --git a/.ideai/tickets/212/carnet.md b/.ideai/tickets/212/carnet.md index f01e71f4..17d1fc35 100644 --- a/.ideai/tickets/212/carnet.md +++ b/.ideai/tickets/212/carnet.md @@ -1,6 +1,15 @@ --- issueRef: "#212" -version: 2 +version: 5 updatedBy: {"kind":"agent","agent_id":"a6c6ea12-bfc6-4bdc-8031-324102dfa34d"} -updatedAt: 1786786013613 +updatedAt: 1786786758650 --- +2026-08-15 Main triage + implementation + QA. +- Symptome confirme par lecture code: frontend web invoque `load_layout`, mais `crates/web-server/src/lib.rs` ne route pas cette commande et tombe sur `UNKNOWN_COMMAND`. +- Cadrage Architect: fixer l'adapter web `/api/invoke` en alignement avec Tauri; idealement couvrir tout le sous-ensemble layout (`load_layout`, `mutate_layout`, `list_layouts`, `create_layout`, `rename_layout`, `delete_layout`, `set_active_layout`) + tests de non-regression. +- Cadrage UX: ne jamais exposer `unknown command: load_layout`; en cas d'echec de restauration, message utilisateur `Impossible de restaurer l’espace de travail de ce projet.` avec fallback vers un layout par defaut/non bloquant. +- Git: branche de travail `fix/212-web-load-layout-unknown-command`, creee depuis `develop` local `cf2f0dc`, rien pousse. +- DevBackend: web-server route maintenant toute la famille layout dans `/api/invoke`; tests ajoutes `authorized_layout_invokes_match_tauri_contracts` et `web_invoke_routes_layout_commands`; `cargo test -p web-server layout` OK. Suite complete `cargo test -p web-server` non verte dans cet environnement a cause d'echecs WS/PTY non lies au ticket. +- DevFrontend: `useLayout` ne propage plus l'erreur brute; message utilisateur controle + fallback `singleLeafTree()`; test UI cible ajoute et vert; `npm run typecheck` OK. +- QA: VERT pour #212. Commandes vertes: `cargo test -p web-server authorized_layout_invokes_match_tauri_contracts -- --nocapture`, `cargo test -p web-server web_invoke_routes_layout_commands -- --nocapture`, `npm --prefix frontend test -- LayoutGrid.test.tsx`. Aucun echec bloquant sur le perimetre du ticket. +- Prochaine etape: commit Git puis decision de merge local vers `develop`. \ No newline at end of file diff --git a/.ideai/tickets/212/issue.md b/.ideai/tickets/212/issue.md index 45fdbcca..1ae5a867 100644 --- a/.ideai/tickets/212/issue.md +++ b/.ideai/tickets/212/issue.md @@ -2,7 +2,7 @@ id: "1dbe01ec-94f4-404d-9ffb-2ceeceb0557b" number: 212 title: "Web PC: erreur `unknown command: load_layout` a l'ouverture d'un projet" -status: "inProgress" +status: "qa" priority: "high" sprint: null links: [] @@ -11,7 +11,7 @@ attachments: [] createdBy: {"kind":"agent","agent_id":"a6c6ea12-bfc6-4bdc-8031-324102dfa34d"} updatedBy: {"kind":"agent","agent_id":"a6c6ea12-bfc6-4bdc-8031-324102dfa34d"} createdAt: 1786786004974 -updatedAt: 1786786013613 -version: 2 +updatedAt: 1786786758650 +version: 5 --- A l'ouverture d'un projet dans l'interface web desktop/PC, l'application affiche `unknown command: load_layout`. Triage et correctif a produire avec cycle UX/Architect/Git/Dev/QA. \ No newline at end of file diff --git a/.ideai/tickets/index.json b/.ideai/tickets/index.json index 664a7c47..b24667aa 100644 --- a/.ideai/tickets/index.json +++ b/.ideai/tickets/index.json @@ -2862,7 +2862,7 @@ "issueRef": "#212", "path": "212", "title": "Web PC: erreur `unknown command: load_layout` a l'ouverture d'un projet", - "status": "inProgress", + "status": "qa", "priority": "high", "sprint": null, "assignedAgentIds": [], @@ -2870,7 +2870,7 @@ "kind": "agent", "agent_id": "a6c6ea12-bfc6-4bdc-8031-324102dfa34d" }, - "updatedAt": 1786786013613 + "updatedAt": 1786786758650 } ] } \ No newline at end of file