desktop: New timeline collapses completed thinking even when detail is "expanded"
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- desktop
调研方向
issue 指向构建后的 renderer 资源 out/renderer/assets/route-*.js 中新的 timeline 代码,包括 e_() 和 Qg()。追踪这些调用位置到源文件,然后在 timeline 详细程度偏好设置为 Everything 时,比较流式和已完成的渲染路径。完成的标准是,已完成和非流式的 reasoning 行保持展开,与旧版 timeline 的行为一致。
由索引模型根据 Issue 内容生成。
描述
Description
With the New timeline experiment enabled and Settings -> Timeline detail set to Everything, a thinking block is expanded while it streams and collapses as soon as the turn completes.
The stored preference is correct: general.timelineDetail.thinking = {"placement":"separate","details":"expanded"}. Turning the New timeline experiment off keeps the same blocks expanded, so the problem is in the new timeline path.
Expected: with details: "expanded", completed thinking blocks stay expanded.
Actual: they collapse when the turn finishes, and any non-streaming reasoning row is collapsed from the start.
Code pointer in out/renderer/assets/route-*.js:
function e_(e, t) { return t && e.thinking.details === "expanded" }
With t === false the expression is false regardless of the setting:
- streaming render:
e_(e.timelineDetail(), !0)expands - completed render:
e_(e.timelineDetail(), !1)always collapses Qg()for non-streaming reasoning rows:e_(e, !1)always collapses
Plugins
none
OpenCode version
2.3.1 (desktop)
Steps to reproduce
- Settings -> Experimental -> enable New timeline
- Settings -> Timeline -> Everything
- Send a prompt that produces reasoning
- The thinking block expands while streaming, then collapses when the turn ends
- Turn New timeline off and repeat: the same blocks stay expanded
Screenshot
No response
Operating System
Windows 11 Pro for Workstations 10.0.26300 (win32 x64)
Terminal
n/a (desktop app)
- 主要语言
- TypeScript
- 星标
- 227k
- 派生
- 30.7k
- 平均合并
- 4 小时 35 分钟
- 30 天内合并 PR
- 498
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
anomalyco/opencode 的其他 Issue
-
area/cli platform/windows type/bug version/v2
难度 2/5 1-3 小时 新手友好度 70/100
anomalyco/opencode#64631 · 1 条评论 ·
维护者通常 1 天内回复
-
area/desktop platform/windows status/repro-plausible type/bug version/v2
难度 2/5 1-3 小时 新手友好度 64/100
anomalyco/opencode#64522 · 1 条评论 ·
维护者通常 1 天内回复
-
opencode-native panics on session ID after a multibyte character可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area/tui platform/macos status/repro-plausible type/bug version/v2
难度 2/5 1-3 小时 新手友好度 79/100
anomalyco/opencode#64389 · 1 条评论 ·
维护者通常 1 天内回复
-
cli: plugin list shows - for ID of TUI-only plugins configured in cli.json可能已有人在做 @yash-alla 于 1 天前认领。 未关闭area/cli platform/windows type/feature version/v2
难度 2/5 1-3 小时 新手友好度 72/100
anomalyco/opencode#64175 · 1 条评论 ·
维护者通常 1 天内回复
-
area/desktop platform/windows type/feature version/v2
难度 2/5 1-3 小时 新手友好度 72/100
anomalyco/opencode#64077 · 3 条评论 ·
维护者通常 1 天内回复
查看 anomalyco/opencode 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
ai-driven-qa bug claude Cosmetic
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
Domain / chatbot New
难度 2/5 1-3 小时 新手友好度 65/100
Inist-CNRS/lodex#3861 ·
维护者通常 1 天内回复
-
area:agent-sdk area:docs documentation enhancement
难度 2/5 1-3 小时 新手友好度 66/100
anthropics/claude-code#110914 ·
-
approved check:passed streams:remove
难度 1/5 1 小时以内 新手友好度 62/100
维护者通常 1 天内回复