Skip to content

feat: tell namesake courts apart by street in the game form - #154

Merged
denis1011101 merged 2 commits into
mainfrom
feature/court-street-in-picker
Aug 22, 2026
Merged

feat: tell namesake courts apart by street in the game form#154
denis1011101 merged 2 commits into
mainfrom
feature/court-street-in-picker

Conversation

@denis1011101

Copy link
Copy Markdown
Owner

Yekaterinburg has two "Территория сквоша" — one in Greenwich, one on Kosmonavtov — and the court select showed the same line twice, so a player picking one of them was guessing. The address only lived in the geocoding cache, expired daily and came from Nominatim as a display_name that starts with the venue itself, so it could not be used for a label.

The resolver now returns the street line it already assembles (route plus house number from Google, road plus house_number from Nominatim) and the address job stores it on the court. The picker appends it in parentheses only to names that repeat within their city group — the rest of the list stays as it was.

Existing courts keep an empty street until geocoding:backfill_court_streets re-runs the address job for them.

denis1011101 and others added 2 commits August 22, 2026 21:43
Yekaterinburg has two "Территория сквоша" — one in Greenwich, one on
Kosmonavtov — and the court select showed the same line twice, so a player
picking one of them was guessing. The address only lived in the geocoding
cache, expired daily and came from Nominatim as a display_name that starts
with the venue itself, so it could not be used for a label.

The resolver now returns the street line it already assembles (route plus
house number from Google, road plus house_number from Nominatim) and the
address job stores it on the court. The picker appends it in parentheses
only to names that repeat within their city group — the rest of the list
stays as it was.

Existing courts keep an empty street until geocoding:backfill_court_streets
re-runs the address job for them.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@denis1011101
denis1011101 merged commit bdb4770 into main Aug 22, 2026
4 checks passed
@denis1011101
denis1011101 deleted the feature/court-street-in-picker branch September 4, 2026 21:37
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