Skip to content
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

Merged
merged 21 commits into from Oct 29, 2021
Merged

Add semi-automated dashboard #449

merged 21 commits into from Oct 29, 2021

Conversation

m52go
Copy link
Contributor

@m52go m52go commented Oct 29, 2021

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:

  • Replace /stats page with new /dashboard page
  • Add /dashboard/cycle-n pages to cover details about each DAO cycle.
  • Remove old DAO reports in the blog section; place redirects where necessary.
  • Human commentary (which is optional to provide) is saved in /_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/

Copy link

@ghost ghost left a 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.
@m52go
Copy link
Contributor Author

m52go commented Oct 29, 2021

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.

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.

None yet

1 participant