Commit graph

1811 commits

Author SHA1 Message Date
andrekir
fe79c9f33d fix: DetectionSensorConfig trigger protobuf change
reference: https://github.com/meshtastic/protobufs/pull/582
2024-10-06 07:27:02 -03:00
andrekir
4658e562d5 fix: background, title and buttons for EditWaypointDialog 2024-10-06 05:43:44 -03:00
andrekir
d9a9d750de fix: map cluster initialization and marker updates
- prevents duplicate `RadiusMarkerClusterer` overlays
- adds cluster `invalidate()` after marker updates
2024-10-06 05:43:27 -03:00
andrekir
be6ea79c04 refactor(map): set fixed maxZoomLevel (20.0) 2024-10-05 10:06:04 -03:00
andrekir
625bc6837b fix(map): generateBoxOverlay event listener 2024-10-05 09:30:40 -03:00
andrekir
ed1ce77608 refactor(map): wrap variables with remember 2024-10-05 09:26:25 -03:00
danwelch3
48365218e2
feat(map): implement marker clustering (#1287) 2024-10-05 08:59:35 -03:00
James Rich
f689d772d6
fix: Add elevation to NodeItem card (#1286)
This commit adds elevation to the NodeItem card to visually distinguish it.
2024-10-03 19:55:42 -03:00
andrekir
7da2dd8bb7 fix: lock icon colors for better visibility in light theme 2024-10-03 18:30:00 -03:00
James Rich
f944a236ac
feat: Adds Request user info (#1279)
* Request user info

* safe calls

* Fix: Ensure NodeInfo is sent when requesting user info

The `requestUserInfo` function now correctly sends `NodeInfo` when requesting user info by using the `
toNodeInfo()` method on `ourNodeInfo`. This ensures the recipient receives the necessary information.

* fix: remove unused parameters, use service's node db for our node entity

---------

Co-authored-by: musznik <bymucha@gmail.com>
2024-10-03 05:02:13 -03:00
andrekir
c0692b80ec refactor: remove legacy BLE characteristic 2024-10-02 20:00:02 -03:00
andrekir
ffb402acde feat: add demo mode for testing and review purposes
- Activates by tapping "None (disable)" 7 times.
- Displays a confirmation message when `Demo Mode` is enabled.
- Simulates a connection to a Meshtastic device and allows the app to function without requiring real hardware.
2024-10-02 19:58:11 -03:00
andrekir
16e91c0ebf refactor: sync isOnline status with firmware (2 hours) 2024-10-02 17:03:36 -03:00
andrekir
0a1f129403 refactor: add parameter for customizable text link styles 2024-10-02 17:01:11 -03:00
Andre K
c30ee2f55f
refactor: replace MyNodeInfo with MyNodeEntity (#1277) 2024-10-02 06:18:30 -03:00
andrekir
d89d4b7baa refactor: replace AutoLinkText in MessageItem 2024-10-01 20:02:06 -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
cca06784fc feat: add PowerMetrics data to nodes telemetry
closes #994
2024-10-01 19:50:03 -03:00
andrekir
3bd4132089 feat: preserve map center and zoom state in ViewModel
closes #1150
2024-09-30 19:14:22 -03:00
andrekir
bfa2eaef11 fix: PKC channel index in sent MeshPackets 2024-09-30 15:27:55 -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
DJ Holt
a358b8cb11 Complete request future if response is a ClientNotification 2024-09-29 07:28:58 -03:00
andrekir
2370e8b596 feat: add DeviceConfig Role descriptions
closes #848
2024-09-28 09:00:25 -03:00
andrekir
96a69b7398 fix: position handling when fixed_position is enabled
closes #1265
2024-09-28 08:19:09 -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
717c932ae2 refactor(MeshLog): add fields for query optimization
- Adds `from_num` and `port_num` fields as indices to the `MeshLog` entity to improve query performance.
- Sets default values for new columns for auto-migration and backward compatibility.
2024-09-26 05:55:38 -03:00
andrekir
a075dfbd3a feat: add dialog for message status information 2024-09-24 22:06:15 -03:00
andrekir
056f6b28cf fix: set opaque background for SimpleAlertDialog 2024-09-24 09:33:53 -03:00
andrekir
4f0652ad9f fix: remove node from service database in removeByNodenum 2024-09-24 07:53:09 -03:00
andrekir
e5b229e6ff fix: handle RemoteException in setConfig and setChannel 2024-09-24 07:44:25 -03:00
andrekir
22b1cf0f16 feat: add encryption status icon and dialog to node list items 2024-09-23 10:13:27 -03:00
andrekir
587c6c91f4 refactor: ensure backward compatibility for PKC encryption 2024-09-22 23:01:33 -03:00
andrekir
83dc389d6d refactor(NodeItem): replace NodeInfo with NodeEntity 2024-09-21 16:47:20 -03:00
andrekir
89a3171b58 fix(config): admin requests confirmation handling 2024-09-21 08:35:21 -03:00
Andre K
36a13d7687
fix(conifg): implement sessionPasskey handling for admin requests (#1263) 2024-09-20 06:07:35 -03:00
andrekir
2f7502d5ad chore: anonymize ConfigProtos.Config logs 2024-09-19 18:17:30 -03:00
andrekir
8c07532995 fix(MeshService): revert nodeDBbyNodeNum to local variable
avoids performance issues causing data loss by reverting `nodeDBbyNodeNum` to a local `ConcurrentHashMap`
2024-09-19 18:17:30 -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
f8898def89 chore: remove unused resources 2024-09-18 19:48:04 -03:00
andrekir
81d8a9f93f fix(MeshService): revert myNodeInfo to local variable
avoids performance issues and simplifies state management as `MyNodeInfo` is only relevant during an active session
2024-09-18 19:46:39 -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
0b72486506 fix: deviceMetrics reference in NodeInfo.toEntity mapper 2024-09-17 07:52:34 -03:00