Commit graph

43 commits

Author SHA1 Message Date
Jeremiah K
3e3e4919bd
fix: message input clearing with proper state management (#1474 & #2150) (#2208) 2025-06-21 20:20:42 -05:00
James Rich
86a35603d5
refactor: Add remote node indicator and node chip to app bar (#2195) 2025-06-21 07:14:33 -05:00
James Rich
8639228721
refactor: message item actions and reactions (#2191) 2025-06-20 16:30:41 -05:00
James Rich
46332c95a4
fix: Use string template for hops away (#2184) 2025-06-20 09:20:40 -05:00
James Rich
d66b7d5d0f
fix (#2172): replace string template for Hops Away: (#2173) 2025-06-19 17:10:47 -05:00
Jeremiah K
7e0999fdc0
fix (#2150): text input not clearing after sending message (#2161) 2025-06-19 06:25:19 -05:00
James Rich
468c4ab6b7
fix: Fetch original message when displaying a reply (#2152) 2025-06-18 16:05:02 +00:00
James Rich
357efa9028
feat: Implement message reply functionality (#2147) 2025-06-17 20:15:07 -05:00
James Rich
5ba9fe4716
Refactor: Improve MessageItem layout and display of reactions (#2141) 2025-06-16 22:55:06 +00:00
James Rich
d7bd3ecaa7
Refactor: Use Alt+Enter to send messages (#2108) 2025-06-13 13:00:14 -05:00
Łukasz Kosson
9a371ee9cd
feat: show per-message SNR, RSSI and hop count (#2040)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2025-06-06 15:41:25 -05:00
James Rich
ad1897c564
Refactor: organize ui screens to separate packages (#1982) 2025-05-29 18:18:45 -05:00
James Rich
e31d4170b6
feat: add Host Metrics Log screen (#1969) 2025-05-28 20:57:38 +00:00
James Rich
808992e3b3
Refactor: clean up sharedTransition from more places (#1963) 2025-05-28 09:47:28 -05:00
James Rich
3eefe4b66c
refactor: edgeToEdge tweaks, chip elevation (#1962) 2025-05-28 09:34:08 -05:00
James Rich
6332b3bd42
feat(node): consolidate node chip and menu (#1941) 2025-05-26 19:36:32 -05:00
James Rich
d04378a026
feat: filter visibility, add unmessageable toggle (#1915) 2025-05-23 02:39:46 +00:00
James Rich
e99c31d418
Refactor: Adjust padding and sizes in MessageItem and Reaction compon… (#1898) 2025-05-21 17:38:18 +00:00
James Rich
c99fe642b5
feat: Add Contact Sharing via QR code (#1859) 2025-05-20 13:36:11 -05:00
Benjamin Faershtein
de49f6a48b
feat: Create a resend option for failed messages (#1876)
Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-05-19 16:11:05 -05:00
James Rich
6941b6f9df
fix: M3 bug squashing (#1872) 2025-05-19 07:03:01 -05:00
James Rich
4cba13ea14
feat: material3 (#1862) 2025-05-17 11:39:53 -05:00
James Rich
d5a5efdcf4
fix: Messages UI Tweaks (#1856) 2025-05-15 18:09:46 +00:00
James Rich
8cde47bdf9
refactor: migrate to Compose navigation (#1835)
Co-authored-by: andrekir <andrekir@pm.me>
2025-05-15 08:05:30 -05:00
James Rich
a28dc377ae
fix: Handle node public key mismatch and show warning (#1720)
* Handle node public key mismatch and show warning

- Add a mismatchKey flag to Node and MessageTopBar to indicate a public key mismatch.
- Set the public key to a default error value (all zeros) when a node's public key changes.
- Display a warning in the MessageTopBar when a key mismatch is detected in PKC.
- Only clear all nodes when a different mynode number is present.

* feat: Add key mismatch detection to NodeInfoDao

This commit introduces a new feature to the `NodeInfoDao` that detects and handles public key mismatches for existing nodes.

-   A new function `upsertCheckKeyMatch` is added to `NodeInfoDao` that checks for public key changes when upserting a node. If a mismatch is detected, the public key is set to `ERROR_BYTE_STRING`, and a warning is logged.
- The function `upsertCheckKeyMatch` is used instead of `upsert` in `NodeRepository` and in `putAll` inside of `NodeInfoDao`.
-   A new test `testPkcMismatch` is added to `NodeInfoDaoTest` to verify the key mismatch detection.
- Changed `testNodes` to have unique public keys.
- Added `mismatchKey` state to the node model.

* detekt spacing

* Refactor: Correctly handle different node installations in NodeRepository

The logic for detecting different node installations in `NodeRepository.kt` was inverted, this commit fixes the logic to use `!=` instead of `==` to detect if the node number has changed.
2025-03-27 15:58:43 -05:00
Ken Piper
e15ad23c46
feat: Initial implementation of adding nodes to favorites (#1520)
* Implement initial support for adding and removing nodes from favorites

* Make favorite nodes' names show up bold in the node list

* Forgot to add this here when I was fixing the previous merge conflicts. Whoops!

* Make detekt happy

---------

Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-02-16 06:02:02 -06:00
James Rich
584fe8d6f8
fix: limit quick chat append, prevent duplicates (#1522)
Limits quick chat append to 200 characters and prevents duplicate appends.
Also sets a constant for the max message size.

fixes #1511
2025-02-16 05:51:54 -06:00
andrekir
a3a3958dfb refactor: move NavGraph to navigation package 2025-01-11 09:29:48 -03:00
andrekir
7794c08190 refactor: replace Scaffold with internal component 2025-01-06 19:50:25 -03:00
andrekir
e73a67909a refactor: replace message chip with user avatar 2025-01-04 15:34:26 -03:00
andrekir
13b615a470 chore: update license header 2025-01-02 07:00:51 -03:00
Andre K
60e7e18116
feat(config): implement excluded modules validation (#1460)
* feat(config): implement excluded modules validation

* feat: hide excluded configs from metadata

* refactor: save local metadata from WantConfig

* refactor: delete metadata from deleted nodes

* fix: always request metadata for admin routes

* feat: show node firmware when metadata is available

* refactor: rename filter function

* feat: add `ServiceAction` request metadata
2025-01-02 06:38:33 -03:00
andrekir
e924f274f1 fix: allow auto-capitalization for message input field 2024-12-22 07:14:52 -03:00
andrekir
33f86dcf61 feat: add user longName and userId to messages
closes #1479
2024-12-17 12:27:34 -03:00
andrekir
5693874db1 fix: message text is not always cleaned when sending
fixes #1474
2024-12-17 12:25:54 -03:00
andrekir
a642e6a62e feat: add NodeMenu options to messages
closes #682
2024-12-10 16:21:19 -03:00
andrekir
2110183d2b fix: keyboard flicker after sending messages
replaces `keyboardController.hide()` with `focusManager.clearFocus()`
2024-12-10 12:56:53 -03:00
andrekir
4a1319a645 refactor: replace user with node in Message model 2024-12-05 19:50:15 -03:00
andrekir
dd3a77e2f7 feat: add reaction dialog with grouped emojis and user list 2024-12-03 17:47:22 -03:00
andrekir
797fc67982 refactor: move reaction button to MessageItem 2024-12-03 15:58:43 -03:00
andrekir
f9424f2abc feat: add Alert Bell to Quick Chat actions
closes #972
2024-12-03 10:23:27 -03:00
andrekir
49ac8a432d fix: hide keyboard on send text message 2024-12-03 09:17:54 -03:00
andrekir
96087cca59 refactor: move message files to separate package 2024-12-03 09:14:32 -03:00