Skip to content

Filter analytics by country on world map click#412

Open
smehmood wants to merge 1 commit into
masterfrom
smehmood/generic-task-6n4p1s
Open

Filter analytics by country on world map click#412
smehmood wants to merge 1 commit into
masterfrom
smehmood/generic-task-6n4p1s

Conversation

@smehmood
Copy link
Copy Markdown

Summary

  • Clicking a country in the WorldMap now adds a country=eq.<code> filter to the URL, mirroring the existing FilterLink behavior used elsewhere.
  • Adds a pointer cursor on filterable shapes; Antarctica and undefined codes are skipped.

Test plan

  • Open a website's analytics page and scroll to the World Map.
  • Click a country (e.g. United States) and confirm the URL gains ?country=eq.US and the metrics/filter chip update.
  • Confirm hovering still shows the country tooltip and Antarctica is non-interactive.

Demo

Demo walkthrough

Screenshots

🤖 Generated with Claude Code
🌒 Run on Niteshift: View Task

Clicking a country in the WorldMap now adds a `country=eq.<code>` filter
to the URL, mirroring the existing FilterLink behavior used elsewhere in
the dashboard. Adds a pointer cursor on filterable shapes.

Run-on: Niteshift

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@mesa-dot-dev
Copy link
Copy Markdown

mesa-dot-dev Bot commented Apr 30, 2026

You do not have enough credits to review this pull request. Please purchase more credits to continue.

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