Repository navigation
Commit c8d5ea1
refactor(web): move queued-message editing out of ChatView
useQueuedRunEdit owns edit mode: the per-run edit draft the composer is
retargeted to, the kept attachments and their thumbnails, begin, cancel,
the recovery when the run leaves the queue, and saving. The save branch
of onSend is now one call.
Leaving the thread now ends edit mode during render instead of in an
effect, and the upload-and-save step is a module function so the
compiler can compile the hook, which joins the compile-required list.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 60b278e commit c8d5ea1
3 files changed
Lines changed: 391 additions & 269 deletions
0 commit comments