Skip to content

fix(stats): hide zero-usage countries - #40400

Merged
adamdotdevin merged 1 commit into
devfrom
stats-zero-country
Aug 4, 2026
Merged

fix(stats): hide zero-usage countries#40400
adamdotdevin merged 1 commit into
devfrom
stats-zero-country

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • render countries with zero token usage as white/transparent on the world map
  • preserve full opacity for active countries with nonzero usage
  • apply the behavior to both the data homepage and model detail maps

Checks

  • bun typecheck (packages/stats/app)
  • bun --bun vite build (packages/stats/app)
  • bun x prettier --check src/routes/index.tsx "src/routes/[lab]/[model].tsx" src/routes/index.css

Requested by: @fwang (Frank via Slack)

@adamdotdevin
adamdotdevin merged commit 6c97a46 into dev Aug 4, 2026
11 checks passed
@adamdotdevin
adamdotdevin deleted the stats-zero-country branch August 4, 2026 11:26
banlanzs pushed a commit to banlanzs/opencode that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants