Gold872 / elastic-dashboard

A simple and modern dashboard for FRC
MIT License
74 stars 14 forks source link

added option to modify robot & trajectory colors #82

Closed DanPeled closed 1 month ago

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 28.84615% with 37 lines in your changes missing coverage. Please review.

Project coverage is 62.54%. Comparing base (189d21f) to head (dd4754f).

Files Patch % Lines
...b/widgets/nt_widgets/multi-topic/field_widget.dart 28.84% 37 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #82 +/- ## ========================================== - Coverage 62.75% 62.54% -0.21% ========================================== Files 75 75 Lines 7821 7860 +39 ========================================== + Hits 4908 4916 +8 - Misses 2913 2944 +31 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Gold872 commented 1 month ago

I think instead of storing the color as the hex code, it should be stored as the int value of the color

Look at how it's done for graphs and boolean boxes, it works much nicer with the color API

DanPeled commented 1 month ago

I think instead of storing the color as the hex code, it should be stored as the int value of the color

Look at how it's done for graphs and boolean boxes, it works much nicer with the color API

Fixed