Settings: a panel in the sheet, not a screen #17
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mobrule/kurageyomi#17
Loading…
Add table
Add a link
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?
Parent
#1
What to build
A settings panel occupying the sheet region, opened from the footer. Because it shares the sheet slot, it and a Lookup can never be open at once — by construction, with no navigation, no route, and no back-stack, and it inherits the sheet cap and scrolling for free.
One setting in this slice:
Built as rows rather than as one toggle, because three more are already specified: swiping seeks the show (#18), which English track to use when a show has several (PRD story 25), and where Anki lives and which deck receives cards (PRD story 45).
Two homes, decided now so it is not retrofitted. Reading size and auto-pause are about this phone in this room and belong in
localStorage. The Anki host and deck are server-side and belong in the plugin configuration, because Export runs on the server and the phone never talks to Anki. Same panel, two stores. This slice only needs the first, but the seam goes in now.Reading size stays in the footer and is not repeated here. It is the one preference that changes mid-episode when the lights change; everything else is set once. Duplicating it in both places would be worse than either.
Acceptance criteria
Blocked by
Merged to
maininaf73452. Suites at merge: 79 C#, 335 phone.Settings as a panel in the sheet's own slot, so it and a Lookup can never both be open — enforced by the slot being a type with three variants rather than by a guard anyone has to remember.
Built as rows because three more settings are already specified. Two stores decided up front: this phone's preferences in
localStorage, the Anki host and deck server-side, because Export runs on the server.