Sidebar and tiling strip disagree on task order; add a task quick-switcher

未关闭
#203 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
typescript
领域
desktop

调研方向

Start with src/store/navigation.ts, src/store/sidebar-order.ts, Sidebar.tsx, focus.ts, and App.tsx to understand task ordering, sidebar focus, and the nine-task shortcut limit. Decide on a canonical order, then address the highlighted-task behavior and add a task quick-switcher. Done means the navigation surfaces agree, → targets the highlighted task when one is highlighted, and users can find tasks beyond the first nine.

由索引模型根据 Issue 内容生成。

描述

enhancement ux

Problem

The two primary navigation surfaces disagree about task order, and there's no quick way to reach a specific task once you have more than nine.

  • The tiling strip, Cmd+1..9 (src/store/navigation.ts:64-74), and the titlebar dot strip (FocusModeTaskIndicators.tsx:5-9) all use flat store.taskOrder.
  • The sidebar regroups those same tasks by project and nests coordinator children (src/store/sidebar-order.ts computeGroupedTasks, rendered via nested <For> in Sidebar.tsx:717-766). With 2+ projects whose tasks interleave in taskOrder, sidebar top-to-bottom order no longer matches strip left-to-right order — the user holds two mental maps of "where task 3 is".
  • jumpToTask is capped at 9 (App.tsx:641-643); past that, sidebar scroll + strip scroll are the only ways to reach a task.
  • Inconsistent confirm keys: sidebar Enter activates the highlighted task (Sidebar.tsx:685-706) but → always enters the leftmost task regardless of highlight (focus.ts:359-376).

Proposed fix

  • Pick one canonical order: either group the strip by project too (project colors already exist), or make the sidebar a flat taskOrder list with a project chip per row. If grouping stays, Cmd+N should follow the sidebar's visible order (the surface that displays positions).
  • → from the sidebar should enter the highlighted task's panel (same target as Enter); reserve "leftmost" for when nothing is highlighted.
  • Add a Cmd+K-style task quick-switcher (fuzzy match on task name/project) — this also resolves the >9 tasks gap and softens the ordering tension.

From a full design/UX audit (2026-07-07); adversarially verified. Line numbers as of b342bbd (v1.12.0).

主要语言
TypeScript
星标
1k
派生
144
平均合并
4 天 19 小时
30 天内合并 PR
28

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

johannesjo/parallel-code 的其他 Issue

查看 johannesjo/parallel-code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。