Davis
89438f3553
Improved battery/voltage info in node list ( #874 )
...
* Move battery info to compose - always show voltage level and icons to match battery percentage
Use tool text in preview, rather than actually set text value
Simplify node info layout to avoid defining margins on everything
* Use compose preview in layout editor
* Add simple preview for use in layout
2024-02-26 19:19:32 -03:00
andrekir
5c98936e23
refactor: simplify passing args to MessagesFragment
2024-02-25 08:33:51 -03:00
Davis
2bfda9784f
Feature: Jump to node info from message ( #844 )
...
* Highlight the node in the node list tab when the user taps on the node chip in messages
* Represent main tabs as enum for more reliable referencing
* Extract tab labels to string resources for easier translation
Annotate resource IDs with their corresponding Android types
* Index off nodes actually in the adapter since they are sorted
* Update viewmodel when tab changes to prevent jumping to other tabs in onResume
* Mark strings as non-translatable for now
2024-02-13 18:32:52 -03:00
andrekir
bc85822133
refactor: simplify ourNodeInfo logic
2024-02-08 16:56:10 -03:00
Andre K
c8f93db00d
refactor: implement repository pattern for NodeDB ( #835 )
...
- enforce Unidirectional Data Flow removing nodeDB updates via `MainActivity`/`UIState`
- merge `MyNodeInfoDao` into `NodeInfoDao`
- move node list re-indexing to database
2024-02-06 20:03:15 -03:00
andrekir
6aa1b70274
feat: add client-side NodeInfo channel routing
2024-01-17 19:34:55 -03:00
andrekir
45d93a1d9a
feat: add NodeInfo channel to node list
2024-01-10 17:31:06 -03:00
andrekir
c489717ad1
refactor: convert NodeDB to repository
2023-10-20 19:38:18 -03:00
andrekir
e82eb9413c
refactor: don't cancel/dismiss traceroute dialogs
2023-10-12 18:36:35 -03:00
andrekir
85a13bd1a1
refactor(nodes): observe configs for live UI updates
2023-10-08 21:16:38 -03:00
andrekir
7869243290
refactor(config): move business logic to ViewModel
2023-09-17 06:18:46 -03:00
andrekir
b93098cbce
fix: remove constructor from DeviceSettingsFragment
2023-09-11 21:26:42 -03:00
andrekir
e72b046c53
refactor: convert gpsString to Position extension
2023-09-04 18:40:21 -03:00
andrekir
7e63b55ac5
fix: menu item isEnabled logic for ignore option
2023-08-31 15:43:30 -03:00
andrekir
ac3190e944
feat: add menu item to add/remove nodes from ignoreIncomingList
2023-08-25 19:39:52 -03:00
andrekir
442066d64c
refactor(traceroute): handle unknown usernames
2023-08-25 17:10:29 -03:00
andrekir
46bad2f5eb
refactor: simplify user null-safety in PopupMenu
2023-08-25 17:02:12 -03:00
andrekir
cdc76155d9
style: replace Pair() usage with explicit values
2023-07-31 23:07:27 -03:00
Jonathan Bennett
4e410622d8
feat: Honor radio's option to use Fahrenheit ( #658 )
2023-07-16 05:46:54 -03:00
Jonathan Bennett
37762f300b
feat: Add option for Miles and Feet for distance ( #651 )
2023-07-06 18:26:38 -03:00
andrekir
d297a5e364
fix: ignore packetResponse implicit ACKs
2023-06-02 17:29:20 -03:00
andrekir
d01e8e8e74
refactor: clean up myNodeInfo from UsersFragment
2023-05-24 06:39:26 -03:00
andrekir
e2f63e015c
fix: reindex node list when local node isn't first (index 0)
2023-05-21 06:08:34 -03:00
andrekir
a316495545
refactor: move shutdown/reboot/etc to radio configs
2023-05-13 18:14:47 -03:00
andrekir
9dc1a45fe6
fix: correct traceroute to/from order
2023-04-29 07:26:52 -03:00
andrekir
ab46bf6ab9
refactor: simplify routeDiscovery conditional
2023-04-26 17:56:10 -03:00
Andre K
85e62eaab4
feat: add remote node configuration ( #626 )
2023-04-22 12:06:25 -03:00
Andre K
da5f1d529d
feat: add traceroute ( #620 )
2023-04-16 06:16:41 -03:00
Andre K
a8be41d158
feat: add node colors ( #618 )
2023-04-13 17:54:52 -03:00
andrekir
b3d581486a
fix: add onDestroyView() to release fragment resources
2023-04-03 18:03:55 -03:00
andrekir
ca7e459dfe
refactor: change battery powered from 111 to 101
...
https://github.com/meshtastic/firmware/issues/2392
2023-04-01 07:49:40 -03:00
andrekir
8bd955ed6b
refactor: update battery level convention
...
reference https://github.com/meshtastic/firmware/issues/2332
2023-03-11 07:45:50 -03:00
andrekir
9e8900ec4f
refactor: convert ourNodeInfo to Flow
2023-02-02 17:13:44 -03:00
Andre K
0c783dfbff
add fields for position fixed ( #524 )
2022-11-15 22:00:29 -03:00
Andre K
9442c1d510
config clean up and updates ( #522 )
2022-11-15 12:19:59 -03:00
andrekir
6894883362
add option to request remote nodes position
2022-11-06 17:46:57 -03:00
andrekir
d9eb113b12
add remote node admin
2022-10-10 18:09:20 -03:00
andrekir
b401c8bac3
move admin messages to nodes tab
2022-09-30 15:57:04 -03:00
andrekir
a60013e2dd
refactor node list card layout
2022-09-27 16:29:41 -03:00
andrekir
65e982ddd5
refactor messages to Room database
2022-09-15 22:24:04 -03:00
andrekir
7be67ec2d4
add EnvironmentMetrics to nodes tab
2022-09-12 18:23:59 -03:00
andrekir
5eb5cd1421
incorporate androidlib
2022-09-04 22:52:40 -03:00
andrekir
5d95017efa
add osm map features
2022-08-30 17:25:11 -03:00
andrekir
9227ce3ba5
improve users fragment
2022-04-22 16:56:27 -03:00
andrekir
78f7477c85
promote device metrics
2022-04-04 19:10:15 -03:00
andrekir
143bb255d1
update nodelist to telemetry deviceMetrics
2022-03-28 15:52:32 -03:00
Mike Cumings
654a32c01c
Introduce Hilt dependency injection
...
Uses Hilt to get the database initialization off of the
main thread.
The initial introduction always has a disproportionate
fan-out of boilerplate. In this case, all entry points which
were using UIViewModel needed to be annotated in order to let
the code gen know that they needed to support it.
The PacketRepository is injected into things via the main
thread (e.g., the MeshService) but due to the lazy declaration,
the database isn't hydrated until the DAO is access while on an
IO thread.
2022-02-08 13:57:04 -08:00
andrekir
fbe79dbfa6
add channelUtilization & airUtilTx to UsersFragment
2022-01-26 22:28:30 -03:00
Kevin Hester
5b653d29f8
reformat per coding conventions
2021-03-29 20:33:06 +08:00
Kevin Hester
3c457a118d
cleanup lastHeard in node info (instead of position.time)
2021-03-27 10:55:16 +08:00