[bisq-network/bisq-website] Add semi-automated dashboard (PR #449)

m52go notifications at github.com
Fri Oct 29 06:46:26 CEST 2021


This pull request adds a semi-automated workflow to generate reporting for key DAO figures: supply, issuance, burn, and governance.

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 means updates can be more prompt, and the variety of people who can do them is broader. 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 (markets items can be found at https://bisq.markets)
- Add `/dashboard/cycle-n` pages to cover details about each DAO cycle
- Remove old DAO reports in the blog section; place redirects where necessary

I added a README in the `/.dao` folder with details on how to run the script.
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq-website/pull/449

-- Commit Summary --

  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/137dc29da531f49f27226b475e33fa96ac98a521">Rename stats to dashboard and make english-only</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/cac6a057aadecaca7d33f7e38f307b370bbe9be2">Remove markets graphs</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/c1d936f8d92760fe0c300a391183b7a9b1ae2e10">Remove markets graphs and clarify purpose of page</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/1eaa34a8c3403b32ccb7715c20f20d08717ae6e6">Improve bsq supply graph and graph headings</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/9eb58dd0c7add5f9bd1ee3cf03230766e0d27a12">Change source of data for bsq supply</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/4e9524e2dcc6226ff6adcd0d6455d5a4775177db">Rename stats.js to dashboard.js</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/b73a0d2d1a46239dc2182a6d0a5159f2e2769da6">Add bsq supply generated automatically</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/a42ddc18dd9d29a2c22912a0202db2ce75422466">Add forkawesome for dashboard icons</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/491434363dcb809922c3ecf043cc81397b4228d4">Generate cycle overview tiles for dashboard page</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/0cd9cad68aed6afc8c147334ade0a2b9100d761c">Add block times to cycle overview data dump</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/fc1234326fc187232e16fc1754880529dd4dbd8f">Redirect /stats to /dashboard</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/3d994b7f4df223f90e552e6096bd72c75ec25e1c">Add accepted/rejected count to cycle overview dump</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/71470b3192312fa2850c2d0cad19f1ae671bb38d">Add script to generate basic cycle pages</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/050ee372adf038d5db06c378ec6407d6dd4b27b7">Add funds transfer section to cycle pages</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/cfee29eb9fc7989dd40af2d5aeffee7ff52d82b5">Add governance section to cycle pages</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/ec6dbc59796c965fcdfd781b69c841629e5f2cb1">Add dark mode tweaks</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/ff99d36491fb151c55a9fb5862a8125052c80716">Update link to dashboard generation scripts</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/87e637154450529fb14e75a1e6bd32c9034bcd96">Add back link on cycle pages</a>
  * <a href="https://github.com/bisq-network/bisq-website/pull/449/commits/75918b5bf677e1005f0d3082036935eb7203d766">Remove old dao reports + add redirects</a>

-- File Changes --

    A .dao/README.md (38)
    A .dao/generate_dashboard.sh (34)
    A .dao/settings.json (4)
    A .dao/utilities/cycle-detail-pages/generate.py (234)
    A .dao/utilities/cycle-overview-data/fetch.py (87)
    A .dao/utilities/dao-burn/README.md (9)
    A .dao/utilities/dao-burn/parse-txs.py (223)
    A .dao/utilities/dashboard-tiles/generate.py (33)
    A .dao/utilities/supply-graph-series/generate.py (48)
    M .gitignore (1)
    M _config.yml (4)
    A _dashboard/cycle-1.md (183)
    A _dashboard/cycle-10.md (197)
    A _dashboard/cycle-11.md (235)
    A _dashboard/cycle-12.md (204)
    A _dashboard/cycle-13.md (212)
    A _dashboard/cycle-14.md (187)
    A _dashboard/cycle-15.md (208)
    A _dashboard/cycle-16.md (176)
    A _dashboard/cycle-17.md (219)
    A _dashboard/cycle-18.md (198)
    A _dashboard/cycle-19.md (194)
    A _dashboard/cycle-2.md (130)
    A _dashboard/cycle-20.md (51)
    A _dashboard/cycle-21.md (200)
    A _dashboard/cycle-22.md (189)
    A _dashboard/cycle-23.md (163)
    A _dashboard/cycle-24.md (138)
    A _dashboard/cycle-25.md (147)
    A _dashboard/cycle-26.md (127)
    A _dashboard/cycle-27.md (132)
    A _dashboard/cycle-28.md (127)
    A _dashboard/cycle-3.md (151)
    A _dashboard/cycle-4.md (145)
    A _dashboard/cycle-5.md (227)
    A _dashboard/cycle-6.md (174)
    A _dashboard/cycle-7.md (176)
    A _dashboard/cycle-8.md (218)
    A _dashboard/cycle-9.md (262)
    M _data/de.yml (15)
    M _data/en.yml (17)
    M _data/es.yml (15)
    M _data/fr.yml (15)
    M _data/ja.yml (15)
    M _data/pt-BR.yml (15)
    M _data/pt-PT.yml (15)
    M _data/ru.yml (15)
    M _data/zh-CN.yml (15)
    A _includes/dao_dashboard_tiles.html (56)
    M _includes/main_nav.html (4)
    A _layouts/dashboard.html (261)
    M _layouts/page.html (2)
    D _layouts/page_stats.html (70)
    M _plugins/custom_tag.rb (16)
    D _posts/2019-09-18-cycle-5-results.md (116)
    D _posts/2019-11-01-cycle-6-results.md (43)
    D _posts/2020-01-16-cycle-8-results.md (59)
    D _posts/2020-02-12-cycle-9-results.md (82)
    D _posts/2020-02-26-cycle-10-results.md (47)
    D _posts/2020-04-07-cycle-11-results.md (65)
    D _posts/2020-05-17-cycle-12-results.md (55)
    D _posts/2020-06-20-cycle-13-results.md (72)
    D _posts/2020-07-21-cycle-14-results.md (44)
    D _posts/2020-08-17-cycle-15-results.md (58)
    D _posts/2020-09-19-cycle-16-results.md (44)
    D _posts/2020-10-06-cycle-17-results.md (49)
    D _posts/2020-12-28-cycle-18-results.md (56)
    D _posts/2020-12-29-cycle-19-results.md (43)
    D _posts/2021-02-17-cycle-21-results.md (45)
    A _proposalcommentaries/cycle-1/571747.md (9)
    A _proposalcommentaries/cycle-10/613867.md (11)
    A _proposalcommentaries/cycle-11/618547.md (7)
    A _proposalcommentaries/cycle-11/d4daefe740bd4e1007ec0a0876049e992b06259d634a9eabeecc9067fd372aff.md (5)
    A _proposalcommentaries/cycle-11/ff5ee77458ff2b31aec6b27036bd3899e9821e55de8106f20a0cff7218976451.md (5)
    A _proposalcommentaries/cycle-12/3022d9acabc4e3805cd7317ad2bb311d264c74078f4c65c19227c2eec1d849e1.md (7)
    A _proposalcommentaries/cycle-12/3057f12f13e68a300a70739b39289b785c6d52a4b3332adaad4cc9044fe6bc5e.md (9)
    A _proposalcommentaries/cycle-13/3299d99a577611ea4e599ed547b6ee861527d8d3c8cbe7ee4f528f026d900881.md (9)
    A _proposalcommentaries/cycle-13/a1d90bd148b143dfd32935cad808d505281363ebb1229da052bfe4ecab1cbc24.md (5)
    A _proposalcommentaries/cycle-13/e56ae10d2f0f3232b019a0ffa954095fc6a3792e1a0b0be2bce0582d542987b0.md (7)
    A _proposalcommentaries/cycle-14/e9d769e7b6f9125a2decfa0f0483af6082fa1dc8411c0b9790adcca622b29605.md (9)
    A _proposalcommentaries/cycle-15/66169ea5c8d1ba72ac777c4f84cf708faf5f047a9e7a94f3aaeb583254fdc765.md (7)
    A _proposalcommentaries/cycle-15/88bbe0e8e24154ba37aa8b7bfad89ed8ca12bd89d4ad2ca7f890558a19354822.md (7)
    A _proposalcommentaries/cycle-16/c6dae566e95a1f4c2c40fef28f79d8cd8cb26a722171e82bb9eb4322927f7971.md (9)
    A _proposalcommentaries/cycle-17/6e6558bcc092b2d11f43b0ad4e229bec66a3648b53c9e2c3724f602638ced6c5.md (5)
    A _proposalcommentaries/cycle-18/7de1c11713ea58553833b5cd2ae8b0557bf83bde0a83134bbc64c15d6d4cd448.md (11)
    A _proposalcommentaries/cycle-18/f95eb74eea16db9cb8b77468f0170782caee7a20cfd82935637e9cdb5ad96268.md (7)
    A _proposalcommentaries/cycle-19/fbb556d1914c1c2a63ae912ed418b1df511202adc8bd6404b5097e478214055a.md (7)
    A _proposalcommentaries/cycle-2/15ebb38e62d555616b39909312cab5bb0d4036001692a7b75bc6d5cd520bdd59.md (23)
    A _proposalcommentaries/cycle-2/576427.md (7)
    A _proposalcommentaries/cycle-2/5a40b4763fa7373053f8320e8cca0d8159e7f5ef0b3e6674ca5b1ca44b8bfada.md (9)
    R _proposalcommentaries/cycle-20/665346.md (19)
    A _proposalcommentaries/cycle-21/cd003c1d5cdb5f301b1b32f323003270a9111b1ec4d5abd0ddc2f101b1b811a1.md (9)
    A _proposalcommentaries/cycle-22/3be6e7c18f9184e0fca7b2e0da2e19d5f03c2339ceccc2605aaaecec4ba3694b.md (5)
    A _proposalcommentaries/cycle-23/3373c55d8d48c37f9cbac60cce07d762975c57a0efb35553ee6e5c330ecbd1be.md (5)
    A _proposalcommentaries/cycle-3/581107.md (17)
    A _proposalcommentaries/cycle-4/585787.md (7)
    A _proposalcommentaries/cycle-4/d65b71b9b43f866a7b31e16f1c9dda722fcb56bdbac8123a074c50056d20f808.md (5)
    A _proposalcommentaries/cycle-5/4a59f592b5d81f90e36a939372640e3637c28930a9ab23a2af6ef1bd13bd9139.md (11)
    A _proposalcommentaries/cycle-5/590467.md (23)
    A _proposalcommentaries/cycle-5/79516359ae11ff0ac80f13c84d4870ee54c15703688c530b5198450cddd30622.md (7)
    A _proposalcommentaries/cycle-5/de1b4b55a040e1b78da7213c17a242b35672c02699b016d79aa8bc362e56ad49.md (7)
    A _proposalcommentaries/cycle-5/e4433aa7305080ff0e53f44dc501c29f316ca3466aee097d79d4b10a6fc71daf.md (7)
    A _proposalcommentaries/cycle-6/595147.md (5)
    A _proposalcommentaries/cycle-6/c9a7c6c04780b6c895d9273d8777459dd622625cbfef35fc502b2279b8e01067.md (7)
    A _proposalcommentaries/cycle-7/599827.md (5)
    R _proposalcommentaries/cycle-7/766686efa6e75dd41509b5896d6d29fb6927ec92d10bed7468ea3da1ae266858.md (44)
    A _proposalcommentaries/cycle-7/aed5b61cd5fdedbaa8095f7a2d6e29215cbcc2e0d29c7eddb4a8ff4b9fed10c2.md (11)
    A _proposalcommentaries/cycle-8/604507.md (9)
    A _proposalcommentaries/cycle-8/aa616eef833f3e6176b83e197da0db08166825eaeb80f0d39ff4dc472fd1af50.md (7)
    A _proposalcommentaries/cycle-8/aaf257f59e6ecefb46586f8d1ee90ab175c5d1545da02f9d8cc323c49826621d.md (9)
    A _proposalcommentaries/cycle-9/34de24c7d5e42ae3239e5943aed62cd3af185601828788f1649cdec96ebd2f49.md (7)
    A _proposalcommentaries/cycle-9/609187.md (9)
    A _proposalcommentaries/cycle-9/6a645427cfc3d5448d092a8d4e7558c4bf0f32f893627450d1e99f4ee6d1fad7.md (9)
    A _proposalcommentaries/cycle-9/74325029651f3319684a49774e75da05feb23d371500a1eb3a1534b8debb6207.md (9)
    A _proposalcommentaries/cycle-9/81747dad36dc823c37297bd6b067dbb8b30707d96b85050bbf321b7fa20ad8d4.md (11)
    A _proposalcommentaries/cycle-9/b6a242b02a1519b9eeb18dcddd51aa2935fe8f5631d7b5b0c25d377943afc51f.md (9)
    M _redirects (19)
    A css/fork-awesome.min.css (12)
    M css/styles.scss (201)
    A dashboard.html (33)
    D de/stats.md (8)
    D es/stats.md (8)
    A fonts/forkawesome-webfont.eot (0)
    A fonts/forkawesome-webfont.svg (2849)
    A fonts/forkawesome-webfont.ttf (0)
    A fonts/forkawesome-webfont.woff (0)
    A fonts/forkawesome-webfont.woff2 (0)
    D fr/stats.md (8)
    D ja/stats.md (8)
    A js/dashboard.js (79)
    D js/stats.js (225)
    D pt-BR/stats.md (8)
    D pt-PT/stats.md (8)
    D ru/stats.md (8)
    D stats.md (7)
    D zh-CN/stats.md (8)

-- Patch Links --

https://github.com/bisq-network/bisq-website/pull/449.patch
https://github.com/bisq-network/bisq-website/pull/449.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq-website/pull/449
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211028/0d6922c6/attachment-0001.htm>


More information about the bisq-github mailing list