Repository navigation
F12 G: local Word, Reading buddy and Light widgets - #175
Merged
Merged
Conversation
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
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
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.
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