Closed riskysnail closed 6 years ago
Do I need to do anything about the coveralls check fail?
Sorry a lot for the delay with answer. I will try today to clean up warnings and finish the review.
Thank you for the contribution!
Would be super nice if we write some tests for these changes.
Also, from the overall overview, the GlucoseRanges
has two responsibilities now:
It would be preferable to split them. Maybe in the future.
I agree about GlucoseRanges. I'm thinking about creating a new class to handle the formatting of glucose readings (auto-converting to the preferred unit, potentially adding colorblind symbols for #178). This could be a good candidate to move the colorFromReading and stringToColor functions.
@riskysnail what is status now? are you going to rearrange this code as you suggested in last commit?