Add Auto-Reply Bot and Tools screen to home carousel

- New 'Tools' page on the home screen carousel with Ringtone Editor and Auto-Reply Bot items
- Bot settings: enable/disable toggle, channel picker, trigger phrase, reply text (keyboard with pre-fill)
- Bot logic in MyMesh: case-insensitive substring match, 10 s cooldown to prevent reply loops
- Settings: Home Pages visibility control (which carousel pages are shown; Settings and Messages always visible)
- DataStore: persist home_pages_mask and bot fields with backward-compat guards on read

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-05-13 21:09:47 +02:00
co-authored by Claude Sonnet 4.6
parent b4d8fad6f5
commit 58afc23df3
6 changed files with 314 additions and 7 deletions
+2
View File
@@ -57,6 +57,7 @@ class UITask : public AbstractUITask {
UIScreen* quick_msg;
UIScreen* tools_screen;
UIScreen* ringtone_edit;
UIScreen* bot_screen;
UIScreen* curr;
void userLedHandler();
@@ -88,6 +89,7 @@ public:
void gotoQuickMsgScreen();
void gotoToolsScreen();
void gotoRingtoneEditor();
void gotoBotScreen();
void playMelody(const char* melody);
void stopMelody();
bool isMelodyPlaying();