Commit graph

2191 commits

Author SHA1 Message Date
andrekir
296f1944b7 refactor: migrate Compose navigation to type-safe args 2024-11-10 07:45:25 -03:00
andrekir
e72940245c feat: persist node filters to SharedPreferences
closes #1392
2024-11-10 06:18:21 -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
da77cf515f refactor: hide true 0 hopsAway text 2024-11-06 10:22:30 -03:00
James Rich
80e915a36c
feat: show unique messaging notifications per contact (#1381)
* Show unique notifications per contact

Instead of a single notification for all messages, each contact now has its own, unique notification. This uses the `NotificationCompat.MessagingStyle` and the contact's name to create distinct notifications, enhancing message organization.

* feat: Add notification tap action to open contacts tab

This is done by:
- Adding an intent extra to the notification with the contact key for future use to navigate to the message thread.
- Adding a new action to the MainActivity to handle the intent.
- Updating the message notification to include the intent.

* Open message notification to the correct conversation

Adds an extra to the message notification intent to open the correct conversation. This ensures that when a user taps on a message notification, they are taken to the conversation with the sender of that message.
2024-11-04 19:05:39 -03:00
andrekir
eea62e6533 feat: add map ScaleBarOverlay 2024-11-04 17:52:27 -03:00
andrekir
c6cc33e16c refactor: extract MapView extensions from MapFragment 2024-11-04 17:50:34 -03:00
andrekir
d4137a7dc4 refactor: scale requiredZoomLevel() by 0.8 to improve fit 2024-11-04 12:57:00 -03:00
andrekir
45d3741124 refactor: map buttons 2024-11-04 12:52:32 -03:00
andrekir
3bfbe12fd9 fix: PowerMetrics voltage to display 2 decimals 2024-11-04 12:25:57 -03:00
andrekir
1c91df4e67 fix: check for admin key before enabling managed mode 2024-11-03 06:57:29 -03:00
andrekir
414e0bb544 fix: clear public keys if the user is licensed 2024-11-03 06:48:32 -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
dcd5ca1c8e fix: add missing PortNum for traceroute results 2024-11-02 06:21:32 -03:00
andrekir
b321e5393d refactor(contacts): move padding to contentPadding in LazyColumn 2024-11-02 06:18:40 -03:00
andrekir
f2511f814c fix: getNumber exception for unrecognized RegionCode entries
Fatal Exception: java.lang.IllegalArgumentException: Can't get the number of an unknown enum value.
2024-11-02 06:16:33 -03:00
andrekir
605ef120c9 fix: remove build timestamp (breaking reproducible builds)
reverts 9f099f3edf
2024-11-02 06:13:36 -03:00
andrekir
1aa0b138fc refactor(config): extract components from NavGraph to screens 2024-10-31 19:45:27 -03:00
andrekir
74ae3fd594 refactor(config): move connectionState to RadioConfigState 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
6526c91f3a fix: contact placeholder date when time is zero 2024-10-29 08:15:50 -03:00
andrekir
1e081b4b30 refactor: improve handling for old firmware 2024-10-29 07:41:39 -03:00
andrekir
b91a6d8388 refactor(traceroute): unified route methods for consistency 2024-10-27 10:31:58 -03:00
andrekir
8af31bb0d0 fix(traceroute): route lists cleared before use are always empty
fixes #1355
2024-10-27 10:16:17 -03:00
andrekir
cfb38e9951 feat: add option to delete traceroute log 2024-10-26 05:57:18 -03:00
L. Pereira
abb4db8faf
feat: Short duration for the "notification permissions denied" snackbar (#1346) 2024-10-26 05:55:21 -03:00
andrekir
26ca4af568 refactor: move Message date formatting to ViewModel 2024-10-26 05:44:59 -03:00
James Rich
6447485199 fix: set user.id in NodeDb getUser
This commit updates the `getUser` function in `NodeDB` to set the ID of the user when creating a new `User` object, ensuring that the user ID is always populated.

Additionally, it refactors the `Message` class to use the proto `User` object instead of the `MeshUser` class. This change simplifies the code and improves consistency by utilizing the proto definition for user information.
2024-10-26 05:32:30 -03:00
Andre K
a557bff3d7
feat: traceroute log (#1348) 2024-10-25 08:14:32 -03:00
andrekir
a3b4b70db9 fix(metrics): replace telemetry times with receive time 2024-10-25 07:55:47 -03:00
andrekir
5cf9741b13 refactor: unified getUser repository call for convention 2024-10-25 07:50:34 -03:00
andrekir
9f099f3edf feat: replace invalid MeshPacket times (earlier than build time) 2024-10-23 19:20:28 -03:00
andrekir
199b9a29d5 refactor: extract traceroute text from MeshService 2024-10-23 19:05:43 -03:00
andrekir
eb80d419eb refactor(logs): add optional portNum parameter to getMeshPacketsFrom 2024-10-23 18:10:08 -03:00
andrekir
fa24dd43b8 refactor: update signalMetrics filter for 0 hop packets 2024-10-23 17:49:47 -03:00
Robert-0410
bb345e7437
feat: Signal Metrics (#1340) 2024-10-23 17:31:31 -03:00
andrekir
551f5c9fc5 refactor: replace InfoCard Painter with ImageVector icons 2024-10-22 12:14:02 -03:00
andrekir
7289896956 refactor: remove largeIcon from notifications 2024-10-22 12:13:34 -03:00
andrekir
3ac0e8c28e refactor: extract NavGraph from RadioConfig 2024-10-21 06:07:28 -03:00
andrekir
8df1634fd6 fix: metrics field validation and current unit (mA) 2024-10-20 06:39:27 -03:00
andrekir
8af78bc2eb fix(config): show error when radio disconnects before receiving confirmation 2024-10-19 13:29:39 -03:00
andrekir
abcc2e89ec fix(config): move confirmation dialog back to NavHost 2024-10-19 13:29:09 -03:00
andrekir
c98a5c7caf feat: add info cards for environment and power metrics 2024-10-19 13:28:16 -03:00
andrekir
1b1f454b72 feat: add RegionCode for Philippines
https://github.com/meshtastic/firmware/pull/4951
2024-10-19 05:03:43 -03:00
andrekir
d19ddc2d94 feat: add icons to config navigation cards 2024-10-19 05:02:37 -03:00