Should project task lists progressively reveal tasks? #4357
Replies: 1 comment
|
Good question to ask before building — thanks for checking rather than assuming. It was a migration-scope decision. What I wrote in #1732 was that the four-item preview path "is not retained in parallel," and the concern was the parallel path: TreeList had taken over project expansion, and keeping a second custom implementation of the same behaviour alongside it was what I didn't want. Progressive disclosure as an interaction was never the objection. So restoring it is consistent with the intent. The active task outside the visible window — the old implementation already answered this, and I'd keep its answer. It expanded automatically when the active session's index fell past the limit, so the thing you're currently working on is never hidden behind a control you have to find. That rule should survive whatever window size we pick. On 5 + 10, that seems reasonable and I don't have a strong view. The old limit was 4, Codex uses 5; either is fine. Keeping the badge on the total count is right. But before anyone starts: Astryx has no primitive for this, including in the latest release. I checked 0.5.2 (we're on 0.5.0). The gap isn't a missing button — it's that every related component has only two states, and this needs a cursor that can be advanced repeatedly:
Across all 587 type definitions in the package, So my suggestion is to raise this upstream with Astryx as a TreeList feature request rather than build it here. Three reasons:
If upstream can't take it, we can revisit building a thin layer here — but it should be one path, not a second implementation next to TreeList. On accessibility, the old implementation is the reference either way. It carried 简体中文在动手之前先问清楚,这个做法很好——感谢你来确认,而不是直接假设。 那是迁移范围上的取舍。 我在 #1732 里的原话是四项预览路径「不再并行保留」,我顾虑的是那条并行路径:TreeList 已经接管了项目展开,在它旁边再保留一份实现同样行为的自定义代码,才是我不想要的。渐进展开这个交互本身从来不是反对的对象。所以重新引入它符合原本的意图。 关于当前任务落在可见范围之外——旧实现已经给出了答案,我会沿用它。当活跃会话的下标超出上限时,它会自动展开,因此你正在使用的东西不会被藏在一个需要你去找的控件后面。无论最终选多大的窗口,这条规则都应该保留。 关于 5 + 10,我觉得合理,也没有很强的偏好。 旧的上限是 4,Codex 用 5,都可以。徽标保持显示总数是对的。 但在动手之前:Astryx 没有对应的原语,最新版本也没有。 我查了 0.5.2(我们目前用 0.5.0)。缺的不是一个按钮,而是每个相关组件都只有两种状态,而这个需求需要一个可以反复推进的游标:
整个包的 587 个类型定义里, 所以我的建议是把它作为 TreeList 的功能需求提到 Astryx 上游,而不是我们自己实现。 三个理由:
如果上游无法接收,我们可以再回来考虑在这里做薄薄的一层——但它必须是单一路径,而不是 TreeList 旁边的第二份实现。 无障碍方面,无论走哪条路,旧实现都是参照。 它带有 (Drafted with AI assistance; I verified the removed implementation in #1732 and the Astryx 0.5.2 component surface myself.) |
Uh oh!
There was an error while loading. Please reload this page.
English
Context
@Astro-Han, PR #1732 moved project task navigation to the official Astryx shell and explicitly said that the old four-item preview path was not retained in parallel.
We would like to understand whether that was a migration-scope decision, or a product decision that should still guide the current sidebar.
In day-to-day agent work, users often create one task for each unit of work and keep several tasks running in parallel. A project can therefore accumulate many tasks. The current By project view renders every task at once, so one project can make the sidebar very long and harder to scan.
Proposed direction
A progressive-disclosure pattern similar to Codex may improve this:
One related question is what should happen when the active task is outside the currently visible range. The old four-item implementation expanded automatically so that the active task was not hidden.
Questions
No implementation is being proposed until the intended product behavior is clear.
Drafted with OpenAI Codex at the contributor direction and reviewed by the contributor of record.
简体中文
背景
@Astro-Han,PR #1732 将项目任务导航迁移到了官方 Astryx shell,并明确说明不再并行保留旧的四项预览路径。
我们希望确认:这只是当时迁移范围上的取舍,还是一项今天仍应遵循的产品决策。
在日常使用 Agent 时,用户通常会为每个工作单元创建一个任务,并让多个任务并行推进。因此,一个项目下面很容易积累大量任务。当前的 按项目 视图会一次性渲染全部任务,单个项目就可能把侧栏拉得很长,扫描和切换体验都不理想。
建议方向
可以考虑采用类似 Codex 的渐进展开方式:
还有一个相关问题:如果当前选中的任务不在已显示范围内,应该如何处理。旧的四项预览实现会自动展开,避免隐藏当前任务。
希望确认的问题
在产品行为明确之前,我们暂不开始实现。
本文由 OpenAI Codex 按贡献者要求协助起草,并由贡献者本人审阅和负责。
All reactions