Frontmatter
| id | 8939 |
| title | Feat: Country Flag Column |
| state | Closed |
| labels | enhancementdesign |
| assignees | tobiu |
| createdAt | Feb 1, 2026, 5:44 PM |
| updatedAt | Feb 1, 2026, 6:53 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8939 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8930 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 1, 2026, 6:53 PM |
Feat: Country Flag Column
tobiu added parent issue #8930 on Feb 1, 2026, 5:44 PM
tobiu assigned to @tobiu on Feb 1, 2026, 5:44 PM

tobiu
Feb 1, 2026, 6:52 PM
Input from Gemini 3 Pro:
✦ I have implemented the Country Flag enhancements.
Changes:
- Shared Utility (
src/util/CountryFlags.mjs): Created a new utility class to map country names and location strings to ISO codes and flag URLs (using the 'circle-flags' library).- Country Field Refactor (
src/form/field/Country.mjs):
- Added a
showFlags_config.- Refactored the icon implementation to use
removeDomfor cleaner DOM manipulation.- Updated the field to inject the flag icon into the input wrapper.
- Country List (
src/list/Country.mjs): Created a new list class that renders flag icons next to country names.- Grid Integration (
apps/devrank/view/GridContainer.mjs):
- Updated the 'Location' column to use
CountryFlagsfor fuzzy matching.- Added a renderer that shows the flag icon (or a placeholder) next to the location text.
- Removed the duplicate 'Country' column.
The grid now displays round flag icons for contributors with resolvable locations, and the text aligns correctly even when no flag is found.
tobiu closed this issue on Feb 1, 2026, 6:53 PM
This task focuses on adding a column to display the contributor's country flag.
Requirements
src/util/CountryFlags.mjsto handle fuzzy matching of location strings to country codes/icon paths.DevRank.view.GridContainerthat uses this utility.Acceptance Criteria