Focus mode wayfinding: status-less pager dots, no Escape exit, hidden layout switch

Đang mở
#212 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

@truongthinh1412 đang làm issue này rồi.

Từ ngày 28/11/2026.

  • #384 của @truongthinh1412 — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
react, typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement ux

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 hitting needs_input has 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-698 handles 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-130 vs :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).

Ngôn ngữ chính
TypeScript
Star
1k
Fork
144
Merge trung bình
4 ngày 19 giờ
Pull request đã merge (30 ngày)
28

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của johannesjo/parallel-code

Tất cả issue của johannesjo/parallel-code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.