Commit graph

75 commits

Author SHA1 Message Date
andrekir
24886994a6 feat: show lock icon for nodes with public keys 🔒 2024-09-16 18:44:18 -03:00
andrekir
2433cbc00a feat: show names with a lock for DMs using PKC 2024-09-16 10:30:15 -03:00
Andre K
9d5cf47762
refactor: migrate MessagesFragment RecyclerView to Compose (#1133) 2024-09-09 06:15:27 -03:00
James Rich
8dad5a085e
Feat: Show channel number and name in direct message title (#1131)
* Feat: Show channel number and name in direct message title

This commit updates the message title to include the channel number and name when viewing direct messages.

This improves the user experience by providing more context about the conversation.

* Refactor: Improve message fragment toolbar

Use MaterialToolbar's built-in title and subtitle features to display channel name and number, simplifying the layout and improving UI consistency.
2024-07-13 07:25:22 -03:00
andrekir
0774124603 refactor: unread count from RecyclerView scroll listener 2024-06-16 08:41:53 -03:00
andrekir
d7013e1386 feat: add unread message count 2024-06-15 12:42:55 -03:00
Andre K
5b3c78316b
feat: support for switching between devices (#1078) 2024-06-08 10:25:47 -03:00
Andre K
ecaf35d7f3
feat: add ActionMenu option to mute contacts (#1003) 2024-04-28 16:18:16 -03:00
andrekir
466fcc63fe refactor: limit message input by bytes instead of character length 2024-03-10 08:18:03 -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
andrekir
5c98936e23 refactor: simplify passing args to MessagesFragment 2024-02-25 08:33: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
andrekir
c489717ad1 refactor: convert NodeDB to repository 2023-10-20 19:38:18 -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
b3d581486a fix: add onDestroyView() to release fragment resources 2023-04-03 18:03:55 -03:00
andrekir
5a28649a08 refactor: consolidate extensions 2023-03-02 21:37:04 -03:00
andrekir
62420132f1 feat: waypoints 2023-02-01 12:49:30 -03:00
Andre K
7c28c4091f
distinguish between implicit and real ACKs (#552) 2023-01-02 22:23:23 -03:00
andrekir
1e95c200e6 handle missing contactKey digit 2023-01-02 21:36:35 -03:00
andrekir
e816b03f47 update isConnected logic 2022-12-10 00:42:51 -03:00
andrekir
65e982ddd5 refactor messages to Room database 2022-09-15 22:24:04 -03:00
andrekir
5eb5cd1421 incorporate androidlib 2022-09-04 22:52:40 -03:00
andrekir
e90b856524 move DELAYED_BROADCAST logic to service 2022-09-03 07:38:36 -03:00
Douile
36b5a9eefb
Fix iterating items in repositionItems 2022-08-16 12:25:40 +01:00
Douile
1bdb6bf340
Add drag to re-arrange support for quick chat actions 2022-08-12 15:35:27 +01:00
Douile
7da224a1ce
Store QuickChatActions in the database 2022-08-11 16:43:26 +01:00
Douile
483eca94e9
Use QuickChatAction model to add buttons in message fragment
Also fix replace the vertical scroll view with horizontal
2022-08-10 17:31:16 +01:00
Douile
ed88170c42
Quick chat 2022-08-09 15:26:52 +01:00
andrekir
48fd657d8a update protobufs 2022-05-26 16:23:47 -03:00
andrekir
99dfc8014a use standard IM text input convention 2022-05-06 17:25:35 -03:00
andrekir
27c1817a59 rename isConnected --> connectionState 2022-04-24 12:12:13 -03:00
andrekir
def08cde75 include resendButton in changes 2022-04-19 16:15:47 -03:00
andrekir
89811d4aa4 cleanup actionmode 2022-04-19 15:10:17 -03:00
wkawecki
7e1e78fb64 meshtastic#73 change icon, bugfixes 2022-04-19 16:01:01 +02:00
wkawecki
6f9f2c4b04 meshtastic#73 'Resend Button' on message selection 2022-04-12 17:00:49 +02:00
andrekir
1bc843897d use keyboard capitalization settings 2022-04-07 23:21:12 -03:00
andrekir
ba2a6e0573 add contacts 2022-04-03 11:25:50 -03:00
andrekir
0b0d82dc76 deleteMessage index by packet id 2022-03-02 11:21:43 -03:00
andrekir
9e00e0fa9f add action mode menu to messages (delete select all) 2022-02-28 15:47:52 -03:00
Mike Cumings
654a32c01c Introduce Hilt dependency injection
Uses Hilt to get the database initialization off of the
main thread.

The initial introduction always has a disproportionate
fan-out of boilerplate. In this case, all entry points which
were using UIViewModel needed to be annotated in order to let
the code gen know that they needed to support it.

The PacketRepository is injected into things via the main
thread (e.g., the MeshService) but due to the lazy declaration,
the database isn't hydrated until the DAO is access while on an
IO thread.
2022-02-08 13:57:04 -08:00
Jackson Rosenthal
93e81e4639 Added delete all messages into the AlertDialog. 2022-01-31 19:11:32 -05:00
Jackson Rosenthal
863426ce6b Deleted commented out code & unused imports 2022-01-29 18:35:24 -05:00
Jackson Rosenthal
2785ab49c3 Deleted commented out code 2022-01-29 18:05:40 -05:00
Jackson Rosenthal
bc0c682eea Added popup to prompt delete when user long presses 2022-01-29 18:00:24 -05:00
Jackson Rosenthal
e27a76633c Delete messages from view by long clicking. Looking into clearing "all messages" & menu for deleting individual messages 2022-01-29 14:31:08 -05:00
Jackson Rosenthal
c08c652d97 Testing click deletion of messages. (Messages still stored after sending new message or connecting to radio) 2022-01-28 21:40:05 -05:00
Andre Kirchhoff
a115392c0f
fix local IME Action call 2021-11-28 16:14:34 -03:00
Kevin Hester
d867c5c85e
Merge branch 'master' into sendButton 2021-11-18 02:02:34 +08:00
andrekir
f4c754e599 Fix: MessagesFragment layout
- fix our messages right margin; received left margin (compare "msg.from" to "^local" to "determine if this is my message (originated on this device)";
- night/colors.xml: changed colorMyMsg to #28463C; (colorMsg & colorMyMsg were the same on Dark theme);
- fix val one_day typo (= 86400000 ms/day);
- if errorMessage --> setCardBackgroundColor(Color.RED).
2021-09-07 22:18:54 -03:00