Skip to content

feat(sidebar): split DRAFTs into their own "N drafts will be groomed" row - #116

Open
ArgonQQ wants to merge 1 commit into
mainfrom
task/t-1cdb-draft-sidebar-count
Open

feat(sidebar): split DRAFTs into their own "N drafts will be groomed" row#116
ArgonQQ wants to merge 1 commit into
mainfrom
task/t-1cdb-draft-sidebar-count

Conversation

@ArgonQQ

@ArgonQQ ArgonQQ commented Aug 23, 2026

Copy link
Copy Markdown
Member

Summary

  • computeBadge now splits newCount (groomed New tasks) from a new draftCount (ungroomed DRAFTs) instead of lumping DRAFTs into "N proposals to approve" — the aggregate badge.count is unchanged.
  • Sidebar renders a new informational "N drafts will be groomed" row (no action implied), clickable to filter the New tab via a new is:draft reserved search token.
  • Activity-bar tooltip gains the drafts segment so it doesn't keep reporting the old wrong "to approve" number.
  • test/view.test.js updated for the new split semantics plus a case asserting drafts and groomed New tasks don't double-count.

Closes t-1cdb.

Test plan

  • make check (build + test) green — 118/118 tests pass
  • Manual F5 verification (headless session, not run — see VERIFICATION.md)

… row (t-1cdb)

DRAFTs have no groomed story yet, so lumping them into "N proposals to
approve" invited a human to approve work that was never groomed. computeBadge
now splits newCount (groomed New tasks) from draftCount (ungroomed DRAFTs);
the aggregate badge count is unchanged. Adds the `is:draft` reserved search
token so the new sidebar row can filter the New tab to just drafts.
@github-actions

Copy link
Copy Markdown
Contributor

📦 Build succeeded — installable .vsix for task/t-1cdb-draft-sidebar-count (commit de2310a):

loopboard-todo-1cdb-draft-sidebar-count.vsix

Download from the run's Artifacts, unzip, then install: code --install-extension loopboard-todo-1cdb-draft-sidebar-count.vsix (or VS Code → Extensions → ⋯ → Install from VSIX…).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant