Skip to content

  • 项目
  • 群组
  • 代码片段
  • 帮助
  • 当前项目
    • 正在载入...
  • 登录 / 注册
B
bit-pm
  • 项目
    • 项目
    • 详情
    • 活动
    • 周期分析
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 图表
    • 比较
    • 统计图
  • 议题 0
    • 议题 0
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 0
    • 合并请求 0
  • CI / CD
    • CI / CD
    • 流水线
    • 作业
    • 日程
    • 统计图
  • Wiki
    • Wiki
  • 代码片段
    • 代码片段
  • 成员
    • 成员
  • 折叠边栏
  • 活动
  • 图像
  • 聊天
  • 创建新问题
  • 作业
  • 提交
  • 问题看板
  • 燕伟桐
  • bit-pm
  • Repository

切换分支/标签
  • bit-pm
  • src
  • components
  • ChatPanel.tsx
查找文件
BlameHistoryPermalink
  • Nour Zakhma's avatar
    fix: keep retry button visible when error popup appears (#3231) · 66d2c8ce
    由 Nour Zakhma 提交于 4月 22, 2026
    closes #1772 
    
    When an AI request fails during build, the error popup would appear and
    cover the retry button at the bottom of the chat, forcing users to
    manually scroll down to access it. This fix adds an auto-scroll effect
    that scrolls up ~150px when an error occurs, ensuring the retry button
    remains visible and accessible above the error popup. This improves the
    UX for error recovery scenarios.
    before:
    <img width="550" height="365" alt="Capture d&#39;écran 2026-04-18
    031044"
    src="https://github.com/user-attachments/assets/61b4108b-0732-469e-abae-bd6ba86ee7ab"
    />
    after 
    <img width="583" height="439" alt="Capture d&#39;écran 2026-04-18
    030508"
    src="https://github.com/user-attachments/assets/917ac306-a7eb-41ae-959c-aadf9d87b2c2"
    />
    
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/3231"
    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 -->
    66d2c8ce
ChatPanel.tsx 10.0 KB
编辑Web IDE

Replace ChatPanel.tsx

拖放文件到此处或者 点击上传


取消
将在派生(fork)项目中中创建一个新的分支, 并开启一个新的合并请求。