Commit d40d75e
Drop row-level label exclusion; make filtering per-chart explicit
Previously, --exclude-labels was applied at the SQL row level when
generating summaries — meaning a PR tagged 'no-changelog' was excluded
from EVERY chart (monthly trends, contributor heatmap, unique
contributors, etc.). That dropped most of pront's release/CI work from
the contributor charts (e.g. 39 real non-draft PRs in March 2026 became
3 after filtering).
The intent of --exclude-labels was always series-level: hide the
'no-changelog' bar from label-frequency charts where it would otherwise
dominate. Keep that, drop the row-level filter:
- Remove --exclude-labels CLI flag from generate-summaries and
generate-all. The Rust side no longer filters rows by label.
- Keep --exclude-labels in plot.py for series-level hiding only.
- Expand the bot filter in plot.py to also drop logins stored without
the '[bot]' suffix in older snapshots (dependabot, dependabot-preview,
renovate, etc.). Otherwise removing the row filter pulls dependabot
to the top of the contributor heatmap.
- Drop the global "labels excluded" note on trends pages; add a small
italic note under each chart describing the exclusions that actually
apply to it.
Heatmap polish (separate but bundled since it's regenerated anyway):
- Replace the YlOrRd colormap with a green→yellow→red gradient.
- Mask zero cells so empty months show the plain axes background
instead of a yellow tint.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3268b9e commit d40d75e
25 files changed
Lines changed: 115 additions & 125 deletions
File tree
- data/images
- scripts/util
- src
- commands
- trends
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
88 | 87 | | |
89 | | - | |
| 88 | + | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
| 114 | + | |
Loading
0 commit comments