fix: hide Fix with AI button while streaming (#2771)
## Summary
- Hides the "Fix with AI" button in the `DyadOutput` component while a
response is being streamed
- Prevents users from triggering conflicting AI fix requests during an
ongoing stream
- Uses the existing `isStreamingByIdAtom` to track streaming state per
chat
## Test plan
- Open the app and trigger an error/warning in the output
- Start a streaming response
- Verify the "Fix with AI" button is hidden during streaming
- Verify the button reappears after streaming completes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2771"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<!-- devin-review-badge-end -->
Co-authored-by:
Will Chen <willchen90@gmail.com>
Co-authored-by:
Claude Opus 4.5 <noreply@anthropic.com>
正在显示
请
注册
或者
登录
后发表评论