feat(ui-lvgl): live map tiles kept apart, under a size limit

Tiles fetched while browsing online go to /sdcard/maps-live with an
index of arrival order; past the limit (Settings > Storage, 16 MB-1 GB,
default 64 MB) the oldest are deleted a few per loop. Storage shows
their count and size and can delete them all. Downloaded maps are never
touched. Roadmap: live tiles done, second batch of user items added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-09-26 22:25:02 +02:00
co-authored by Claude Opus 5.5
parent f849ee0b00
commit 7a34f68369
9 changed files with 263 additions and 14 deletions
+21 -2
View File
@@ -225,7 +225,26 @@ Ideas to come back to (2026-09-26):
remove it?
- [ ] Import routes from the SD card (optional extra).
- [ ] Battery life without losing features, above all CPU sleep.
- [ ] Live tiles: don't keep them, or give them a bounded cache on the card
so they never fill it.
- [x] Live tiles: bounded cache on the card (2026-09-26) -- they go to
/sdcard/maps-live, apart from downloaded maps; an index keeps their
order and the oldest are deleted past the limit (Settings > Storage >
Live map tiles: 16 / 64 / 256 MB / 1 GB, default 64 MB; Delete).
Live tiles saved by earlier builds sit in /sdcard/maps and can't be
told apart from downloaded ones.
- [ ] Vector maps and other tile sources (to think through).
User list, second batch (2026-09-26):
- [ ] Status bar icons look like different sizes?
- [ ] Under own messages: a small counter as in the original (L1), not a
checkmark with "relayed".
- [ ] Polish the path popup of a sent / received message.
- [ ] Map download popup runs off the screen; take the WiFi settings out
of it (one place: Settings > WiFi).
- [ ] Splash: "MeshCore Solo" with the upstream version and ours, all in
the MeshCore title font.
- [ ] Emoji, ideally the full range (glyphs could live on the SD card).
- [ ] Tap-to-wake toggle.
- [ ] Favourites as their own screen in the menu rather than a tile.
- [ ] WiFi indicator icon in the status bar.