Commit graph

304 commits

Author SHA1 Message Date
andrekir
f73d909cd0 refactor: consolidate QR code scanning methods 2024-11-21 10:32:37 -03:00
andrekir
cfdb245da2 refactor: convert connectionState to StateFlow 2024-11-12 09:15:45 -03:00
James Rich
80e915a36c
feat: show unique messaging notifications per contact (#1381)
* Show unique notifications per contact

Instead of a single notification for all messages, each contact now has its own, unique notification. This uses the `NotificationCompat.MessagingStyle` and the contact's name to create distinct notifications, enhancing message organization.

* feat: Add notification tap action to open contacts tab

This is done by:
- Adding an intent extra to the notification with the contact key for future use to navigate to the message thread.
- Adding a new action to the MainActivity to handle the intent.
- Updating the message notification to include the intent.

* Open message notification to the correct conversation

Adds an extra to the message notification intent to open the correct conversation. This ensures that when a user taps on a message notification, they are taken to the conversation with the sender of that message.
2024-11-04 19:05:39 -03:00
L. Pereira
abb4db8faf
feat: Short duration for the "notification permissions denied" snackbar (#1346) 2024-10-26 05:55:21 -03:00
andrekir
3ac0e8c28e refactor: extract NavGraph from RadioConfig 2024-10-21 06:07:28 -03:00
andrekir
fe56d257f5 chore: add detekt formatting rule set
https://detekt.dev/docs/next/rules/formatting/
2024-10-14 07:56:29 -03:00
andrekir
c0692b80ec refactor: remove legacy BLE characteristic 2024-10-02 20:00:02 -03:00
AddisonTustin
e4c6000a10
feat: support add=true in QR codes (#1151) 2024-07-28 08:50:54 -03:00
andrekir
db500c5200 refactor: migrate UsersFragment to Compose 2024-06-23 08:24:29 -03:00
andrekir
c15c3d8c09 refactor(config): pass destNum via setFragmentResultListener 2024-04-15 17:56:47 -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
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
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
andrekir
3922bfbffb refactor: move RadioInterfaceService out of Activity / Fragment 2023-11-03 19:01:19 -03:00
andrekir
c6a97e7cc8 refactor: move app intro after language picker 2023-11-03 18:57:44 -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
13c76f49ee refactor: implement repository pattern for ConnectionState 2023-10-21 07:24:46 -03:00
andrekir
c489717ad1 refactor: convert NodeDB to repository 2023-10-20 19:38:18 -03:00
andrekir
8d22a23fe1 feat: warn user when duty cycle limit reached
closes #540
2023-10-12 22:52:54 -03:00
andrekir
4e7ea67da0 refactor: convert ChannelSet to protobuf extensions 2023-10-07 08:47:56 -03:00
andrekir
37dad9b6fa refactor: move IMeshService instance to repository 2023-10-06 17:54:37 -03:00
andrekir
4e75a0c879 refactor(config): improve null node handling 2023-09-26 18:27:05 -03:00
andrekir
b93098cbce fix: remove constructor from DeviceSettingsFragment 2023-09-11 21:26:42 -03:00
Andre K
83722159be
refactor: migrate nodeDB to Room database (#717) 2023-09-05 08:19:26 -03:00
andrekir
15ed09680f chore: update compileSdk and targetSdk to API 33 2023-08-27 07:03:36 -03:00
andrekir
cdc76155d9 style: replace Pair() usage with explicit values 2023-07-31 23:07:27 -03:00
andrekir
f222fe4d5e refactor: move snackbar out of ScrollView 2023-07-27 06:30:15 -03:00
Andre K
d4879ceea9
refactor: migrate MapFragment to Composable (#647) 2023-06-24 07:58:01 -03:00
Andre K
271124dc9c
refactor: implement CompatExtensions (#641)
updates deprecated methods, classes, and flags introduced in Android SDK 33, while ensuring compatibility with previous Android versions
2023-05-30 18:30:46 -03:00
andrekir
1380924a37 refactor: remove BTScanModel from MainActivity 2023-05-26 17:24:23 -03:00
andrekir
956db658e9 refactor: remove RadioInterfaceService from MainActivity 2023-05-24 06:43:58 -03:00
andrekir
0c78bc4e49 feat: add managed mode 2023-05-13 18:18:49 -03:00
Andre K
85e62eaab4
feat: add remote node configuration (#626) 2023-04-22 12:06:25 -03:00
Andre K
a5fa47292e
refactor: split configs into individual components (#623) 2023-04-17 17:13:26 -03:00
andrekir
09662c0141 fix: removeObservers when onStop is called (UI not visible) 2023-04-03 18:30:54 -03:00
andrekir
7fedc2b0e1 refactor: move activity out of BTScanModel 2023-04-03 18:29:41 -03:00
andrekir
56b1d6d965 fix: revert TabInfo refactor
reverts b765ac4453 (causing: Fatal Exception: java.lang.IllegalStateException: onAttach called multiple times with different Context! Hilt Fragments should not be retained).
2023-03-23 12:28:44 -03:00
andrekir
b765ac4453 refactor: convert TabInfo to enum class 2023-03-19 07:47:17 -03:00
andrekir
8be39466d6 style: fix formatting 2023-02-20 21:25:27 -03:00
andrekir
71c7aca10b refactor: clean up theme and language pickers 2023-01-26 23:02:44 -03:00
andrekir
9ea6dff385 refactor: move askToRate() to GeeksvilleApplication 2023-01-26 22:30:47 -03:00
Andre K
99a42b1aa1
export hardcoded strings (#547) 2022-12-28 17:37:25 -03:00
Andre K
c9a81c72e0
update in-app language picker (#538) 2022-12-10 11:03:14 -03:00
andrekir
5c3595931f use encodeToByteArray / decodeToString methods 2022-12-10 00:45:50 -03:00
Andre K
689e7e7eca
add ModuleConfig settings (#526) 2022-11-22 22:01:37 -03:00
andrekir
00de511907 update targetSdkVersion to 31 2022-11-04 18:31:18 -03:00
andrekir
6c37b451c3 clean up view bindings 2022-10-16 19:16:33 -03:00
andrekir
22671a73db detect UUID to warn firmware is too old 2022-10-12 23:40:54 -03:00
andrekir
68558e4078 remove DataPacket storage from MeshService 2022-09-16 18:17:19 -03:00
andrekir
65e982ddd5 refactor messages to Room database 2022-09-15 22:24:04 -03:00