* Initial Hops Away feature
* Generate our own hopsAway, comparing hopStart to hopLimit
* Remove import of hopsAway from device nodeInfo, as this only shows 0 when hopStart isn't included on packets (with this info, we can't differentiate between a node which is Hops Away but on old firmware, or nodes which are on new firmware but direct. Both are 0)
Check if hopStart is 0 but hopLimit is not 0, if true set hopsAway to -1.
Show nodes with hopsAway with -1 with a (!) appended to the RSSI details, to show this probably isn't true. (eg they are using old firmware)
Change the default of hopsAway to -1, until we know it is direct (0) or hops away (1+)
* tidy up: move from nested if else to when
* Revert Project_Default.xml
* Move hopsAway when block in to updateNodeInfo() block above it.
Move hopsAway var to end of NodeInfo Class.
Schema update due to change above.
* hopsAway now follows firmware implementation.
hopsAway now imported from radio (installNodeInfo)
* reformat
---------
Co-authored-by: andrekir <andrekir@pm.me>
* 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
* 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