|
Refactor client input state management
- Replace setStreamMode + syncSendButton + setInputEnabled (three functions competing for the same button) with a single updateInputUI() that derives button state from streaming, inputAllowed, uploadCount — eliminates the bug where upload completion during streaming could reset the stop button - Add inputAllowed module var as explicit "session is ready" flag - Remove stale client/app.js (was shadowing client/js/app.js, never loaded) - Clean up localStorage draft on session delete to prevent key accumulation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
|---|
|
|
| client/app.js 100644 → 0 |
|---|
| client/js/app.js |
|---|