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

+19 -1
View File
@@ -3106,5 +3106,23 @@
"type": "int"
}
}
}
},
"reviewMode_dialogTitle": "Enter review mode?",
"@reviewMode_dialogTitle": {"description": "Title of the review mode confirmation dialog"},
"reviewMode_dialogBody": "Review mode connects to a simulated radio with sample contacts, channels and messages. No real radio is needed.",
"@reviewMode_dialogBody": {"description": "Body of the review mode confirmation dialog"},
"reviewMode_confirm": "Enter",
"@reviewMode_confirm": {"description": "Confirm button of the review mode dialog"},
"reviewMode_cancel": "Cancel",
"@reviewMode_cancel": {"description": "Cancel button of the review mode dialog"},
"reviewMode_banner": "Review mode — simulated data",
"@reviewMode_banner": {"description": "Label of the banner shown while review mode is active"},
"reviewMode_sendTest": "Send test message",
"@reviewMode_sendTest": {"description": "Banner action that makes the simulated radio deliver a message"},
"reviewMode_testSent": "A test message will arrive shortly.",
"@reviewMode_testSent": {"description": "Snackbar shown after requesting a test message"},
"reviewMode_exit": "Exit",
"@reviewMode_exit": {"description": "Banner action that leaves review mode"},
"reviewMode_connectFailed": "Could not start review mode: {error}",
"@reviewMode_connectFailed": {"description": "Snackbar shown when review mode fails to connect", "placeholders": {"error": {"type": "String"}}}
}