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

umputun / revdiff / 24939315550
90%

Build:
DEFAULT BRANCH: master
Ran 25 Apr 2026 07:55PM UTC
Jobs 1
Files 61
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

25 Apr 2026 07:54PM UTC coverage: 89.532% (+0.09%) from 89.446%
24939315550

push

github

web-flow
feat(ui): vertical scrollbar thumb on diff pane right border (#151)

* feat(ui): show scroll-position thumb on diff pane right border

Replace the right-border │ with a heavy ┃ on rows that map to the
visible viewport portion, giving an at-a-glance indicator of scroll
position and content length. Implemented as a post-process pass on the
lipgloss-rendered pane (same pattern as padContentBg/extendLineBg/
applyHorizontalScroll), so the surrounding ANSI envelope — including
focused-vs-inactive border color and BorderBackground — is preserved.

Thumb is bold-wrapped via \x1b[1m...\x1b[22m to brighten the accent
color without resetting the border background. No-op when content fits
the viewport. Diff pane only; tree pane untouched.

* fix(review-loop): iteration 1 addressed 17 findings

- [critical] [app/ui/view.go,scrollbar.go] truncate diff header so long filenames
  don't soft-wrap and push viewport rows past scrollbarFirstViewportRow=2
- [doc] [app/ui/scrollbar.go:22] godoc said "half-block thumb glyph" — rune is
  heavy-vertical; updated wording
- [doc] [app/ui/scrollbar.go:23] godoc no-op clause now mentions vh<=0 case
- [doc] [app/ui/scrollbar.go:5-22] document intentional bold-only --no-colors
  behavior + scrollbarFirstViewportRow coupling warning
- [doc] [CLAUDE.md] clarify post-pane vs per-line transform; document
  single-line header invariant via truncateHeaderTitle
- [doc] [docs/ARCHITECTURE.md] add scrollbar.go to app/ui per-file table
- [minor] [app/ui/scrollbar.go:38-41] drop unreachable maxStart>0 guard
- [minor] [app/ui/scrollbar_test.go:217] fix comment "5 lines total" → 6
- [test] [app/ui/scrollbar_test.go] add TestApplyScrollbar_ThumbWrappedInBoldSGR
  to lock in the bold SGR contract
- [test] [app/ui/scrollbar_test.go] add TestApplyScrollbar_RowWithoutTrackRune
  to cover the idx<0 branch
- [test] [app/ui/scrollbar_test.go] add TestApplyScrollbar_BodyContainingTrackRune
  to cover content rows containing literal │
- [test] [app/ui/sc... (continued)

120 of 121 new or added lines in 2 files covered. (99.17%)

8527 of 9524 relevant lines covered (89.53%)

549.16 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.5
app/ui/scrollbar.go
Jobs
ID Job ID Ran Files Coverage
1 24939315550.1 25 Apr 2026 07:55PM UTC 61
89.53
GitHub Action Run
Source Files on build 24939315550
  • Tree
  • List 61
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2718928a on github
  • Prev Build on master (#24927364140)
  • Next Build on master (#24939356021)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc