Commit graph

161 commits

Author SHA1 Message Date
Robert-0410
7e54ad950c
feat: Metrics time selection (#1396) 2024-11-11 17:54:26 -03:00
andrekir
5480174ec9 fix(config): respect enabled parameter for Send button 2024-11-11 17:27:03 -03:00
andrekir
683b354dd4 feat: add optional summary text to SwitchPreference 2024-11-11 17:08:24 -03:00
James Rich
2d2d94924b
refactor: Migrate Node dropdown menu to Compose (#1386) 2024-11-09 08:14:40 -03:00
andrekir
b053f1afda refactor: extract map defaults to MapViewWithLifecycle 2024-11-09 05:34:14 -03:00
Andre K
227c65f191
feat: node map position history log (#1384) 2024-11-06 11:00:38 -03:00
andrekir
a8c810bae2 feat: add DeviceConfig RebroadcastMode descriptions 2024-11-06 10:22:31 -03:00
andrekir
336b05236c refactor: position log text size and weight 2024-11-06 10:22:31 -03:00
andrekir
1c91df4e67 fix: check for admin key before enabling managed mode 2024-11-03 06:57:29 -03:00
andrekir
adbe5952fc feat: position logs 2024-11-02 17:22:54 -03:00
andrekir
26f210047d refactor: split MetricsViewModel state updates
- 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
2024-11-02 09:46:15 -03:00
andrekir
1aa0b138fc refactor(config): extract components from NavGraph to screens 2024-10-31 19:45:27 -03:00
andrekir
b668a21b68 refactor: move node detail logs to shared ViewModel 2024-10-30 18:53:44 -03:00
andrekir
b91a6d8388 refactor(traceroute): unified route methods for consistency 2024-10-27 10:31:58 -03:00
andrekir
cfb38e9951 feat: add option to delete traceroute log 2024-10-26 05:57:18 -03:00
Andre K
a557bff3d7
feat: traceroute log (#1348) 2024-10-25 08:14:32 -03:00
Robert-0410
bb345e7437
feat: Signal Metrics (#1340) 2024-10-23 17:31:31 -03:00
andrekir
6be44675e2 feat: add NodeDetailsScreen with metrics and remote admin navigation 2024-10-18 20:09:37 -03:00
andrekir
fe56d257f5 chore: add detekt formatting rule set
https://detekt.dev/docs/next/rules/formatting/
2024-10-14 07:56:29 -03:00
James Rich
9bd84d3fc0
refactor: Improve IAQ display to add ranges, update colors (#1300)
* Refactor: Improve IAQ display and add ranges

Adds IAQ ranges to the `Iaq` enum and updates the display to show the ranges alongside the
 descriptions, improving clarity for users.

This change enhances the indoor air quality information by providing context for the different IAQ levels.

* Refactor: Improve IAQ color scheme and add range to description

This commit refactors the Indoor Air Quality (IAQ) component by:

- Updating the color scheme to better reflect air quality levels, using a more standardized and recognizable color palette.
- Adding the IAQ range to the description, providing more context and clarity to the user.
- Adding a preview for the IAQ scale.
- Minor code cleanup and improvements.
2024-10-11 07:46:54 -03:00
andrekir
54b59fdb97 fix: DropDownPreference exception when item is not found 2024-10-10 11:01:42 -03:00
andrekir
aa84d47375 feat: add fixed_position to config import/export 2024-10-10 10:54:14 -03:00
andrekir
0062d38c8b feat: add option for 3 admin keys in SecurityConfig 2024-10-09 19:26:48 -03:00
andrekir
9cce785556 feat: add RegionCode descriptions to region selection
closes #987
2024-10-09 16:43:05 -03:00
andrekir
921f5eb880 chore: add @Preview for IndoorAirQuality 2024-10-06 11:14:06 -03:00
andrekir
0e161d64b3 style: unify AlertDialog shape, background and buttons 2024-10-06 08:52:00 -03:00
andrekir
fe79c9f33d fix: DetectionSensorConfig trigger protobuf change
reference: https://github.com/meshtastic/protobufs/pull/582
2024-10-06 07:27:02 -03:00
andrekir
7da2dd8bb7 fix: lock icon colors for better visibility in light theme 2024-10-03 18:30:00 -03:00
andrekir
0a1f129403 refactor: add parameter for customizable text link styles 2024-10-02 17:01:11 -03:00
andrekir
ad55d6a18e refactor: replace AutoLinkText library with component
- replaces deprecated `ClickableText` with `LinkAnnotation`.
- uses LinkifyCompat for URL, email, and phone number detection.

closes #1267
2024-10-01 19:51:48 -03:00
andrekir
cec234b58a refactor: RegularPreference using adaptive layout 2024-09-29 22:24:53 -03:00
andrekir
2897058697 feat: remove deprecated protobufs from DropDownPreference 2024-09-29 19:32:09 -03:00
andrekir
2370e8b596 feat: add DeviceConfig Role descriptions
closes #848
2024-09-28 09:00:25 -03:00
andrekir
3c22272d23 refactor: add option for custom ByteString key generation 2024-09-28 08:19:08 -03:00
andrekir
3c0fd03555 refactor: base preference with horizontal layout and summary 2024-09-27 22:23:53 -03:00
andrekir
056f6b28cf fix: set opaque background for SimpleAlertDialog 2024-09-24 09:33:53 -03:00
andrekir
22b1cf0f16 feat: add encryption status icon and dialog to node list items 2024-09-23 10:13:27 -03:00
andrekir
e5d60003fc fix(PositionConfig): clear changes on cancel button click 2024-09-19 18:17:28 -03:00
DJ Holt
dc9e780663
Fix lat/lng/alt config validation errors when position is null (#1260) 2024-09-19 07:06:31 -03:00
andrekir
4d03bc0ecb fix: detekt errors 2024-09-18 20:09:27 -03:00
andrekir
852c6e1bc2 refactor: enable remote admin to set/remove fixed_position 2024-09-18 19:50:33 -03:00
andrekir
21c1c1cbd6 refactor(LoRaConfig): add hasPaFan validation 2024-09-18 19:45:09 -03:00
James Rich
98d11115c6
feat: Add ability to display environment metrics in Fahrenheit (#1253)
* 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.
2024-09-18 19:37:55 -03:00
James Rich
9b90c128fb
feat: Add IAQ to environment metrics (#1258)
Adds Indoor Air Quality (IAQ) to the environment metrics chart and card.

The IAQ is displayed as a green line on the chart and as a dot with a numerical value on the card.
The IAQ scale is available as a legend in the IAQ component.
2024-09-18 18:42:58 -03:00
Robert-0410
843e423648
Device metric lines and info dialog (#1252)
* Removed constants from CommonCharts only used in specific charts.

* Altered CommonCharts.ChartOverlay to take a list of colors for the lines. Adjusted the device metrics line colors for channel utilization.

* Started an info dialog in the device metric chart to help users better understand Meshtastic.
2024-09-18 06:57:01 -03:00
andrekir
092ed32c23 fix(LoraConfig): ensure primaryChannel updates on loraInput changes 2024-09-16 18:20:54 -03:00
Robert-0410
0c52bef43b
Mesh Packet Limit (#1245)
* Separated the device and environment metrics into their own files.

* Place a limit to the amount of MeshPackets we retrieve from the logs table.

* Making detekt happy with the naming.
2024-09-14 18:48:05 -03:00
andrekir
fbebb52060 feat: add ok_to_mqtt config 2024-09-09 18:53:38 -03:00
andrekir
44e0f453a6 fix(SecurityConfig): update admin_key to repeated field 2024-09-09 06:43:26 -03:00
andrekir
128ced64db chore(LazyColumnDragAndDropDemo): update to Compose 1.7 APIs 2024-09-08 08:43:52 -03:00