Skip to content

Add commit history bar graph #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
n0samu opened this issue May 23, 2022 · 2 comments
Closed

Add commit history bar graph #89

n0samu opened this issue May 23, 2022 · 2 comments

Comments

@n0samu
Copy link
Member

n0samu commented May 23, 2022

GitHub has a nice bar graph showing the Ruffle repo's commit history: https://github.com/ruffle-rs/ruffle/graphs/commit-activity
image
In my opinion, this bar graph more accurately reflects the project progress and activity than the AVM1 and AVM2 progress bars. It shows that things are consistently being accomplished every week as code is committed.
I'd like to see a version of this bar graph along the bottom of the "Compatibility" section of the Ruffle website. Hopefully it can be nicely styled, similarly to the progress bars (but the bars would be vertical, not horizontal).
The data can be requested straight from GitHub's API using this URL: https://api.github.com/repos/ruffle-rs/ruffle/stats/commit_activity
In that data, the "week" value is a Unix epoch giving the start date of the week, and "total" is the number of commits during that week.

@danielhjacobs
Copy link
Collaborator

danielhjacobs commented May 23, 2022

https://jsfiddle.net/oknmtgez/3/. Going to bed now. Someone else can add this, as I don't know when I'll get to it.

danielhjacobs added a commit to danielhjacobs/ruffle-rs.github.io that referenced this issue Jun 6, 2022
@relrelb
Copy link
Contributor

relrelb commented Jun 15, 2022

Added in #90.

@relrelb relrelb closed this as completed Jun 15, 2022
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

No branches or pull requests

3 participants