bisq-network / bisq-website

@bisq-network website at https://bisq.network
33 stars 76 forks source link

Add semi-automated dashboard #449

Closed m52go closed 2 years ago

m52go commented 2 years ago

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:

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/

m52go commented 2 years ago

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.