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

umputun / revdiff / 24824120975
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.6.1
DEFAULT BRANCH: master
Ran 23 Apr 2026 08:05AM UTC
Jobs 1
Files 59
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

23 Apr 2026 08:00AM UTC coverage: 89.581% (+0.03%) from 89.548%
24824120975

Pull #144

github

umputun
fix(ui): address code review findings for overlay mouse support

Bug fixes:
- annotlist/themeselect click handlers now check X coordinate against
  the popup width; clicks on the left/right border or horizontal
  padding are no-ops (previously selected items). Fixes accidental
  theme-persist on mis-clicked chrome.
- themeselect click now updates lastPreviewedName so a subsequent
  keyboard-wheel back to the same entry does not re-emit a preview.

Test improvements:
- Strengthen TestModel_HandleMouse_WheelScrollsCommitInfoOverlay to
  park diffCursor at a non-zero value so wheel-leaking-through would
  be visible.
- Add model-level wheel tests for annotlist and themeselect.
- Add model-level click-to-jump and click-to-confirm integration tests.
- Add horizontal-chrome click tests (border/padding columns).
- Add empty-entries click test for themeselect (panic guard).
- Add Close-clears-bounds test.
- Add no-active-overlay HandleMouse test.

Cleanup:
- Consolidate wheel-step constant: export overlay.WheelStep and have
  app/ui.wheelStep reference it (single source of truth).
- Drop unreachable case KindNone in Manager.HandleMouse switch (early
  return already handles it).
- Clarify unreachable Closed/ThemeCanceled branches in
  handleOverlayMouse via comment (kept for keyboard-path symmetry).
- Drop dead _ = i in commitinfo_test.go loop.
- Restore trailing newline in diffnav_test.go (unrelated formatter
  artifact).

Docs:
- CLAUDE.md: add overlay mouse gotcha (HandleMouse, Manager.bounds
  side effect, Close reset, row offsets, shared WheelStep).
- README, site/docs.html, plugin + codex usage.md: clarify help
  overlay ignores all mouse events, not just wheel.
Pull Request #144: Mouse wheel and click support in overlay popups

169 of 185 new or added lines in 6 files covered. (91.35%)

8185 of 9137 relevant lines covered (89.58%)

458.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
95.8
-2.04% app/ui/overlay/themeselect.go
4
97.08
-2.14% app/ui/overlay/annotlist.go
2
93.08
-0.8% app/ui/mouse.go
2
95.02
-0.58% app/ui/overlay/commitinfo.go
2
94.3
-0.1% app/ui/overlay/overlay.go
Jobs
ID Job ID Ran Files Coverage
1 24824120975.1 23 Apr 2026 08:05AM UTC 59
89.58
GitHub Action Run
Source Files on build 24824120975
  • Tree
  • List 59
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #144
  • PR Base - master (#24821449577)
  • 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