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>
1 parent 86402e0 commit 42c6012608a11841f9be5bcf1dd9919233e3814e
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 10 Apr
Showing 2 changed files
View
client/app.js 100644 → 0
View
client/js/app.js