Add multi-page dashboard, swipe nav, burn-rate flame, and mascot costumes - #121
Open
sememtac wants to merge 1 commit into
Open
Add multi-page dashboard, swipe nav, burn-rate flame, and mascot costumes#121sememtac wants to merge 1 commit into
sememtac wants to merge 1 commit into
Conversation
Extends the desk dashboard with more pages, touch-swipe navigation, an
animated burn-rate flame in the corner, and a swipe-to-cycle costume system
for the corner mascot. Physical buttons are unchanged — all new navigation
is via touch gestures. New art is original pixel-art; generators in tools/.
- Pages: Trend (session+weekly sparkline), Burn (%/hr + ETA to 100%), and
Session / Weekly detail. Swipe left/right cycles them (modulo wrap).
(ui.cpp, ui.h, usage_history.{cpp,h})
- Touch-swipe navigation, rotation-aware: the raw touch delta is rotated by
the IMU quadrant so gestures track "screen up" in any orientation. Swipe
left/right = pages, up/down = costumes; a tap still toggles the splash.
- Burn-rate flame: original pixel flame that flickers each frame and smoothly
tracks the live session burn rate. It sits to the right of the battery, and
the battery now shows only when a cell is actually attached (power_hal
reports -1 otherwise) instead of a misleading empty glyph. Battery-less
boards just show the flame. (flame_icon.h via tools/gen_flame.py)
- Costumes on the corner mascot: shades, cat ears, sombrero, pom-pom,
lightsaber, santa, double saber, rainbow; choice persisted to NVS. Each
prop is cropped to its bounding box to keep the data compact.
(costumes.h via tools/gen_costumes.py)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This was referenced Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a multi-page dashboard on top of the single Usage view, with touch-swipe navigation, an animated burn-rate flame, and a swipe-to-cycle costume system for the corner mascot. All new art is original pixel-art (generators in
tools/).Physical buttons are unchanged — all new navigation is via touch gestures.
ui.cpp,ui.h, newusage_history.{cpp,h})power_halreports -1 otherwise) instead of a misleading empty glyph. (flame_icon.hviatools/gen_flame.py)costumes.hviatools/gen_costumes.py)This is the foundation for follow-up PRs (dashboard enhancements and a situationally-aware mascot). Builds clean on
waveshare_amoled_216against currentmain, and preserves the recently-merged BLE battery level (#117).Supersedes the oversized #116, which will be closed once the split PRs are in.