Skip to content

Stats page: charts, contributors, growth and biggest changes - #108

Merged
wogglesl-review[bot] merged 1 commit into
mainfrom
stats-charts
Dec 3, 2026
Merged

wogglesl-review[bot] merged 1 commit into
mainfrom
stats-charts

Conversation

@R3disme

@R3disme R3disme commented Dec 3, 2026

Copy link
Copy Markdown
Member

The wiki Stats page gets charts, contributors, growth over time and the biggest changes. The existing tables stay as the exact numbers behind each chart.

Stats page charts

New on the page (numbers from the current main):

  • Headline: 19.8 % of Woggle's lines were written for Woggle. +23,862 / −8,317 lines compared with Halloy 2026.10, in 77 commits.
  • How much is still Halloy: one split bar, Halloy's original lines vs lines written for Woggle.
  • By language: Halloy vs Woggle per language. Rust is stated in the text (96,265 → 112,215) because it would squash the other languages.
  • Contributors: who wrote the lines that are in Woggle today (git blame), plus commits and lines added/removed per person. Lines that are still exactly Halloy's count as Halloy, not as the person who imported them, since the first commit brought in all of Halloy.
  • Growth: lines added and removed since the fork, commit by commit.
  • Biggest changes: the ten largest PRs and commits, linked.
  • Most changed parts of the code: added/removed per area (src/modal, data/src, docs, …).

Charts:

  • Plain SVG drawn by tools/stats_charts.py, with no dependencies.
  • A light and a dark version of each, picked by <picture>, so they match GitHub's theme.
  • Values are labelled on the bars.
  • The colours (blue/orange) pass colour-blind checks in both themes. Halloy is neutral grey as the reference.
  • The image URLs carry a content hash, so GitHub's image cache refreshes when a chart changes.

Workflow (stats.yml):

  • Checks out the full history (needed for git blame).
  • Copies the charts to the wiki's images/stats/.
  • Pushes only when a number or chart changed.
  • Same hardening as the other wiki workflows: scoped permissions, persist-credentials: false, pinned checkout, token in a header.
  • Can be started by hand.

Tested locally against the Halloy 2026.10 release: the full run takes about 4 s. I rendered all 12 SVGs to PNG and checked them for layout, axes and dark mode.

Wiki: updates the generated Stats page and adds images/stats/ through the workflow; no hand-edited pages change.

@R3disme R3disme added the In-Review Finished and waiting for a maintainer's review label Dec 3, 2026
@R3disme
R3disme requested review from a team as code owners December 3, 2026 14:18
Copilot AI balanced review requested due to automatic review settings December 3, 2026 14:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@R3disme

R3disme commented Dec 3, 2026

Copy link
Copy Markdown
Member Author

@WoggleSL/review approvove

@wogglesl-review wogglesl-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by a maintainer on the review board.

Checks

  • ✅ Build linux-x86_64
  • ✅ Build windows-x86_64
  • ❌ dispatch (not required)
  • ❌ wiki (not required)
  • ⏳ dispatch (not required)
  • ✅ retake screenshots (not required)
  • ✅ changes (not required)
  • ✅ codeql (actions) (not required)
  • ✅ sync (not required)
  • ✅ wiki (not required)
  • ✅ changes (not required)
  • ⏳ codeql (rust) (not required)
  • ⏳ preview screenshots (not required)
  • ✅ screenshots out of date (not required)
  • ✅ screenshots out of date (not required)
  • ✅ Build macos-universal (not required)
  • ✅ secrets (not required)
  • ❌ typos (not required)
  • ✅ Build flatpak-x86_64 (not required)
  • ✅ fmt (not required)
  • ✅ clippy (not required)
  • ✅ Release (not required)
  • ✅ test (not required)
  • ✅ cargo-deny (not required)
  • ✅ unsafe (not required)
  • ✅ dependency-review (not required)
  • ✅ workflows (not required)
  • ✅ translations (not required)
  • ✅ flag-lists (not required)
  • ✅ CodeQL (not required)

Change: 5 files, +464 / -36, 1 commit(s) by @R3disme
Merges into: main without conflicts

WoggleSL Review · requested by a maintainer from the review board

@wogglesl-review
wogglesl-review Bot merged commit 5978e26 into main Dec 3, 2026
25 of 30 checks passed
@wogglesl-review

Copy link
Copy Markdown

Squash-merged into main as 5978e26.

WoggleSL Review · requested by a maintainer from the review board

@wogglesl-review
wogglesl-review Bot deleted the stats-charts branch December 3, 2026 14:19
@wogglesl-review wogglesl-review Bot removed the In-Review Finished and waiting for a maintainer's review label Dec 3, 2026
@wogglesl-review

Copy link
Copy Markdown

@R3disme I don't know approvove. Comment @WoggleSL/review help for the list of commands.

WoggleSL Review · requested by @R3disme from a comment

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