Skip to content

Add weekly unique-loaders chart to plugin drawer#24

Merged
cteyton merged 1 commit into
mainfrom
claude/add-leaders-chart-J7j8T
May 14, 2026
Merged

Add weekly unique-loaders chart to plugin drawer#24
cteyton merged 1 commit into
mainfrom
claude/add-leaders-chart-J7j8T

Conversation

@cteyton
Copy link
Copy Markdown
Contributor

@cteyton cteyton commented May 14, 2026

Surface plugin adoption over the last 60 days inside the plugin drawer.
When versions are tracked, render a per-version stacked bar so admins can
see which release users actually load week-by-week; otherwise fall back
to a single-series weekly total. The chart hides entirely when the
plugin has no plugin_loaded events in the window.

Weekly buckets come from a new repository method using date_trunc('week')
with a generate_series spine so empty weeks render as zero. Distinct
user_email per (week, version) keeps the segments comparable to the
existing per-version uniqueLoaderCount in the version list.

https://claude.ai/code/session_01EL61NwQXQJ9R77TKynaS2i

Surface plugin adoption over the last 60 days inside the plugin drawer.
When versions are tracked, render a per-version stacked bar so admins can
see which release users actually load week-by-week; otherwise fall back
to a single-series weekly total. The chart hides entirely when the
plugin has no plugin_loaded events in the window.

Weekly buckets come from a new repository method using date_trunc('week')
with a generate_series spine so empty weeks render as zero. Distinct
user_email per (week, version) keeps the segments comparable to the
existing per-version uniqueLoaderCount in the version list.

https://claude.ai/code/session_01EL61NwQXQJ9R77TKynaS2i
@cteyton cteyton merged commit ddf48eb into main May 14, 2026
3 checks passed
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.

2 participants