Repository navigation
Clarify app pages, labels and the open-card overview - #18
Merged
Merged
Conversation
Settings pages appear only after a card is open. Button and shortcut mappings move from Device to Controls, and every page is split into sections such as Side buttons, Power button or Clock and date, with labels that no longer come from storage keys. Review rows include the section for short labels. Controls for hardware the selected reader lacks are hidden; their stored values stay preserved and read-only. Overview summarizes an open card with Back up now, Eject and the latest restorable backup, and each settings page opens at the top. The synthetic demo is now a maintainer-only screenshot mode enabled with the -InkKitScreenshotDemo launch argument. Storage keys, kinds, raw values and validation are unchanged.
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 Summary
The app read like a settings-file editor: pages that showed nothing before a card was open, button mappings under Device, labels built from storage keys and greyed-out controls for hardware the reader lacks. This PR reorganizes pages and labels and makes Overview reflect the open card, without changing any stored value or validation rule.
-InkKitScreenshotDemo YESlaunch argument; regular launches do not offer it.Files Changed
inkkit_schema.py: Presentation layer mapping each main setting to a page, section and label, plus ahiddenflag for controls the reader lacks. Storage keys, kinds, raw values and validation are unchanged.inkkit_config.py,inkkit_codec.py: Field descriptors carryhidden; available settings groups ignore hidden fields; review differences prefix the section for short labels.macos/InkKitApp.swift: Sidebar gating before a session, hidden-field filtering, split Overview (welcome and open-card summary), per-page form identity for scroll reset and the screenshot-demo launch flag.tests/test_config_stores.py: Every setting has a page, section and unique label for each editable release and model; only missing capabilities hide controls; review labels name the section.docs/configuration-reference.md: Regenerated with the new labels and order.README.md,docs/macos-preview.md,CHANGELOG.md: Remove the demo from the user quick start, document the maintainer screenshot mode and describe the reorganized pages.Testing & Evidence
Local Verification
XTEINK_TESTING=1 python3 -m unittest discover -s tests -bran 271 tests OK on the local Mac outside the agent sandbox, at the committed tree5d02cda.XTEINK_TESTING=1 python3 inkkit_helper.py --self-test.xcrun swiftc -typecheck, macOS 14 target) and a local preview build whose native launcher and bundled synthetic apply/restore check passed.-InkKitScreenshotDemo YESlaunch (demo offered).CI Verification
5d02cda.5d02cda.Independent QA / Architecture Review
Required Pre-PR Validation
scripts/check_configuration_docs.py, worktree, staged and outgoing (origin/main..5d02cda, 80 revisions) publication audits; the pre-push all-history audit passed with 328 revisions.Behavior & Compatibility
hiddenflag that older app builds ignore.-InkKitScreenshotDemo YESto capture screenshots.docs/screenshots.mdshow the previous layout and should be recaptured after this merges.Risks, Limitations & Rollback
Reviewer Focus
_PRESENTATION, especially button mappings moved from Device to Controls.Related Issues / Documentation