Improve task error screens to refresh instead of navigating away
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- frontend
调研方向
从 site/src/pages/TaskPage/TaskPage.tsx 开始,阅读第 50-78 行以了解任务加载错误,以及第 130-145 行以了解构建失败。追踪现有错误屏幕的操作,并遵循当前的 UX 模式和样式。完成标准是两个错误屏幕都提供上下文中的刷新或重试,保留现有的导航选项作为次要操作,并在重试时让用户保持在任务上下文中。
由索引模型根据 Issue 内容生成。
描述
Problem
When a task encounters an error (either during loading or build failure), the current error screens provide navigation buttons that take users away from the task context instead of allowing them to retry within the same context.
Current behavior:
- Task loading errors show "Back to tasks" button that navigates to
/tasks - Task build failures show "View logs" button that navigates to build logs
- Users lose their current task context and have to navigate back manually
Expected Behavior
Task error screens should provide a way to refresh/retry the current task without navigating away from the task context.
Proposed solution:
- Replace or supplement "Back to tasks" with a "Refresh" or "Try Again" button that refreshes the current page
- Keep users in the task context while providing retry functionality
- Maintain existing navigation options as secondary actions
Code Location
The issue is in /site/src/pages/TaskPage/TaskPage.tsx:
- Lines 50-78: Task loading error handling
- Lines 130-145: Task build failure error handling
Acceptance Criteria
- Task error screens include a refresh/retry button that reloads the current task
- Users remain in the task context when retrying
- Existing navigation options are preserved as secondary actions
- Error handling maintains current UX patterns and styling
- 主要语言
- Go
- 星标
- 16.6k
- 派生
- 1.6k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 543
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/coder 的其他 Issue
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist 未关闭bug
难度 2/5 1-3 小时 新手友好度 90/100
-
feat(site): suppress the web terminal context menu when the application has enabled mouse tracking 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
-
bug frontend
难度 2/5 1-3 小时 新手友好度 84/100
-
bug site
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 85/100
相似的 Issue
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 76/100
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 70/100
microsoft/agent-framework-go#1179 ·
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
-
[Bug]: OLLAMA_KEEP_ALIVE="5m" / "24h" crashes Ollama embedding and vision models with ValueError 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
infiniflow/ragflow#20223 · 1 个 reaction ·
-
bug needs triage pkg/translator/faro
难度 2/5 1-3 小时 新手友好度 88/100
open-telemetry/opentelemetry-collector-contrib#51484 · 1 条评论 ·