-
Sub-task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
False
-
-
False
-
-
-
OCMUI Core Sprint 262
I suggest to generate gh-pages at https://github.com/RedHatInsights/uhc-portal as a single page chart (maybe using React) to expose data. Data should be generated by a GH actions job.
Let me expose example.
See Gh-pages example at https://kiegroup.github.io/droolsjbpm-build-bootstrap/job/productization-jobs
see source code at https://github.com/kiegroup/droolsjbpm-build-bootstrap/tree/gh-pages
If you check network tab a couple of json files (product.json and latest.json) are retrieved
those files are generated by gh job from time to time, see https://github.com/kiegroup/droolsjbpm-build-bootstrap/blob/main/.github/workflows/generate_status_page_data.yaml
For us it would be to generate single page, retrieving json containing information like
[ { "username": "Ginxo", "pr": [ { "id": "x", "reviewed": true }, { "id": "y", "reviewed": true }, { "id": "z", "reviewed": false } ] }, { "username": "Eliran", "pr": [{ "id": "x", "reviewed": true }] }, { "username": "Dave", "pr": [ { "id": "y", "reviewed": false }, { "id": "z", "reviewed": true } ] } ]
and expose GH job to generate that info using octokit