refactor(companion): our MyMesh additions in their own headers

Contacts and rooms, the scope list, discovery and ping, APC and
screenshots move out of MyMesh.cpp to headers included at its bottom,
as MyMeshBot.h and MyMeshCli.h are, so upstream merges meet less of our
code. The feature matrix gains the 4.26" in its layout tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-10-11 21:26:59 +02:00
co-authored by Claude Opus 5.5
parent 4e95647c0d
commit b393732b90
7 changed files with 677 additions and 646 deletions
+8 -4
View File
@@ -25,11 +25,15 @@ What decides it in ui-new (look for these when adding a screen):
| Test | Where it's true |
| --- | --- |
| `Features::IS_EINK`, `display.isEink()` | E-ink L, E-ink P, E-ink 4.2", T-Echo Lite |
| `expandHistory()`: 9 or more lines | E-ink L, E-ink P, E-ink 4.2" |
| `Features::IS_EINK`, `display.isEink()` | E-ink L, E-ink P, E-ink 4.2", E-ink 4.26", T-Echo Lite |
| `expandHistory()`: 9 or more lines | E-ink L, E-ink P, E-ink 4.2", E-ink 4.26" |
| `height() >= 18 * lineHeight` | E-ink P, E-ink 4.2" |
| `width() >= 40 * charWidth` ("wide") | E-ink 4.2" |
| `isLandscape()` | Small, E-ink L, E-ink 4.2" |
| `width() >= 40 * charWidth` ("wide") | E-ink 4.2", E-ink 4.26" |
| `isLandscape()` | Small, E-ink L, E-ink 4.2", E-ink 4.26" |
The tables below have no E-ink 4.26" column: it gets what the E-ink 4.2"
column says, except what hangs on the height test above (the keyboard's
taller keys).
Cells: **yes**, **—** (not there), a short note where it differs, or the
build flag it needs.