Files
Vijay Janapa Reddi bddac127bc feat(staffml/explore): Phase 2.3 deferred — Primary/All tier filter
The "Primary chains only / All" filter dropdown that was punted from
Phase 2.3 (ed2ddb51d) so the user could review the bigger UI surface.

Implementation:
  - new selectedTier state, default "primary"
  - filteredQuestions filter: when "primary", drop questions whose
    chain memberships are *all* secondary (questions not in any chain
    pass through unchanged — they're tier-irrelevant).
  - Tier FilterSelect dropdown next to the existing Level filter.

Default behaviour intentionally hides secondary-only questions —
matches the rest of the Phase 2 surfaces (practice prefers primary,
ChainBadge shows "alt path" pill on secondary, explore picks primary
chains for the related panel). Users opt into seeing the lenient-pass
questions by switching to "All chains".

Tests: new playwright case test8_explore_tier_filter:
  - tier filter dropdown rendered
  - switching to "All chains" keeps page interactive (no crash on
    re-filter)
Smoke suite: 19/19 pass.
2026-05-01 17:29:34 -04:00
..