Skip to content

Add country click filter to WorldMap#405

Open
smehmood wants to merge 1 commit into
masterfrom
smehmood/task-branch-4z1s1o
Open

Add country click filter to WorldMap#405
smehmood wants to merge 1 commit into
masterfrom
smehmood/task-branch-4z1s1o

Conversation

@smehmood
Copy link
Copy Markdown

Summary

  • Clicking a country on the world map now applies a country=eq.<CODE> filter to the current page, matching how MetricLabel filters from the country list.
  • Adds a pointer cursor to interactive countries (skips Antarctica/unknown).

Test plan

  • Navigate to a website overview page
  • Click a country on the WorldMap
  • Verify URL updates with ?country=eq.XX
  • Verify filter chip appears and metrics update

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

Clicking a country on the WorldMap now applies a country filter to the
current page, mirroring how the country list filters from MetricLabel.

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 27, 2026

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

@niteshift-dev
Copy link
Copy Markdown

niteshift-dev Bot commented Apr 27, 2026

Clicking the United States on the WorldMap applies a Country filter (URL → ?country=eq.US, filter chip "Country Is United States" appears, metrics update from 8.11k → 3.63k visitors).

Screenshot


Posted by Niteshift

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