Skip to content

v2: Agency picks several, with typing, on every page (#192) - #195

Merged
noneck merged 1 commit into
masterfrom
feature/agency-multi-192
Nov 24, 2026
Merged

noneck merged 1 commit into
masterfrom
feature/agency-multi-192

Conversation

@noneck

@noneck noneck commented Nov 24, 2026

Copy link
Copy Markdown
Member

Closes #192. Part of #191.

What changes (district, address and full-page map pages):

  • Agency becomes a type-to-search picker that takes several picks, the same UI SDK part (0.1.0-beta.14) and BetaNYC theme as Problem and Description (Pilot: agent-ready Problem and Description filters with UI SDK, in the NYSDS look #187 slice 2, Agency part).
  • The filter form is reordered into two groups: "Dates and status", then "Agency, problem and description". The markup stays identical on all three pages.
  • The lists cascade: Problem lists only the chosen agencies' problems, and Description follows both.
  • Links carry several agencies as agency=DOT|NYPD. A link with one agency is byte-for-byte unchanged, so old links and the MCP's boardstat_link still work.
  • The district page's agency table buttons set or clear a one-agency filter.

Tests (run before opening this PR):

  • node --test v2/tests-js/: 109 passed
  • cd v2/pipeline && uv run pytest: 264 passed
  • cd v2/tests-browser && uv run pytest: 21 passed. Pick two agencies and Apply, then check the link and that the count equals the two single-agency counts added together. The agent test sets Agency.

Approved by Noel on 2026-11-24 from a working preview.

🤖 Generated with Claude Code

Agency becomes a UI SDK multi-pick combobox (slice 2 of #187), the same
part and theme as Problem and Description. The shared filter form is
reordered: Dates and status, then Agency, Problem and Description, and
the lists cascade (Problem follows the chosen agencies; Description
follows both). Links carry several agencies as agency=DOT|NYPD; a link
with one agency is unchanged. Tests, README and What's changed updated.

Part of #191.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@noneck
noneck merged commit a11fdc2 into master Nov 24, 2026
1 check passed
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.

v2: Agency picks several, with typing, on every page (#187 slice 2)

1 participant