Commit graph

805 commits

Author SHA1 Message Date
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
andrekir
e9f63b4e80 refactor: add channel hash function 2024-01-10 05:33:19 -03:00
andrekir
1691acb59d fix: channel PSK validation 2024-01-10 05:27:05 -03:00
andrekir
35364a6685 refactor: Bluetooth scan only when adapter is enabled 2024-01-03 13:01:12 -03:00
andrekir
fcb65f0be1 refactor: improve CompanionDeviceManager handling 2023-11-29 05:55:45 -03:00
andrekir
23966b173b refactor: change length of wifi_psk
ref.: https://github.com/meshtastic/protobufs/pull/402
2023-11-22 07:33:37 -03:00
Thomas Göttgens
105f38e97c
feat: add a tablet friendly mode (#782) 2023-11-18 06:03:19 -03:00
andrekir
f29d4e2309 refactor: extract Bluetooth and USB API methods to repositories 2023-11-17 08:46:54 -03:00
andrekir
c6ad5dcfdf feat: add new configs 2023-11-06 07:50:25 -03:00
andrekir
a5822bb532 fix: InvalidWakeLockTag 2023-11-03 19:08:05 -03:00
andrekir
3922bfbffb refactor: move RadioInterfaceService out of Activity / Fragment 2023-11-03 19:01:19 -03:00
Mike Cumings
a7b0d70c03
Continued work on #369: Inject radio interface implementations (#481)
This required creation of new interfaces in order to break the
static coupling.  This also allowed for the removal of some plumbing
of dependencies of these implementations since they are now directly
injected.
2023-10-24 16:09:18 -03:00
andrekir
c489717ad1 refactor: convert NodeDB to repository 2023-10-20 19:38:18 -03:00
andrekir
3c18b2535e refactor: always send position config change 2023-10-19 17:13:22 -03:00
andrekir
e82eb9413c refactor: don't cancel/dismiss traceroute dialogs 2023-10-12 18:36:35 -03:00
andrekir
d71a9171ec fix: import config missing data 2023-10-11 18:38:06 -03:00
andrekir
85a13bd1a1 refactor(nodes): observe configs for live UI updates 2023-10-08 21:16:38 -03:00
andrekir
4e7ea67da0 refactor: convert ChannelSet to protobuf extensions 2023-10-07 08:47:56 -03:00
andrekir
3288b07e5e refactor: move RadioConfig logic into separate ViewModel 2023-10-06 19:05:34 -03:00
andrekir
7c30d86e39 feat: add feedback for configuration changes 2023-10-03 18:32:44 -03:00
andrekir
26195e8d39 refactor: use rememberSaveable for showChannelEditor 2023-10-03 17:05:56 -03:00
andrekir
1185e38bfd refactor: use OutlinedButton in config dialog 2023-10-01 17:49:01 -03:00
andrekir
d4659eca61 refactor: animate ResponseState.Loading progress bar 2023-10-01 11:09:08 -03:00
andrekir
e02ecaec6e refactor: set random PSK on default channel name change 2023-10-01 11:05:42 -03:00
andrekir
a10fe75f64 refactor: single-page channel editing 2023-10-01 10:50:19 -03:00
andrekir
fdb94fb547 refactor(messages): add back button 2023-09-30 06:40:05 -03:00
andrekir
c26b6dd7ac refactor(messages): persist contact variables 2023-09-30 06:39:03 -03:00
andrekir
3188706776 feat: add new configs 2023-09-29 22:31:22 -03:00
andrekir
4e75a0c879 refactor(config): improve null node handling 2023-09-26 18:27:05 -03:00
andrekir
7869243290 refactor(config): move business logic to ViewModel 2023-09-17 06:18:46 -03:00
andrekir
e8b0f1584b refactor: replace enum values() with entries property
https://kotlinlang.org/docs/whatsnew19.html#stable-replacement-of-the-enum-class-values-function
2023-09-16 08:27:01 -03:00
andrekir
d7d856a4a8 refactor(channels): use clickable OutlinedTextField 2023-09-16 07:35:20 -03:00
andrekir
6b93f86b52 refactor: use OutlinedButtons in PreferenceFooter 2023-09-16 07:32:38 -03:00
andrekir
4fa9c8f3cb refactor: change default map source to Mapnik 2023-09-11 21:39:55 -03:00
andrekir
b3629b6342 feat: add TopAppBar with back button to radio configs 2023-09-11 21:37:53 -03:00