Rebuild left nav as task-centric sidebar (option A, R1) #11

Merged
weichen merged 1 commits from feature/task-sidebar-r1 into main 2026-09-30 10:45:33 +00:00
Owner

Why: creation entries were split and the project tree forced per-project navigation; approved option A makes one primary New Task entry, organization a view mode, identity always present.

Evidence: TaskSidebar (New Task split button + Cmd-N, project/timeline views with persisted collapse, pinned section, archive toggle, hover actions, account footer via /api/me, workspace strip kept for D25); store: cross-project tasks, openTask context switch, optimistic pin/archive; tasklist.ts pure helpers + 6 vitest cases; npm run build green; headless walk on the real binary: cross-project open, pinned-first, archive hide/show/restore, new-task flow, zero console errors. make test full suite green on the synced head (prompt-library merged mid-flight; contracts contain both features).

Impact: ProjectNav removed; D25/D26/D31 intact. Depends: Core #4, Backend #15, UI PR.

Refs: proposal 2026-09-30-ui-redesign-and-auth.md (option A, R1)

Why: creation entries were split and the project tree forced per-project navigation; approved option A makes one primary New Task entry, organization a view mode, identity always present. Evidence: TaskSidebar (New Task split button + Cmd-N, project/timeline views with persisted collapse, pinned section, archive toggle, hover actions, account footer via /api/me, workspace strip kept for D25); store: cross-project tasks, openTask context switch, optimistic pin/archive; tasklist.ts pure helpers + 6 vitest cases; npm run build green; headless walk on the real binary: cross-project open, pinned-first, archive hide/show/restore, new-task flow, zero console errors. make test full suite green on the synced head (prompt-library merged mid-flight; contracts contain both features). Impact: ProjectNav removed; D25/D26/D31 intact. Depends: Core #4, Backend #15, UI PR. Refs: proposal 2026-09-30-ui-redesign-and-auth.md (option A, R1)
weichen added 1 commit 2026-09-30 10:45:32 +00:00
Why: creation entries were split (project + at sidebar top-left, new
session at bottom-left) and the project tree forced per-project
navigation; the approved option A design makes one primary New Task
entry, organization a view mode, and identity always present.

Evidence:
- New TaskSidebar: single New Task split button (current-project context,
  Cmd-N, secondary menu for new project / new task in project), project
  <-> timeline organization with persisted collapse, pinned section,
  archive view toggle, hover row actions, account footer fed by
  /api/me (embedded mode shows local tenant; logout clears the key),
  workspace icon strip retained (D25 shared list with Cmd-1..9).
- store: tasks = cross-project list via GET /api/conversations; openTask
  switches project context; pin/archive optimistic + refresh; last
  project context persisted; stale conversations field removed.
- tasklist.ts pure helpers + 6 vitest cases; npm run build passes;
  headless walk on the real binary: cross-project open, pinned-first,
  archive hide/show/restore, new-task flow, zero console errors.

Impact: ProjectNav removed; contracts.ts regenerated from core
(pinned/archived); no composer/right-pane changes (D25/D26/D31 intact).

Refs: Agent-System-Documents docs/proposals/2026-09-30-ui-redesign-and-auth.md
weichen merged commit 6cfc1059c5 into main 2026-09-30 10:45:33 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Frontend#11