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

Aperta
#203 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).

Lingua principale
TypeScript
Stelle
1k
Fork
144
Merge medio
4g 19h
PR unite (30g)
28

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di johannesjo/parallel-code

Tutte le issue di johannesjo/parallel-code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.