Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(ui): landing draft persistence and theme FOUC preference

2 months ago

7cb7b6b
Authored
mweinbach7/9/2026, 1:01:25 PM
Persist New Chat landing composer text under a dedicated draft key so
switching to an existing chat no longer drops it. Cache the last resolved
theme in localStorage for the pre-paint bootstrap script so forced light/dark
survives reload without a FOUC flash.

Parent7b15396

4 files changed
  • apps/desktop/index.html+7−3
  • apps/desktop/src/App.tsx+7−0
  • apps/desktop/src/app/store.actions/thread.ts+16−9
  • apps/desktop/test/composer-draft-thread-switch.test.ts+42−1