feat(dashboard): Exclude subtasks from BoardBand subheader and Done Today card#105
Merged
mhersson merged 1 commit intoMay 18, 2026
Merged
Conversation
…oday card - BoardBand subheader counts delivery units only (parents); subtasks excluded from "N open · N in review · N shipped today · N shipped this week" - Project Dashboard "Done Today" tile shows parent count with muted "+N sub" suffix, mirroring MetricsRibbon - Export SubCount helper from MetricsRibbon for cross-surface reuse; SummaryCards imports it rather than duplicating the JSX - Drop truncate from the flex parent in StatTile and put it on the value span with min-w-0 so long values still ellipsize - Document the extended pattern in web/CLAUDE.md, including known asymmetries (Open Tasks/In Progress still use all-cards, stalled handling differs between SummaryCards and BoardBand) - Tests cover parent-only headline math, "+N sub" rendering, the ?? vs || zero-parents edge case, and the cards-fallback subtask filter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
remaining headline surfaces
N open · N in review · N shipped today · N shipped this week · ±N%) is now strict parent-only — subtasks excluded entirely, no+N subsuffix+N subsuffix when subtasks completed today, matching MetricsRibbonSubCounthelper exported fromMetricsRibbonand reused inSummaryCardsso the+N subglyph +.metric-tile__substyling stays in one placeweb/CLAUDE.mddocuments the extended pattern and honestly flags the asymmetries that remain (Open Tasks / In Progress still use all-cards counts; SummaryCards' Open Tasks excludesstalledwhile BoardBand'sopenincludes it; Active Agents is unfiltered everywhere)Test plan
npm testpasses (642 tests, +5 new)npm run lintcleannpx tsc --noEmitclean+N subsuffix+N subwhen subtasks completed today