Skip to content

F12 G: local Word, Reading buddy and Light widgets - #175

Merged
Fledgewing merged 8 commits into
feature/0.12from
f12/g-widgets
Nov 27, 2026
Merged

Fledgewing merged 8 commits into
feature/0.12from
f12/g-widgets

Conversation

@Fledgewing

@Fledgewing Fledgewing commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Change

Install Word of the day, Reading buddy and Light in the Android Home editor's picker, in the prototype's 2×1 and 2×2 sizes. Word shows one companion-selected daily KOReader vocabulary record/context/source and opens the native dictionary. Buddy uses only local reading statistics. Light wraps the existing Library native control action with bounded cached state and 50 px controls. Defaults stay intact.

DESIGN-NOTES marks these entries staged; DESIGN §3.1–3.4 distinguishes their sources. Highlight needs a saved authorized passage and A year ago explicitly needs a cached server snapshot, so they remain staged under this slice's server-data exclusion, alongside Recommended and Discover.

Reuses HomeWidgets.register, the existing Home/editor owners, ko/library.lua budgets and LibraryReadModel. Adds minimal local.word/local.buddy/local.light projection operations and Library native input/action helpers, with tests on both sides. Each widget has one row/16 KiB, immutable snapshots, zero render network/subprocesses and the existing single Home batch. No transport/sync/end-sheet files, device actions, releases or tags.

Pinned KOReader source evidence and reuse file:line references: docs/design/booksync-home/F12-G-LOCAL-WIDGETS.md. Feature cells cover Android and all three deferred firmware targets. Device font/wrapping, vendor controls and latency acceptance remain pending.

Validation

  • Lua logic after merging the latest feature/0.12 catalog owner, Storage, first-run, server-free sync and signed-out device data slices: 241 passed; native-tree flows: 294 passed, including all sizes/states, picker availability, native actions, target bounds and one Home batch.
  • Companion: verifySharedVersion, testDebugUnitTest, assembleDebug, lintDebug passed.
  • Server boundary, feature matrix, product-name and pinned KOReader compatibility checks passed.
  • USB installer tests: 43 passed; sideload script tests: 44 passed (fixtures only; no devices).

Fledgewing and others added 8 commits November 26, 2026 13:37
Extend the existing Home registration and companion read model with one-row local
projections, both approved picker sizes, explicit states and native actions.
Highlight and A year ago remain staged because their design sources require
saved authorized server snapshots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BLYjLJzEkmBRpMx6vsJ4xw
Extend the existing Home registration and companion read model with one-row local
projections, both approved picker sizes, explicit states and native actions.
Highlight and A year ago remain staged because their design sources require
saved authorized server snapshots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BLYjLJzEkmBRpMx6vsJ4xw
Keep the new companion-owned Library binding and add the local widget loader.
Retain both roadmap outcomes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BLYjLJzEkmBRpMx6vsJ4xw
Retain both widget registrations and companion projections and regenerate the
combined platform matrix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BLYjLJzEkmBRpMx6vsJ4xw
Preserve setup routing and keep local-only widget projections independent of
catalog setup guidance, with a signed-out pending-state regression.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BLYjLJzEkmBRpMx6vsJ4xw
Retain the sync owner's loader changes and register local widgets alongside it.
Regenerate the combined feature tables.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BLYjLJzEkmBRpMx6vsJ4xw
Retain the device owner projection and share its local stats materialization.
Verify all three optional local widgets publish without server projection under
the device owner, and keep both design-note sections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BLYjLJzEkmBRpMx6vsJ4xw
@Fledgewing
Fledgewing merged commit a8dd7a4 into feature/0.12 Nov 27, 2026
21 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.

1 participant