Open Ionys320 opened 1 month ago
Btw I have some questions on how/when the calculation (avg, sum) should be performed. I guess in src/View/Components/Metrics.php
, but I'm not sure.
@Ionys320 how's this going? :)
Hi @jbrooksuk! I would need to know how the avg/sum must be made, and where. I don't really know how this part of the feature is working. And after this, I don't know if something would be missing, let me know!
This is a WIP but allows you to monitor the changes related to issue #56.
This feature is actively using Alpine. Maybe some parts could be improved to use Laravel in a better way (for example, avoid using
<?php echo json_encode($metric); ?>
in the code).No issue is currently know.
Please note that for debugging purposes, each metric is displayed twice. The reason is that by default, we only have one metric. It allows testing the individual component with two different instances.
Screen of the current version: