fix(communities): group local communities under their national chapters - #1157
Merged
Merged
Conversation
Several local communities had no parent_name even though a matching national chapter exists, so they appeared under Other on /communities. Adds parent_name for Lucerne, Zurich, Geneva (Switzerland), Osaka and Fukuoka (Japan), Brussels (Belgium), Brno and Olomouc (Czechia) and Munster (Germany). Leaves PauseAI en Espanol ungrouped.
✅ Deploy Preview for pauseai ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.

Summary
Several local communities on /communities were showing under "Other" even though a matching national chapter exists. Local communities are grouped by matching their
parent_nameagainst chapter names insrc/lib/data/national-chapters.json(src/routes/communities/communities.ts); anything unmatched falls into "Other".This adds the missing
parent_nameto 10 communities insrc/routes/communities/pauseai-communities.json:"PauseAI en Español" remains ungrouped under "Other" by intent.
No links or coordinates were changed, so the link validation in
communities.tsis unaffected. Communities without a corresponding national chapter (e.g. Copenhagen, Santiago, Vienna, Manila) still correctly show under "Other".Verification