Commit graph

10 commits

Author SHA1 Message Date
James Rich
fc2559f5f5
Expanding node info cards (#1144) 2024-07-28 07:04:50 -03:00
James Rich
183b337d61 Fix: Display correct hardware info in NodeInfo
The hardware information displayed in the NodeInfo view was incorrect. This commit fixes the issue by using the correct node
 information to retrieve the hardware model string.
2024-07-02 19:03:57 -03:00
James Rich
a59aaf5c28
Adds hardware model string to NodeInfo card ui if available (#1111) 2024-07-01 22:17:05 -03:00
andrekir
db500c5200 refactor: migrate UsersFragment to Compose 2024-06-23 08:24:29 -03:00
andrekir
4ceb4c5199 feat: add nodelist sort options 2024-06-02 09:24:22 -03:00
andrekir
f822080d0c refactor: hide GPS satellites with empty values 2024-05-19 06:52:31 -03:00
Davis
e887336da3
Long press node in map jumps to node in node list (#955)
* Fix scrolling to node and blinking

* Show node in list, instead of opening DM
2024-04-06 08:36:01 -03:00
Davis
675c6a6b22
Feature: Filter node list (#920)
* Filter node list with text field against shortname and longname

* Show filter hint

* Reference "this" node from model instead of list position
2024-03-31 16:39:35 -03:00
Davis
248982d14c
Add elevation and number of GPS satellites to node info (#895)
* 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

* Move node position to Compose

* Update hyperlink color to match previous value

* Use compose preview in layout editor

* Use compose preview in layout editor

* Add simple preview for use in layout

* Move last heard node info to Compose
Clean up layout of node info

* Move signal info to Compose and simplify bind

* Prevent long coordinates from colliding with signal info

* Move the rest of the node info card to compose
Breaks the blinking feature when navigating from chat
Wrap position to new line if overflow

* Adjust layout and text sizing to closer match original

* Use constraint layout for tighter display on busy nodes

* Construct environment metrics so that there aren't trailing spaces if current is zero

* Swap viewholder root for compose view rather than inflating layout
Fix padding lost when changing out view holder root
Intelligently update the list with only nodes that changed

* Remove unused method, and adjust replacement method to match the same decimal precisions as before

* Add elevation and number of GPS satellites to node info list
Add some extension functions for easier conversion between units and systems

* Dispose composition on recycle to avoid lingering spacing from previous layouts
Remove comments explaning adapter functionality
Remove unused methods

* Use previous string for denoting unknown node names

* Align properly if altitude but no signal info
2024-03-07 06:34:43 -03:00
Davis
9e54787a7d
Move Node info completely to Compose (#886)
* 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

* Move node position to Compose

* Update hyperlink color to match previous value

* Use compose preview in layout editor

* Use compose preview in layout editor

* Add simple preview for use in layout

* Move last heard node info to Compose
Clean up layout of node info

* Move signal info to Compose and simplify bind

* Prevent long coordinates from colliding with signal info

* Move the rest of the node info card to compose
Breaks the blinking feature when navigating from chat
Wrap position to new line if overflow

* Adjust layout and text sizing to closer match original

* Use constraint layout for tighter display on busy nodes

* Construct environment metrics so that there aren't trailing spaces if current is zero

* Swap viewholder root for compose view rather than inflating layout
Fix padding lost when changing out view holder root
Intelligently update the list with only nodes that changed

* Remove unused method, and adjust replacement method to match the same decimal precisions as before

* Use previous string for denoting unknown node names

* Mark unknown short name as non-translatable
2024-03-07 05:39:02 -03:00