Commit graph

194 commits

Author SHA1 Message Date
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
56d9f03748 refactor: migrate QuickChatFragment RecyclerView to Compose 2024-07-06 07:43:01 -03:00
andrekir
70b03d92cb fix: renamed layout reference 2024-07-02 19:06:51 -03:00
andrekir
a543bcbfcd refactor: migrate DebugFragment RecyclerView to Compose 2024-07-01 23:04:15 -03:00
andrekir
db500c5200 refactor: migrate UsersFragment to Compose 2024-06-23 08:24:29 -03:00
andrekir
e4f5d9b89c refactor: migrate ContactsFragment to Compose 2024-06-15 12:42:55 -03:00
Andre K
ecaf35d7f3
feat: add ActionMenu option to mute contacts (#1003) 2024-04-28 16:18:16 -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
466fcc63fe refactor: limit message input by bytes instead of character length 2024-03-10 08:18:03 -03:00
andrekir
0b874300ee fix: remove autoLink from contacts MaterialCardView
Prevents interference with the Card onClickListener when opening MessagesFragment.
2024-03-10 05:13:58 -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
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
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
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
Davis
d16b87f5e8
Fix UI contrast and theming (#871) 2024-02-26 19:13:27 -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
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
kristofer
a98ca72614
fix #783: quick chat dialog inputType and maxLength (#788) 2023-12-01 06:02:26 -03:00
andrekir
0330b8ff80 refactor: adjust for landscape 2023-11-18 05:51:42 -03:00
andrekir
fdb94fb547 refactor(messages): add back button 2023-09-30 06:40:05 -03:00
andrekir
2fa01b4c4c chore: remove unused layout file 2023-08-22 22:51:01 -03:00
Jonathan Bennett
bbb9ca3921
feat: Adds Field to Specify Device IP (#663) 2023-07-17 20:28:32 -03:00
Andre K
5bf4c9c184
refactor: migrate ChannelFragment to Composable (#615) 2023-04-07 12:43:29 -03:00
andrekir
af287c2e6f feat: update Compose in Fragments to use ComposeView 2023-03-02 21:59:22 -03:00
andrekir
62420132f1 feat: waypoints 2023-02-01 12:49:30 -03:00
Andre K
99a42b1aa1
export hardcoded strings (#547) 2022-12-28 17:37:25 -03:00
Andre K
689e7e7eca
add ModuleConfig settings (#526) 2022-11-22 22:01:37 -03:00
Andre K
4bcd408dce
add user & device config settings (#520)
* add MeshUser & LocalConfig prefs
2022-11-08 23:11:18 -03:00
andrekir
aa8596da2a fix nodes card layout 2022-10-30 17:19:10 -03:00
andrekir
6c37b451c3 clean up view bindings 2022-10-16 19:16:33 -03:00
PWRxPSYCHO
d9a6efe5d4 removed hard-coded strings 2022-10-07 17:33:12 -04:00
PWRxPSYCHO
b1291e28a7 Moving right along 2022-10-06 17:08:35 -04:00
PWRxPSYCHO
63bee8a3d8 Removed duplicate method and cleaned up some code 2022-10-06 13:16:51 -04:00
PWRxPSYCHO
6bb2a59977 Getting close :) 2022-10-05 22:56:27 -04:00
PWRxPSYCHO
93664a9bb9 cleaning up map fragment and cache download 2022-10-02 21:50:01 -04:00
PWRxPSYCHO
491798f86c Updated download button icon 2022-10-01 22:47:53 -04:00
PWRxPSYCHO
640737adeb
Merge branch 'meshtastic:master' into osmdroid-phase2 2022-09-30 16:37:24 -04:00
andrekir
1a58896dcc remove resources lint 2022-09-30 16:21:30 -03:00
andrekir
11d1a61854 fixed width for contacts short name chip 2022-09-30 16:18:36 -03:00
andrekir
b401c8bac3 move admin messages to nodes tab 2022-09-30 15:57:04 -03:00
andrekir
a60013e2dd refactor node list card layout 2022-09-27 16:29:41 -03:00
PWRxPSYCHO
9b1dfb0d02 Working on cache downloader 2022-09-22 08:35:33 -04:00
andrekir
a93d4e1dcd rename Packet to MeshLog 2022-09-13 22:49:38 -03:00
andrekir
7be67ec2d4 add EnvironmentMetrics to nodes tab 2022-09-12 18:23:59 -03:00
andrekir
b579baf678 better map location pin 2022-09-06 18:31:14 -03:00
andrekir
5d95017efa add osm map features 2022-08-30 17:25:11 -03:00
andrekir
4bb8e2f0e4 remove redundant color resource 2022-08-30 17:10:11 -03:00
PWRxPSYCHO
af78188d6e clean up unused files. (Patch from Andre) 2022-08-27 12:38:42 -04:00