Add review mode with a simulated radio

Store reviewers have no MeshCore radio, so they could not reach any
screen past Connect or test the Android Auto messaging notifications.

- Long-press the "MeshCore Open" title on the Connect screen to enter
  review mode on any platform
- A simulated radio speaks the companion protocol as a fourth transport,
  so sync, messages, ACKs, notifications and notification replies run
  through the normal code paths
- Seeded contacts, channels and history; a new incoming message every
  45 s, auto-replies a few seconds after sending, and a banner with
  "Send test message" and "Exit"
- Review data uses its own fixed key scope and is cleared on entry, exit
  and at startup; the review scope never adopts legacy unscoped keys,
  and channel mutes changed during review are restored
- Code lives in lib/review_mode/ with tests in test/review_mode/
This commit is contained in:
zjs81 committed 2026-10-07 20:38:59 -07:00
1 parent 9334d556fe
commit 11c94040e3
68 files changed
+3314 -197

No files matched your search

+54
View File
@@ -9297,6 +9297,60 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'Over 158 bytes: sent at most {count} times'**
String chat_longMessageRetryNote(int count);
/// Title of the review mode confirmation dialog
///
/// In en, this message translates to:
/// **'Enter review mode?'**
String get reviewMode_dialogTitle;
/// Body of the review mode confirmation dialog
///
/// In en, this message translates to:
/// **'Review mode connects to a simulated radio with sample contacts, channels and messages. No real radio is needed.'**
String get reviewMode_dialogBody;
/// Confirm button of the review mode dialog
///
/// In en, this message translates to:
/// **'Enter'**
String get reviewMode_confirm;
/// Cancel button of the review mode dialog
///
/// In en, this message translates to:
/// **'Cancel'**
String get reviewMode_cancel;
/// Label of the banner shown while review mode is active
///
/// In en, this message translates to:
/// **'Review mode — simulated data'**
String get reviewMode_banner;
/// Banner action that makes the simulated radio deliver a message
///
/// In en, this message translates to:
/// **'Send test message'**
String get reviewMode_sendTest;
/// Snackbar shown after requesting a test message
///
/// In en, this message translates to:
/// **'A test message will arrive shortly.'**
String get reviewMode_testSent;
/// Banner action that leaves review mode
///
/// In en, this message translates to:
/// **'Exit'**
String get reviewMode_exit;
/// Snackbar shown when review mode fails to connect
///
/// In en, this message translates to:
/// **'Could not start review mode: {error}'**
String reviewMode_connectFailed(String error);
}
class _AppLocalizationsDelegate