Skip to content

Filter by country when clicking the WorldMap#394

Open
smehmood wants to merge 1 commit into
masterfrom
smehmood/task-implementation-6e3jx4
Open

Filter by country when clicking the WorldMap#394
smehmood wants to merge 1 commit into
masterfrom
smehmood/task-implementation-6e3jx4

Conversation

@smehmood
Copy link
Copy Markdown

Summary

  • Clicking a country on the website overview WorldMap now applies a country=eq.<CODE> filter to the current view, using the same pattern as the existing FilterLink component.
  • Cursor becomes a pointer on clickable countries; Antarctica and unlabeled geographies stay inert.

Test plan

  • Open /websites/<id>, scroll to the WorldMap, click the USA → URL becomes ?country=eq.US, the "Country Is United States" filter pill appears, and stats/chart update to USA-only data.
  • Click a second country to replace the filter.
  • Confirm tooltip on hover still works unchanged.

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

Clicking a country on the world map now applies a country filter to
the current view, matching the existing FilterLink pattern used in
metric tables. Antarctica and unlabeled geographies remain inert.

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 23, 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