Skip to content

Comments

feat: country commands + command palette UX improvements#355

Merged
koala73 merged 4 commits intomainfrom
feat/cmd-palette-countries
Feb 25, 2026
Merged

feat: country commands + command palette UX improvements#355
koala73 merged 4 commits intomainfrom
feat/cmd-palette-countries

Conversation

@koala73
Copy link
Owner

@koala73 koala73 commented Feb 25, 2026

Summary

  • Add country brief commands for all ~200 ISO countries to the command palette
  • Curated countries (30) have rich keyword matching via searchAliases (e.g. "kremlin" → Russia, "irgc" → Iran)
  • All other countries matched by Intl.DisplayNames name
  • Update empty state: new placeholder ("Search or type a command..."), hint categories, example commands row
  • Translate all 7 updated strings across 16 locales (ar, de, el, es, fr, it, ja, nl, pl, pt, ru, sv, th, tr, vi, zh)

Test plan

  • Open Cmd+K, verify empty state shows command icon, "Search data or run commands", and example <kbd> tags
  • Type "iran" → country command "Open Iran brief" appears with flag emoji
  • Type "canada" → country command appears (non-curated country)
  • Type "kremlin" → Russia command appears via searchAliases
  • Select country command → opens country brief
  • Switch language → verify translated placeholder/hint/empty text

Sentry triage log was accidentally committed in v2.4.0. These are
ephemeral Claude session artifacts, not project documentation.
…y errors

The beforeSend filename regex missed `maplibre-*` chunks and hashes
containing `-`, letting ~3700 map-internal crashes through. Also widen
imageManager filter for Safari wording and add filters for YouTube
widget API, Sentry SDK logs.js, Facebook WebView, and TDZ errors.
…ette

Generates country commands from all ~200 ISO 3166-1 codes using
Intl.DisplayNames for name resolution. Curated countries (30) retain
rich searchAliases for keyword matching (e.g. "kremlin" → Russia).
Update placeholder, hint, and empty state text to reflect command
palette capabilities (countries, layers, panels, navigation, settings).
Add example commands row with styled kbd tags. Translate all strings
across ar, de, el, es, fr, it, ja, nl, pl, pt, ru, sv, th, tr, vi, zh.
@vercel
Copy link

vercel bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldmonitor Building Building Preview, Comment Feb 25, 2026 7:21am
worldmonitor-finance Building Building Preview, Comment Feb 25, 2026 7:21am
worldmonitor-happy Building Building Preview, Comment Feb 25, 2026 7:21am
worldmonitor-startup Building Building Preview, Comment Feb 25, 2026 7:21am

Request Review

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@koala73 koala73 merged commit 133b686 into main Feb 25, 2026
6 checks passed
@koala73 koala73 deleted the feat/cmd-palette-countries branch February 25, 2026 08:01
andreteow pushed a commit to andreteow/worldmonitor-a47 that referenced this pull request Feb 25, 2026
* chore: remove .claudedocs from repo and add to gitignore

Sentry triage log was accidentally committed in v2.4.0. These are
ephemeral Claude session artifacts, not project documentation.

* fix: tighten Sentry noise filters for maplibre/deck.gl and third-party errors

The beforeSend filename regex missed `maplibre-*` chunks and hashes
containing `-`, letting ~3700 map-internal crashes through. Also widen
imageManager filter for Safari wording and add filters for YouTube
widget API, Sentry SDK logs.js, Facebook WebView, and TDZ errors.

* feat: add country brief commands for all ISO countries to command palette

Generates country commands from all ~200 ISO 3166-1 codes using
Intl.DisplayNames for name resolution. Curated countries (30) retain
rich searchAliases for keyword matching (e.g. "kremlin" → Russia).

* feat: update command palette empty state and translate all 16 locales

Update placeholder, hint, and empty state text to reflect command
palette capabilities (countries, layers, panels, navigation, settings).
Add example commands row with styled kbd tags. Translate all strings
across ar, de, el, es, fr, it, ja, nl, pl, pt, ru, sv, th, tr, vi, zh.
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