Focus mode wayfinding: status-less pager dots, no Escape exit, hidden layout switch
维护者通常 4 天内回复
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 42/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- react, typescript
调研方向
Start from the cited focus-mode paths: TilingLayout.tsx (viewport-visibility around 85–91), FocusModeTaskIndicators.tsx plus styles.css (~1821–1889) for pager dots, App.tsx (~684–698) for Escape, TaskPanel.tsx (SPLIT_ENTER_WIDTH) and focus.ts (~110–145) for the wide split and keyboard grid. Keep offscreen-attention tracking in focus mode, tint dots like StatusDot, show the active name, add Escape/back-to-overview, and split layout into its own preference. Done when those checklist items work without colliding dots at many tasks.
由索引模型根据 Issue 内容生成。
描述
Problem
Focus mode has weak wayfinding: hidden tasks can need attention with no visible signal, the pager dots are anonymous, and the toggle silently changes two things at once.
- Entering focus mode clears viewport-visibility tracking (
TilingLayout.tsx:85-91), so the sidebar's "← input (left)" offscreen-attention labels disappear — yet in focus mode every non-active task is effectively offscreen. - The remaining always-visible pager,
FocusModeTaskIndicators, renders identical status-less circles: no attention color, no needs-input signal, task name only on hover (FocusModeTaskIndicators.tsx,styles.css:1837-1889). With the sidebar collapsed (Cmd+B), a hidden task hittingneeds_inputhas no visible surface at all (desktop notifications only fire when the window is unfocused). - The active task's name never appears in the titlebar — you identify the current task only by the small editable title inside the panel.
- Escape does not exit focus mode (
App.tsx:684-698handles dialogs only); exit requires re-hitting the shortcut or the mode icon in a task title bar. - The dot strip has no overflow handling (fixed
padding: 0 140px 0 44px,styles.css:1821-1835) — at ~15+ tasks dots will collide with window controls. - The same toggle also re-architects the panel's internal layout into a two-column split at ≥1080 px (
SPLIT_ENTER_WIDTH,TaskPanel.tsx:104), which rewires the keyboard-nav grid (focus.ts:110-130vs:132-145) — panels you learned to reach with ↓↓ suddenly live to the →.
Proposed fix
- Tint the pager dots with the same status/attention colors as StatusDot; show the active task's name next to the strip.
- Keep offscreen-attention computation alive in focus mode.
- Escape exits focus mode when no dialog is open; a persistent "back to overview" affordance.
- Make "side-by-side when wide" an explicit preference independent of focus mode.
- Collapse the dot strip to "current/total" text past ~12 tasks.
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 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
johannesjo/parallel-code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
johannesjo/parallel-code#385 ·
维护者通常 4 天内回复
-
Option to show usage as used instead of left, and potential further customization ideas可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 83/100
johannesjo/parallel-code#353 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
johannesjo/parallel-code#163 · 2 条评论 ·
维护者通常 4 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 12/100
johannesjo/parallel-code#375 · 2 条评论 ·
维护者通常 4 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
johannesjo/parallel-code#374 ·
维护者通常 4 天内回复
查看 johannesjo/parallel-code 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
ci
难度 2/5 1-3 小时 新手友好度 78/100
ClickHouse/clickhouse-js#1248 ·
维护者通常 1 天内回复
-
E2E: Darlehen-Test wartet auf die gebuchte Auszahlung, bevor er zur Liquiditätsvorschau wechselt未关闭technik
难度 2/5 1-3 小时 新手友好度 78/100
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
SR5-FoundryVTT/SR5-FoundryVTT#2162 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 84/100
AhmedNAgy25/analysor#25 ·
维护者通常 1 天内回复