Map fixes and minor ws optimization (to prevent disconnects)#83
Merged
codergautam merged 3 commits intomasterfrom Feb 5, 2026
Merged
Map fixes and minor ws optimization (to prevent disconnects)#83codergautam merged 3 commits intomasterfrom
codergautam merged 3 commits intomasterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR implements map fixes and WebSocket optimizations to prevent disconnections. The changes include expanding WebSocket limits, adding 27 new country maps with detailed descriptions, integrating a diverse locations dataset for underrepresented countries, and minor UI adjustments.
Changes:
- Increased WebSocket payload limit from 16MB to 64MB and idle timeout from 60s to 300s
- Added 27 new country maps (Albania, Andorra, Bolivia, Botswana, Cambodia, Dominican Republic, Ecuador, Estonia, Eswatini, Guatemala, Iceland, Jordan, Liechtenstein, Luxembourg, Mongolia, North Macedonia, Oman, Palestine, Qatar, Rwanda, San Marino, Serbia, Senegal, Taiwan, Tunisia, Ukraine, Uganda, UAE, Uruguay)
- Integrated diverse-locations dataset into location pools for better coverage of underrepresented countries
- Minor UI translation adjustment (210px to 220px for hidden online text)
Reviewed changes
Copilot reviewed 14 out of 18 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| ws/ws.js | Increased WebSocket limits to prevent disconnections |
| styles/globals.scss | Adjusted translation distance for hidden online text |
| public/officialCountryMaps.json | Added 27 new country map definitions with descriptions |
| public/countries.json | Added country codes for new maps |
| mapgens/process-diverse.js | Script to process diverse locations by country |
| mapgens/process-aeuw.js | Script to generate AEUW map with distribution targets |
| mapgens/diverse.json | Configuration for diverse locations generation |
| mapgens/distribution-comparison-data.json | Data for comparing location distributions |
| mapgens/aeuw-underrepresented.json | Configuration for underrepresented countries |
| mapgens/aeuw-target-distribution.json | Target distribution percentages per country |
| mapgens/aeuw-represented.json | Configuration for well-represented countries |
| mapgens/aeuw-actual-distribution.json | Actual distribution percentages achieved |
| cron.js | Integrated diverseWorld locations into country pools |
| components/chatBox.js | Removed 'damn' from profanity filter |
| .gitignore | Updated to allow specific mapgen configuration files |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…er HTTPS for better ad targeting
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.
No description provided.