Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

dashboard polish: integer values, map panel, stacked deploys#48

Merged
kualta merged 2 commits into
mainfrom
fix/dashboard-integer-decimals
May 11, 2026
Merged

dashboard polish: integer values, map panel, stacked deploys#48
kualta merged 2 commits into
mainfrom
fix/dashboard-integer-decimals

Conversation

@kualta

@kualta kualta commented May 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Integer Y-axes: panels now set `config.decimals: 0` so counts render as `240` not `240.00`.
  • Choropleth map panel: `type = "maps"` is now supported. iron auto-routes `x` -> `fields.name` and `y` -> `fields.value_for_maps`, and sets a default `base_map` + `map_view` (world view).
  • Stacked bars: the Deploys chart now uses `type = "stacked"` with `breakdown = "app"`.
  • Visitors by country chart added (full-width, fleet tab). Country codes derived from `device_locale` for now; GeoIP-based enrichment is a follow-up.

Test plan

  • cargo fmt, clippy -D warnings, test
  • iron deploy observe -> "Dashboard synced (8 charts)"
  • map panel JSON has type=maps, fields.name, fields.value_for_maps, config.map_view, config.base_map
  • SQL returns GB = 240 from _rumdata

@kualta kualta changed the title default dashboard panels to integer values dashboard polish: integer values, map panel, stacked deploys May 11, 2026
@kualta
kualta merged commit 2aec735 into main May 11, 2026
2 checks passed
@kualta
kualta deleted the fix/dashboard-integer-decimals branch May 11, 2026 14:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant