Watchapp skeleton: window stack, view switching, button handling #8
Labels
No labels
area:companion
area:docs
area:shared
area:tooling
area:watchapp
blocker
kind:chore
kind:feature
kind:spike
kind:test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
robert/PedalPebble#8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Set up the app shell that the three views plug into.
Acceptance criteria
main.chandles app lifecycle and owns the AppMessage inboxapp_message_open(app_message_inbox_size_maximum(), app_message_outbox_size_maximum())heap_bytes_free()logged at each view transitionemery, and degrades to a usable layout onbasalt(144x168)Files
watchapp/src/c/main.cwatchapp/src/c/view_ride.cwatchapp/src/c/view_nav.cwatchapp/src/c/view_map.cNotes
Max-size AppMessage buffers cost roughly 16 KB of heap - measure before assuming it fits.
Update — 2026-08-31: view stack becomes a page carousel
The three-view stack is replaced by a flat page ring — data pages, navigation and map all as pages of
the same carousel. Button handling moved to its own issue; see
docs/DESIGN.mdsection 5.This issue keeps app lifecycle, the AppMessage inbox,
heap_bytes_free()logging at page transitions,and the
basaltdegradation check.