Skip to content

Add Storage: read-only space and installed-app breakdown - #39

Merged
freethinkel merged 2 commits into
mainfrom
feat/storage-app
Nov 22, 2026
Merged

freethinkel merged 2 commits into
mainfrom
feat/storage-app

Conversation

@arnav-kr

@arnav-kr arnav-kr commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Add Storage: read-only space and installed-app breakdown

Storage shows writable free space, installed apps, App Loader, watch faces and other files in the watch's native UI. A segmented overview opens category details; firmware and resource reservations are presented separately from writable capacity.

It uses the SDK storage service rather than private firmware calls. Scans are bounded, incomplete results are labelled, and logical file lengths are distinguished from allocation. An older loader shows an update message. Storage cannot delete files or change firmware and does not need a phone connection.

Includes the canonical SVG icon, store listing, emulator screenshots, host tests of the actual UI batches and a Storage-only size optimization. No firmware or generated app package is included. Material Symbols attribution is included.

SDK and loader requirements

  • Uses merged fmctools/cmf-watch-sdk#22, pinned to 884e9a693070c3dc587f814def3806889a3c4e49 in this PR.
  • Storage uses the typed storage::Storage service and installed_app_icon(..., IconSize::Native); it does not use the removed preview scalar or one-byte icon requests.
  • Requires an installed App Loader providing storage-inspection service v1. Older loaders show an update message. A compatible loader release remains a prerequisite for users; this PR does not release a loader or firmware.
  • No additional firmware update is required on an already compatible patched WP2. Watch 3 Pro support is not claimed.

Validation

Native Windows, using the merged SDK revision above:

  • All 201 apps-workspace tests passed, including 16 Storage tests.
  • All 15 app packages built, and all store listings passed validation. The SDK-pin change was checked across the workspace, not only Storage.
  • Storage package: 81,396 bytes. Existing app versions are unchanged; rebuilding for the SDK pin does not publish updates to those apps.
  • The merged loader's two QEMU storage tests passed: scan/forced-stop cleanup and installed icons at 64px/96px, including missing slot 15.
  • Storage on that loader in QEMU: completed the bounded scan with no reported error, matched app/loader logical bytes to installed packages, opened the Apps page with its native icon, and exited with the app allocation and scan resources released. A first automation attempt tapped before scan completion; the scan-aware rerun passed.

GitHub Actions on Ubuntu 24.04 passed the Store build job for commit 5cff29a, building and testing all 15 apps. The publish job was skipped as expected for a pull request.

No physical watch was accessed during this validation. Users require a compatible App Loader providing storage-inspection service v1; this PR does not publish that loader.

Screenshots

Captured at full brightness in Windows QEMU after the file scan completed. The virtual watch contains Storage, Sky Hop, 2048 and Calendar, plus two downloaded WFC files. The figures are measured from that virtual filesystem; built-in watch-face resources are listed separately from writable files.

Overview Usage breakdown
Overview Usage breakdown
Installed apps More installed apps
Installed apps More installed apps
Watch-face files System storage
Watch-face files System storage

@arnav-kr
arnav-kr marked this pull request as ready for review November 22, 2026 12:50
@arnav-kr
arnav-kr requested a review from freethinkel November 22, 2026 12:51
@freethinkel
freethinkel merged commit ecc0a25 into main Nov 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants