fix(frontend): collapse edit cards on resolve; fix tool card bleed in Project Chat

↗ view on GitHub · Jason Lee · 2026-05-13 · 9afbe9d4

- EditCard returns null when resolved (accepted or rejected)
- EditCardsSection auto-collapses via useEffect when all pending edits resolve
- ProjectChatPage defers getProject refetch to after stream completes to
  prevent mid-stream setProject re-renders that pop tool cards back open
Repository dropthejase/louis
Author Jason Lee <12leeejk2@gmail.com>
Authored
Parents f99b111a
Stats 3 files changed , +17 , -3
Part of Streaming chat UI: tool cards, reasoning blocks, MessageList refactor

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-9afbe9d4.md from inside the repo you want the change in.

⬇ Download capture-commit-9afbe9d4.md