Repository navigation
feat(pm-stack): Project pool Status/Kind facets + honest draft caveat (#1208) - #9937
Conversation
…ft caveat (#1208) Saved views gain status/kind dimensions (views.ts, board-view.ts, server poolItemLike) so every pool field is filterable; the pool section on /program (and standalone /projects render) gains Status and Kind facet chips with reconciling counts that compose with the Area filter. The audit snapshot is plumbed into the pool render: when the board total exceeds the linked pool, a banner names the draft/unlinked gap instead of dropping it silently. /projects redirect preserves status/kind. Tests: views matching for the new dimensions; render facet filtering/counts and the audit-gap banner (fixture board: 3 items, 1 unlinked draft).
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 47 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Closes the actionable remainder of #1208 (triage task 15166, lane code-c).
What was already landed (verified at d997fb4)
This PR — the remainder
views.ts:status/kindjoinViewFilters,VIEW_FILTER_KEYS,ViewItemLike, anditemMatchesView;board-view.tsand the server'spoolItemLikesupply them from the pool entry. Saved views andvf.*share URLs can pin them.3a02ea3to9530656#4 audit snapshot is plumbed into the pool render (server → renderProgram → projectsBodyHtml). When the board total exceeds the linked pool, a banner names the gap: N board items are draft or unlinked and not rendered as cards — counted in the audit in /api/projects.json, never silently dropped. PreviouslyparseProjectItemsskipped them with no surface anywhere on the page./projectsredirect now preservesstatus/kindalongsidearea.Tests (oracle-named)
bun test test/projects.test.ts test/views.test.ts— 46/46 pass, including 3 new tests: view matching for the status/kind dimensions; facet filtering + chip-count reconciliation on the fixture pool; the audit-gap banner on a fixture board of 3 items with 1 unlinked draft (pool renders 2).bunx tsc --noEmitfails identically on baseline in a bare worktree (bun type definitions absent); not a signal about this change.Acceptance mapping for #1208: (1) every pool field filterable — status/kind were the last unfilterable pair; header/facet counts reconcile with /api/projects.json (same pool + audit). (2) Epics badge-filterable by Kind/Status via chips and views. (3) Draft-containing fixture renders its draft caveat (banner test); >1000-item pools already covered by the uncapped pagination tests.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.