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

umputun / revdiff / 24824011843
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.6.1
DEFAULT BRANCH: master
Ran 23 Apr 2026 08:02AM 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.2%) from 89.417%
24824011843

push

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.

18 of 19 new or added lines in 4 files covered. (94.74%)

8185 of 9137 relevant lines covered (89.58%)

458.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.3
2.43% app/ui/overlay/overlay.go
Jobs
ID Job ID Ran Files Coverage
1 24824011843.1 23 Apr 2026 08:02AM UTC 59
89.58
GitHub Action Run
Source Files on build 24824011843
  • Tree
  • List 59
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 44aa25af on github
  • Prev Build on feat/overlay-mouse-support (#24823271221)
  • Next Build on feat/overlay-mouse-support (#24824757554)
  • 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