Skip to content

Map note: "Showing the 1 matching request." for one request - #184

Merged
noneck merged 1 commit into
masterfrom
fix/map-note-singular
Nov 21, 2026
Merged

noneck merged 1 commit into
masterfrom
fix/map-note-singular

Conversation

@noneck

@noneck noneck commented Nov 21, 2026

Copy link
Copy Markdown
Member

What does this change do?

With one matching request, the line under the map on the district, address and full-page map pages said "Showing all 1 matching requests." It now says "Showing the 1 matching request." Two or more still read "Showing all N matching requests."

Same bug as #180. It was left out of #182 to keep that PR small.

  • v2/site/js/requestmap.js: mapNoteText handles one request.
  • v2/tests-js/filterform.test.mjs: one test covers both forms.
  • Pages re-stamped (v2/stamp_assets.py), since requestmap.js changed.

Tests

  • node --test v2/tests-js/: 105 pass.
  • cd v2/pipeline && uv run --with pytest python -m pytest -q tests: 252 pass.
  • Not checked in a browser.

🤖 Generated with Claude Code

The district and full-page map notes said "Showing all 1 matching
requests." Same bug as #180, left out of #182 to keep it small.
mapNoteText now handles one; a test covers both forms. Pages re-stamped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@noneck
noneck merged commit 8ec1fa2 into master Nov 21, 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.

1 participant