Reading pane: a quiet break before each chapter; v11n counts in a data file #19
No reviewers
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
schaefera/utStudyBIble!19
Loading…
Reference in a new issue
No description provided.
Delete branch "phase1/chapter-separator"
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?
Follow-up to #18, stacked on
phase1/core-layout(#17). Part of #11.What
Heading::first). The glue now passes the heading as three lines (break, book, chapter), each empty where there is none.sword/src/v11n/data.rs, now lives insword/src/v11n/systems.ini. It is read bysword::ini::Section, which core's book names now share.tools/v11n/fetch.shis pinned to the booknames JSword commit (a2c51f3c).Blast radius
Tier: trunk
Trunk paths touched:
sword/src/v11n*,core/src/bible*,qt/src/reading_model.rs,qml/pages/ReadingPane.qmlGate / rollback: no flag. Revert this merge; there is no data or schema change, and the verse counts are byte-identical to before.
Budgets (docs/07): one more Text per loaded heading (~15). mem-check at the head: peak PSS 146923 kB of 165000 kB, start-up 126 ms. v11n: ~2.4 KB heap per Versification and ~1,200 integers parsed once per module open.
Proof
cargo make(SWORD_TEST_REQUIRED=1) at the head: fmt, clippy, tests (sword 18 unit + 7 golden + 3+3, core 39), coverage 94.96%, deny and audit ok.cargo make app-dockerat the head: QML lint, -Werror build, clang-tidy, mem-check (scroll, save within 189 ms, restore after kill -9 matches).cmp-identical to the committed one, with the same counts as the old data.rs.kjv_ordinals_match_sword_layoutfail.Gen=3xmakesreads_every_system_in_the_fileandverse_and_ordinal_round_tripfail.Heading::firstfrom.is_some()instead of.is_none()makesreads_kjvandheads_chapters_in_the_module_languagefail.FALLBACK; the worker.rs strings are test fixtures; db.rs already loads its SQL withinclude_str!.Review
Reviewer, 26ff675..470a584: fresh-context review at high, 5 findings, 1 fixed (screen readers skip the dots), 4 declined:
by_nameallocates per call: it runs once per module open.cmpproof.1815b14.A medium re-review of the fix found no bugs.
Review-Confidence (that part): 70/100. Not amended onto
470a584, which was already pushed. The audit's deductions were for the accessibility fix and the first-chapter dots, both lacking proof;1815b14replaces the latter.Reviewer,
1815b14(first chapter, wider dots): fresh-context review at high, 1 low-confidence finding declined: an empty heading string would leavelines[1]undefined. That can't happen, because every row belongs to a chapter span andSpan::ofalways writes three lines.Review-Confidence: 100/100 (trailer on
1815b14). No missed defect on an independent pass; the glue-to-QML format is covered by screenshots, not an automated test.Confidence by part
Heading::firstin core: high (unit tests with a deliberate break).Accessible.ignored: medium. It's a valid QtQuick 2.15 property, but not checked with a screen reader.Merge with "Create merge commit".
🤖 Generated with Claude Code