* feat(config): implement excluded modules validation
* feat: hide excluded configs from metadata
* refactor: save local metadata from WantConfig
* refactor: delete metadata from deleted nodes
* fix: always request metadata for admin routes
* feat: show node firmware when metadata is available
* refactor: rename filter function
* feat: add `ServiceAction` request metadata
* feat: add support for Device Hardware json and svg graphics
Allows for better hardware device display names, graphics, and indication of support.
* make detekt happy
* Fix: Use first image name to find vector drawable
Use the first image name from the `images` list (after removing the ".svg" suffix) to find the corresponding vector drawable resource.
* Refactor: Update device detail layout
Updated the device detail layout to group device-specific information under a "Device" category.
Added a circular background with device-specific color behind the device icon.
Moved hardware, support status details to the Device section.
* Refactor: Move device hardware logic to MetricsViewModel
Moves the logic for retrieving device hardware information and image resources from NodeDetail to MetricsViewModel.
Also replaces id lookup with when statement for image resource id mapping.
* fix: cache deviceHardwareList, add exception handling
* refactor: mutable list unnecessary
* default to hw_unknown device image
* 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)