Hzaatiti / meg-pipeline

Documentation and pipeline page for MEG lab at NYUAD
https://meg-pipeline.readthedocs.io/
0 stars 8 forks source link

Create a dashboard showcasing the status of the KIT system #19

Open Hzaatiti opened 4 months ago

Hzaatiti commented 4 months ago

Use case: lab users will need a way to check if all the systems are working properly, or to see if there is any incident or problem

Solution: A dashboard shows the status of the system, users can access the dashboard online and read about incidents and so on.

The research scientist (me) need to put in the dashboard the status of:

github-actions[bot] commented 4 months ago

Hi, thank you for submitting this issue, we will be discussing it and adressing it asap!

Hzaatiti commented 4 months ago

@EmnaTay how about we start by making a simple dashboard in R containing a small table with columns status, system name, and have it displayed on a page in the sphinx documentation?

Image

Ideally we would have a new menu entry, called "Status and Performance Dashboard" displayed as the ones in blue in the picture above, and below it, a page called "KIT-System Status Dashboard", where we would display that simple table in R.

I am not sure how to link R to sphinx documentation, this could be good to investigate at the beginning :)

EmnaTay commented 4 months ago

Would you min if I use other tools maybe in addition to R? like Python or Power Bi ?

hzaatiti-NYU commented 4 months ago

Of course, anything that seems more suitable we can go with it

EmnaTay commented 4 months ago

okay, thank you!

Hzaatiti commented 4 months ago

It seems that to integrate PowerBI with readthedocs (the template that we are using for our current website), that we will need to generate .html embed code from PowerBi, however this feature is only available in the PRO tier, (which we can get if really needed) and not the free tier

This look not bad https://plotly.com/examples/dashboards/ :) what do you think?

EmnaTay commented 4 months ago

Yes i noticed that the doc's code didn't have a build folder in it so i steered away from html embed code or anything that will require the conversion to html. I will try out the plotly library that you suggested .

hzaatiti-NYU commented 4 months ago

I started a little bit here https://meg-pipeline.readthedocs.io/en/latest/1-systems/systems-dashboard.html So basically there is an html in here https://github.com/hzaatiti-NYU/meg-pipeline/blob/main/docs/source/_static/plotly_dashboard.html

But it is not displayed correctly yet, I added a performance dashboard tree of content (TOC) webpage

EDIT: Ok it works now, it is just a simple graph for now https://meg-pipeline.readthedocs.io/en/latest/1-systems/systems-dashboard.html EDIT: Im trying now to automate the generation of the html using by changing the conf.py file

EmnaTay commented 4 months ago

What kind of changes are you making in the conf.py?