Files
skills/docs/requirements/097-match-show-filter.md
T
Kevin Veen-BirkenbachandClaude Opus 5.5 38788b54a5 docs(requirements): 095 to 099 and the 094 closer binding
095 compact agent message box, 096 silent reject of expired Match cards,
097 Match show filter in the right-click menu, 098 docked speech bubbles
with avatar and skip, 099 Match card headline capped at 120 characters.
094 gains the live test result, the 5 s close criterion and decision 6:
closes are bound to a per-session closer token. README describes the
094 hook protocol and the uncapped prune list.

🎯 Fix: 97 %
💥 Break: 1 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 96
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 01:49:02 +00:00

2.5 KiB

097 - Match Show Filter in the Right-Click Menu

User Story

As the operator, I want to choose in Match's right-click menu which card kinds and states the deck shows, so that I work through one kind at a time.

Decisions (operator-confirmed 2026-11-27; do not re-litigate)

  1. Kinds and states (operator): a right click in Match (outside code rows, where 078 line comments keep their own menu) opens the context menu with a "Show" section: checkboxes Commit, Command, Ask, Decision, Rule, then Expired, Stale and Greyed (running, queued, blocked), each with its current count, and "Show all". Rejected: kinds only; saved profiles; chips in the header.
  2. Per browser: the choice is remembered in this browser and survives a reload.
  3. Hidden, not gone: hidden cards stay in the hub and on the release card if already decided; the deck header reads "N hidden" next to the card count, and a click on it reopens the menu.
  4. Never an empty trap: when every card is hidden, the empty state says "All N cards hidden by the Show filter" with a "Show all" button.

Approach

flowchart TD
    subgraph P["🧭 0 · Preparation"]
        P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
        P2 -- "✏️ corrections" --> P1
    end
    P2 -- "🤖 yes" --> A1
    subgraph A["👁️ A · Show filter"]
        A1["☑️ Show section in the context menu"] --> A2["🔢 Counts, N hidden, Show all"]
        A2 --> A3{"🧪 Unit and E2E green?"}
        A3 -- "🔴 no: fix" --> A1
        A3 -- "🟢 yes" --> AF{"💬 Operator feedback on screenshots?"}
        AF -- "✏️ changes" --> A1
    end
    AF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]

Acceptance Criteria

Menu

  • A right click on the Match deck outside code rows shows the Show section with eight checkboxes and their counts.
  • A right click on a code row still opens its line comment (078).

Filter

  • Unticking Ask removes every Ask card from the deck and the header reads "N hidden"; a reload keeps it.
  • With all cards hidden the empty state names the count and "Show all" restores every card.
  • A decided card that gets hidden stays on the release card.

Tests

  • Unit:
    • The filter over kinds and states, the counts and "N hidden" (node).
  • Integration:
    • n/a: no server change.
  • E2E:
    • tests/e2e/test_match_show_filter_e2e.py: menu, untick, header count, reload, all hidden, Show all, code row comment still works.