DSACMS / metrics

Experimentations in Open Source Repository Metrics
https://dsacms.github.io/metrics/
Other
6 stars 3 forks source link

Data Visualizations Are Not Ignored When They Are Missing #103

Closed IsaacMilarky closed 6 months ago

IsaacMilarky commented 6 months ago

Issue Report

Data Visualizations Are Not Ignored When They Are Missing

Expected behavior

The front-end should ignore any missing visualizations and format the page so that there isn't a noticeable gap where the visualization should be. This behavior should happen in the cases when there isn't enough data to show for that visualization.

Actual behavior

Right now, if a visualization is missing due to not enough data provided then there will be a placeholder gap populated by the Image's alt text.

Screenshot 2024-04-05 at 4 40 50 PM

Steps to reproduce the behavior

Navigate to a part of the metrics website that has a repository with not a lot of PRs or Issues: https://dsacms.github.io/metrics/CMS-Enterprise/batcave-tf-gatus/