Viewport harness: derive .pin-btn presence floor from rowCount, and correct two overclaiming statements #46
Reference in New Issue
Block a user
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?
Follow-ups from PR #44's second review. None blocking; filed rather than spending another review cycle.
1.
.pin-btnfloor of 10 false-passes on a partial regressiontest/viewport/checks.js—tap-targets-44pxrequires each selector to match a minimum count of visible elements..pin-btndeclares 10, but 26 render (one per pinnable host row).Demonstrated: patching
src/main.jsto render pins only forindex < 12and running at a 1px threshold gives 53/55 withtap-targetspassing at every touch viewport — 54% of pin buttons gone, no signal.The anti-vacuity property that blocked PR #44 still holds: 12 measured means the oracle is genuinely measuring the page. This is the weaker adjacent claim — the rework comment said the floor "also catches pin buttons stopped rendering per row", which is only true below 10.
.pin-btn'sminCountfromfacts.rowCountrather than a constant, so the floor tracks what should actually render.tap-targetsmust FAIL. Revert after.2. Two overclaiming statements
PR #44's body: "a hard kill cannot strand one".
SIGKILLbypasses the trap; naming containers makes them identifiable, not self-cleaning. The in-file comment atscript/frontend-viewport-test:31-35is accurate — it only claims thetimeout/SIGTERMcase, which does work. Correct the body if it is edited for another reason; not worth a commit alone.TODO.md: "Every check carries a presence guard".nothing-past-viewport-edgeandno-clipped-textrely on the run-levelapp-renderedgate rather than their own. Nothing is vacuous — the whole run reds if the app did not render — but the wording overclaims.TODO.mdwording narrowed to what is true.Not in scope
The mixed-breakpoint case throwing an uncaught
Errorwith a stack trace rather than a clean message. Noisy, not wrong; leave it.Notes
1.0.0milestone.