Commit Graph

1586 Commits

Author SHA1 Message Date
andrekir
d21e735ae7 fix: missing ModuleConfig handling 2024-03-18 08:17:35 -03:00
andrekir
40aae19b45 feat: add MQTT mapReportSettings config 2024-03-13 20:50:57 -03:00
prokrypt
59b67d429d 2 decimal places for plugged-in voltage 2024-03-13 20:40:29 -03:00
andrekir
5983424d48 refactor: remote admin channel validation 2024-03-11 22:27:14 -03:00
andrekir
902d1697a9 fix: add new modules to DeviceProfile import
closes #906
2024-03-11 22:25:38 -03:00
andrekir
6b8814cd87 refactor: update client proxy MQTT topic
reference: https://github.com/meshtastic/firmware/pull/3353
2024-03-11 22:24:05 -03:00
andrekir
c3eb80bcfc feat: tag node names in installNodeInfo using viaMqtt 2024-03-10 08:18:25 -03:00
andrekir
466fcc63fe refactor: limit message input by bytes instead of character length 2024-03-10 08:18:03 -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
1468b26d3b Restore voltage precision to 2 places (#889) 2024-03-07 05:47:57 -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
Davis
4f9011fe57 Add number of GPS satellites in view to DB for later display (#883)
* Add a couple more fields to position
Use auto migration over manula migration
2024-02-29 11:18:02 -03:00
andrekir
85dacaf53b feat: tag node names when NodeInfo is received via MQTT 2024-02-28 17:52:49 -03:00
andrekir
6cd972522d refactor: revert Button custom background color 2024-02-28 17:51:48 -03:00
andrekir
5b35280076 fix: use validPosition in LinkedCoordinates 2024-02-28 17:50:50 -03:00
Andre K
2e009ca49c feat: add condition check to scroll to bottom of messages list (#882) 2024-02-28 12:53:08 -03:00
Davis
9e9ecba4e3 Move signal info to compose (#879)
* 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
2024-02-28 12:43:29 -03:00
Davis
8f312e5d16 Move last heard in node info to compose (#878)
* 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
2024-02-28 11:29:13 -03:00
andrekir
0095fc95d7 feat: add ChannelSettings position_precision config 2024-02-28 07:49:24 -03:00
Davis
9ecae6c0e1 Node position to compose (#877)
* 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
2024-02-27 18:43:47 -03:00
andrekir
804e8487af refactor: revert OutlinedTextField custom cursor color
reverts: f4a2100be9
2024-02-26 19:27:37 -03:00
andrekir
1990dfbabf fix: clear focus before deleting ignore_incoming
closes #872
2024-02-26 19:22:12 -03:00
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
daviscodesbugs
7fb2761dc6 Round corners and pad label background 2024-02-26 19:14:34 -03:00
andrekir
5c98936e23 refactor: simplify passing args to MessagesFragment 2024-02-25 08:33:51 -03:00
andrekir
6a0d9b523b refactor: handle closing NsdManager service discovery if already stopped 2024-02-25 08:29:39 -03:00
andrekir
55ae55a817 refactor: set NyNodeInfo first in installNodeDB 2024-02-25 07:55:36 -03:00
andrekir
dec48b155e refactor: temporary disable processPacketQueue 2024-02-25 07:45:48 -03:00
andrekir
44d260abff refactor: rename channel_num to frequency slot 2024-02-25 07:44:53 -03:00
andrekir
570a26b413 fix: parsing StoreAndForward text messages 2024-02-25 07:42:22 -03:00
Davis
2de49c143b Remove UI for firmware update (button and progress) and accompanying logic (#870)
Use non-deprecated method for checking IP address format
2024-02-25 07:38:51 -03:00
andrekir
6e83870295 fix: revert main tab reference change
reverts 4add8f97da
2024-02-18 08:01:51 -03:00
andrekir
3713d371fa refactor: use AutoMirrored icons for RTL support 2024-02-18 07:39:49 -03:00
andrekir
05b88e617c feat: add basic StoreAndForward handling 2024-02-18 07:37:18 -03:00
andrekir
f83113710f refactor: contacts to use combine() with channels 2024-02-15 08:55:35 -03:00
andrekir
f36ff3dbfc feat: add Singapore region info 2024-02-15 08:48:11 -03:00
Mike Cumings
763ef749f7 Change CSV output to be RFC4180 compliant (#852) 2024-02-15 08:47:00 -03:00
Davis
11e31675ca Refactor and cleanup (#850)
* Move google play check to extension

* Extract launching bug report dialog

* Add missing extension for fdroid flavor
2024-02-13 18:41:40 -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
ada2f14a78 refactor: update PositionConfigItemList 2024-02-12 17:56:00 -03:00
andrekir
1c5e2dbefc refactor: getContacts() DAO using Map return type 2024-02-11 07:51:41 -03:00
andrekir
5a1b355b66 fix: replace MutableList with CopyOnWriteArrayList 2024-02-08 17:22:27 -03:00
andrekir
bc85822133 refactor: simplify ourNodeInfo logic 2024-02-08 16:56:10 -03:00
Andre K
01360dc557 refactor: migrate to Firebase KTX in the main modules (#836) 2024-02-08 16:45:28 -03:00
Davis
fa48888c3a Feature: Long press node in map opens DM (#837) 2024-02-07 18:09:53 -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
Mike Cumings
e32a1dadea Annotated debug panel of to/from fields with hex form (#830) 2024-02-02 23:55:41 -03:00
andrekir
f8a7596219 feat: add JSON topic subscription to MQTT client 2024-01-28 07:51:58 -03:00
andrekir
91943860e9 refactor: simplify NsdManager service handling 2024-01-28 07:24:26 -03:00
andrekir
8709c6ba53 refactor: improve ConnectivityManager extensions 2024-01-28 07:18:44 -03:00