Add Bibles: ticks at the row's edge, clear of the text #73
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!73
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/starter-tick-align"
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?
What
In the Bible chooser's "+" page (the starter page), the tick on each Bible row now sits at the right edge (left in RTL). Before, the Suru style, which is UT's default, centred it over the description text.
Cause: the row's CheckDelegate had no
text, and Suru centres the indicator whentextis empty. The fix setstextto the module name. It is not drawn, because the custom contentItem replaces it, and it also gives the tick an accessible name.Refs #70.
Blast radius
Tier: leaf
Trunk paths touched: none (qml/pages/StarterPage.qml, +4 lines)
Testing tier: standard
Gate / rollback: revert the commit; no flag, no data change.
Proof
cargo make app-docker(QML lint, clippy, -Werror build, clang-tidy, mem-check): "== [72s] done"; normal profile peak PSS 148738 kB (budget 165000 kB).E2E_CASES="add-bible starter-install" cargo make e2e-docker: "PASS add-bible (17s)", "PASS starter-install (7s)", "e2e: 2 passed, 0 failed, 0 skipped". e2e uses the Default style, where the bug cannot show, so this only shows no regression.dd67c9e: rust, audit, app, e2e, click all success.Review
Reviewer: fresh-context
code-reviewat medium (review 255 ondd67c9e): 0 findings, 0 fixed, 0 declined, 0 deferred, 0 fixed after the delta review, 0 left open. Medium, not audited (leaf).Review-Confidence: not scored (leaf).
Confidence by part
text:line: high. The Suru source shows the exact line that positions the indicator.Owner try-list (phone)
Review level: medium. Blast radius: leaf (qml/pages/StarterPage.qml). Testing tier: standard.
Commit:
dd67c9e92fRange: origin/main...HEAD
Files: qml/pages/StarterPage.qml (+4)
Findings: none. The new
text:on the tick's CheckDelegate is not drawn, because the custom contentItem replaces the text label. It uses the same moduleText helper that the row label already uses, so the two stay in step. The e2e cases that drive the starter page (starter-install, starter-kill, starter-fail, add-bible, add-bible-fail) read the "utsb: starter tick" log lines and do not match on delegate text, so they are unaffected.Not checked: how this renders in the Suru style. That needs the phone or the e2e run.
WIP: Add Bibles: ticks at the row's edge, clear of the textto Add Bibles: ticks at the row's edge, clear of the textApproved on
dd67c9e. Review 255 had no findings. No commits afterdd67c9e(the branch head is stilldd67c9e). CI is green on head: rust, audit, app, e2e and click all succeeded. The diff is 4 lines in qml/pages/StarterPage.qml (leaf), and the PR body's Proof lists only gates that were run, with the phone trial and screenshots stated as not done.