* Started horizontal scrolling for DeviceMetrics. Drawing lines based on the TimeFrame and setting the dp.
* Wrote YAxisLabels(), it will replace the Y labels portion of the ChartOverlay(). The composable works for either side of the graph.
* Wrote HorizontalLinesOverlay(), it will replace the horizontal lines portion of the ChartOverlay().
* Updated the data points to use their actual x values.
* Based the width of the scrollable graph on time.
* Added a date label to the TimeAxisOverlay.
- Consolidates `MetricViewModel` back to a single state flow
- Introduces a `MutableStateFlow` for state updates, allowing more independent control
- Moves `Telemetry`, `MeshPacket`, and config updates into separate coroutines
* feat: Add ability to display environment metrics in Fahrenheit
The temperature values in the environment metrics charts and cards are now displayed in Fahrenheit or Celsius based on the user's preference. Celsius is still used as the base unit for calculations and storage.
* Refactor: Rename environmentDisplayTempInFahrenheit to environmentDisplayFahrenheit
Renamed the variable environmentDisplayTempInFahrenheit to environmentDisplayFahrenheit for better clarity and consistency.
* Refactor: Remove unused ENVIRONMENT_METRICS_COLORS
Removed the unused `ENVIRONMENT_METRICS_COLORS` variable from the `EnvironmentMetrics` component.
* Update: Add support for plotting iaq
Added green to the list of colors used for plotting environment metrics to support the newly added iaq readings.
* Synced the string used for ChUtil and AirUtilTX in the NodeInfo and Device Metrics.
* Refactored NodeDetails to Metrics.
* Added string resources for "Hops Away".
2024-09-08 07:36:44 -03:00
Renamed from app/src/main/java/com/geeksville/mesh/model/NodeDetailsViewModel.kt (Browse further)