Skip to content

fix(spotlight-strip): surface only stalled or blocked state, not unmet deps - #136

Merged
mhersson merged 1 commit into
mainfrom
ctxmax-606/cards-blocked-by-dep-shouldn-t-show-up-in-needs-at
May 23, 2026
Merged

fix(spotlight-strip): surface only stalled or blocked state, not unmet deps#136
mhersson merged 1 commit into
mainfrom
ctxmax-606/cards-blocked-by-dep-shouldn-t-show-up-in-needs-at

Conversation

@mhersson

Copy link
Copy Markdown
Owner

Summary

  • Filter the "Needs Attention" strip on state === 'stalled' || state === 'blocked'. Cards blocked only by unmet dependencies (in todo/in_progress/review) no longer appear there — they remain visible in their normal column.
  • Update the "blocked dep" labels to "blocked" in the meta line and the per-card since-label so they describe what is now surfaced (blocked-state, not dep-blocked).
  • Expand the per-card aria-label to include the card state, so screen-reader users get the same urgency cue the visible since-label conveys.

Recreates the work from CTXMAX-606 (lost when the runner container's push hit a transient GitHub auth failure today). Bundles the a11y follow-up CTXMAX-622 since it touches the same component.

Test plan

  • npm run test -- SpotlightStrip --run — 7/7 passing
  • npm run lint — clean
  • npx tsc -b — clean
  • Manual: open the board; confirm dep-blocked-only cards no longer surface; tab a surfaced card and verify the screen reader announces the state.

…t deps

- Filter "Needs Attention" strip on state === 'stalled' || state === 'blocked'.
  Dependency-blocked cards (unmet deps in todo/in_progress/review) no longer
  appear in the strip — they remain visible in their normal column.
- Rename "blocked dep" labels to "blocked" in the meta line and per-card
  since-label so they describe the cards now surfaced (blocked-state, not
  dep-blocked).
- Expand the aria-label to include card state ("Open <id> – stalled" /
  "Open <id> – blocked") so screen-reader users get the same urgency cue
  the visible since-label conveys.
- Tests: invert the prior dep-blocked surface assertion, add blocked-state
  and stalled-with-unmet-deps coverage, add an aria-label assertion.
@mhersson
mhersson merged commit ecb49a1 into main May 23, 2026
7 checks passed
@mhersson
mhersson deleted the ctxmax-606/cards-blocked-by-dep-shouldn-t-show-up-in-needs-at branch May 23, 2026 13:19
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