aaif-goose / aaif-goose/vscode-goose

perf(webview): uncontrolled composer input + per-session draft persistence

Aperta
#70 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
43
Fork
19
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Extracted from #39. Today every keystroke dispatches through the global useChat reducer and persists a single global draft via the state bridge, re-rendering the whole chat tree.

Make InputArea own its value locally (onSend(content, chips) replaces value/onChange), and persist drafts per session via the existing bridge getState/setState (debounced, swapped on session switch, with legacy single-draft fallback). Ride-alongs from #39: useFilePicker React 19 ref-typing fix and the textarea autosize style-thrash fix.

**Size**: M | **Depends on**: nothing (touches useChat's sendMessage signature, so sequence around #61) | **Tier**: 2

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.