chore(board): drop stalled filter + board-local density selector #1089
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!1089
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/board-drop-stalled-and-density-controls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Stalled (N)filter chip from the board toolbar (incl.?stalled=trueURL param andonly_stalledfilter wiring).comfortable → default,compact → compact).countStalledCards/isCardStalledhelpers and theboard.densitylocalStorage key.Test plan
/boardtoolbar shows only the milestone + label comboboxes — no Stalled chip, no density toggle./board?stalled=truesilently strips the param (no filter applied).bun run typecheck+bun x vitest rungreen forapps/web.✅ APPROVED — clean removal, CI green
Reviewed the full diff across all 6 changed files. Everything is internally consistent and the removal is complete.
What I verified
Stalled filter —
only_stalledis gone end-to-end:BoardFilterStateinterfaceapplyBoardFiltersno longer branches on itisCardStalled/countStalledCardshelpers removed fromfilter-logic.tsuseMemo(filteredForCount + full filter) collapsed to a single-pass — correct?stalled=trueURL param removed fromBoardSearchandvalidateSearch, so old deep-links silently strip it rather than crashing_svoid discard andonlyStalledcomputation in the URL-update handler are both gone — no orphanedstalledkey can sneak back into the URLisCardStalled/countStalledCardsunit tests removedBoard-local density — removed cleanly:
DENSITY_KEY/readDensity/writeDensity/handleDensityChangeall goneuseDensity()from@/lib/density— hook confirmed present in mainboardDensityFromGlobalis a pure two-liner; the intentional drop ofdetailedis consistent with the PR description ("comfortable → default, compact → compact")density/onDensityChangeprops left on<BoardFilters />Layout — the inner row's responsive classes (
sm:flex-row sm:flex-wrap sm:items-end) were promoted to the<section>directly, which makes sense now that the section holds only the two comboboxes with no second row beneath them.useDensityimport — not added by this PR because it already lives inapps/web/src/lib/density.ts. The shape ({ density: DensityMode; setDensity; toggleDensity }) is correct for whatboard.tsxconsumes.Nit (non-blocking)
STALL_THRESHOLD_MSexported fromboard-card.tsxis now dead code — its only consumer wasfilter-logic.ts, which no longer imports it. Worth a follow-up cleanup but absolutely not a blocker here.CI
All checks green on
89025fa.