Commit graph

839 commits

Author SHA1 Message Date
Jonathan Bennett
828696aca7
Add option to delete single node from nodeDB (#958) 2024-04-09 07:18:38 -03:00
andrekir
54435fc031 refactor: move DebugFragment to separate ViewModel 2024-04-07 17:41:18 -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
andrekir
a7a9d543da docs: add tx_power unit (dBm) 2024-04-06 07:58:06 -03:00
andrekir
f633ed74cb refactor: align channel PSK Base64 flags with other platforms
closes #937
2024-04-01 22:55:21 -03:00
andrekir
9024d36985 refactor: handle ActivityNotFoundException when opening URIs 2024-04-01 19:45:56 -03:00
andrekir
6e3e173096 refactor: add fixed position admin messages 2024-04-01 19:32:28 -03:00
andrekir
2c916f88ca refactor: node popup menu param from position to NodeInfo 2024-04-01 18:34:32 -03:00
andrekir
cb7ef639c0 refactor: sort node list by lastHeard in database query 2024-03-31 16:45:07 -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
andrekir
e3f495e352 fix: add LinearLayoutManager wrapper for RecyclerView bug workaround 2024-03-26 08:06:10 -03:00
andrekir
8ec8654d60 refactor: replace DownloadButton Image with Icon 2024-03-26 08:05:13 -03:00
andrekir
464f787b24 refactor: remove warning_default_psk string 2024-03-26 08:04:44 -03:00
andrekir
ded6aae1a7 fix: add LinkedCoordinates placeholder when position is invalid 2024-03-19 08:57:23 -03:00
andrekir
ee61b79aa3 refactor: remove channel disambiguation suffix 2024-03-18 08:34:56 -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
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
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
andrekir
5c98936e23 refactor: simplify passing args to MessagesFragment 2024-02-25 08:33:51 -03:00
andrekir
44d260abff refactor: rename channel_num to frequency slot 2024-02-25 07:44:53 -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 https://github.com/meshtastic/Meshtastic-Android/pull/844/commits/4add8f97da5cc24455fff5ed7c7a7e3064e3d534
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
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
bc85822133 refactor: simplify ourNodeInfo logic 2024-02-08 16:56:10 -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
b972cab214 feat: add ignore_mqtt to LoRa config
ref.: https://github.com/meshtastic/firmware/pull/3117
2024-01-21 06:37:27 -03:00
andrekir
6aa1b70274 feat: add client-side NodeInfo channel routing 2024-01-17 19:34:55 -03:00
andrekir
104e6ef25e feat: add paxcounter module config 2024-01-17 19:06:37 -03:00
andrekir
45d93a1d9a feat: add NodeInfo channel to node list 2024-01-10 17:31:06 -03:00
andrekir
f4a2100be9 fix: OutlinedTextField cursor visibility 2024-01-10 12:29:12 -03:00