mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-06 20:26:12 +00:00
feat(ui): mark-all-read context menu on MESSAGE mode-select
Hold Enter (context menu) on the DM / Channels / Rooms picker opens a single-item "Mark all read" menu that clears every unread counter of the highlighted type. Per-mode title is a static-const string because PopupMenu stores the title pointer verbatim. New UITask::clearAllDMUnread() resets the whole _dm_unread_table; clearAllChannelUnread() and clearRoomUnread() already existed. Also document the GPS breadcrumb storage decision in FEATURES.md: RAM-only ring with explicit per-slot saves, no background flash writes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
a4b4362b1b
commit
31cfbf4997
@@ -136,6 +136,7 @@ public:
|
||||
if (_dm_unread_table[i].count > 0 && memcmp(_dm_unread_table[i].prefix, pub_key, 4) == 0)
|
||||
{ _dm_unread_table[i].count = 0; return; }
|
||||
}
|
||||
void clearAllDMUnread() { memset(_dm_unread_table, 0, sizeof(_dm_unread_table)); }
|
||||
bool hasDisplay() const { return _display != NULL; }
|
||||
bool isButtonPressed() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user