• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / revdiff / 24636744033
89%
master: 90%

Build:
Build:
LAST BUILD BRANCH: feat/relay-overlay-stderr
DEFAULT BRANCH: master
Ran 19 Apr 2026 07:03PM UTC
Jobs 1
Files 58
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Apr 2026 07:02PM UTC coverage: 89.063% (+0.1%) from 88.944%
24636744033

Pull #125

github

umputun
fix(ui): keep cursor visible when paging on annotated lines

Extend the page/half-page helpers to treat an annotation-row flip
(diffCursor unchanged but cursorOnAnnotation toggled) as real progress,
and scroll the viewport by the cursor's actual visual delta instead of
the requested row count. Without this, PgDown from a line with an
annotation exited the helper loop immediately on the cursorOnAnnotation
flip, then scrolled the viewport by a full page anyway, pushing the
cursor above the viewport.

Rename the helper parameter from n to rows to match the godoc.

Extend TestModel_PgDownPgUpPreservesRelativeCursorPosition with a
mid-screen subcase (so the relative-row assertion is not degenerate at
screen row 0) and split into subtests with a fresh model per case.
Add TestModel_PgDownKeepsCursorVisibleOnAnnotatedLine to lock in the
visibility invariant.

Related to #124
Pull Request #125: fix(ui): keep cursor on same screen row when paging

23 of 0 new or added lines in 0 files covered. (NaN%)

2 existing lines in 1 file now uncovered.

7549 of 8476 relevant lines covered (89.06%)

462.0 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
95.86
-0.46% app/ui/diffview.go
Jobs
ID Job ID Ran Files Coverage
1 24636744033.1 19 Apr 2026 07:03PM UTC 58
89.06
GitHub Action Run
Source Files on build 24636744033
  • Tree
  • List 58
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #125
  • PR Base - master (#24600877299)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc