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
Add semi-automated dashboard #449
Conversation
Since DAO report pages will only be in English anyway. Main reason for this is that open-ended narratives covering proposals and other notable cycle events are not feasible to translate (much like blog posts).
Scripts are in new directory `./dao`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
This change stops main script execution in case of any errors. Previously, the script would tell the user about the error but continue.
Just added some minor tweaks to get rid of Codacy flags. The general concept has been open for feedback for months, and most content has already been live in the form of blog posts. This code's main contribution is to create a new automated workflow to create cycle reports, which it does well, so it kind of passes its own test. |
This pull request adds a semi-automated workflow to generate reporting for key DAO figures: supply, issuance, burn, and governance. It's a partial implementation of this proposal.
Moreover, it was annoying to update the stats page and collect all figures to write DAO reports every cycle. This PR automates all of that—all DAO reports included in this PR are 100% generated with the scripts in this PR.
Going forward, with this workflow, anyone can generate a new cycle report and make a PR to this repository to update the dashboard. This should mean more prompt and more correct updates. Of course, that also means anyone can verify the reports too, which is a nice benefit.
More practical details on what this PR does:
/stats
page with new/dashboard
page/dashboard/cycle-n
pages to cover details about each DAO cycle./_proposalcommentaries
. Most of what is there now was copied from the old cycle report blog posts.I added a README in the
/.dao
folder with details on how to run the script.Staging:
https://deploy-preview-449--bisq-website.netlify.app/dashboard/