Conversation
For #258, so a country page can link into the lists and the map: - /studios and /associations take ?city= (case-insensitive), shown as a removable "In Rennes" filter. The city stays across the other filters (a hidden field) and is dropped when the country changes. - /places?country=XX opens on the area most of the country's organisations are in: their 5th-95th percentile box, so overseas places don't zoom the map out to the world, fitted to the map's size (mapFocus). The list beside the map follows, as it lists what's in view. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 5, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #258: what a country page links into.
/studios?city=…and/associations?city=…(case-insensitive), alongside the existing?country=. A removable "In Rennes" chip shows the filter. The city is kept as a hidden field, so it survives the other filters ("Has published games" and so on), and changing the country drops it./places?country=XXopens on the area most of the country's organisations are in. It takes the 5th–95th percentile of their coordinates, so France's overseas places don't zoom the map out to the whole world, and fits that to the map's real size (mapFocus, unit-tested). The list beside the map follows on its own, because it lists what's in view.Found along the way, not fixed here:
/studiosand/associationsshow only their first 50 results, with no pagination, so/studios?country=FRshows 50 of France's 635 studios. The city filter makes this less painful, but it needs its own fix.Tests
/studios?country=NO&city=fjordheim…shows only that city's studio;/places?country=ISlists an Icelandic studio and not an Australian one.🤖 Generated with Claude Code