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

umputun / revdiff / 46833961269
92%

Build:
DEFAULT BRANCH: master
Ran 02 Dec 2026 07:37AM UTC
Jobs 1
Files 82
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

02 Dec 2026 07:35AM UTC coverage: 92.343% (+0.2%) from 92.15%
46833961269

push

github

web-flow
fix(ui): toggle view modes from the tree and drop the file on a failed load (#475)

* fix(ui): toggle collapsed, line numbers, blame and word diff from the tree pane

v, L, B and W returned early unless the diff pane had focus, the same check w had before #474. They only change how the diff pane renders, so drop the focus check and keep the loaded-file and blamer guards.

* fix(ui): redraw the diff when focus moves to it from the tree

the cursor line renders only under diff focus, and Tab, l, right and Enter from the tree or TOC switched focus without repainting, so the diff showed no cursor until the next redraw. Update now repaints once whenever a key moves focus to the diff pane.

* fix(ui): drop the displayed file when a diff load fails

a failed load wrote its error only into the viewport and kept the previous file loaded, so any redraw (w, t, resize) put that file's diff back while the tree pointed at the failed one, and Enter could annotate it out of sight. The error now lives in the model and renders until a load succeeds, and the previous file is cleared, so returning to it loads it again.

* refactor(ui): move the focus repaint out of Update

keeps Update under the gocyclo limit.

* fix(ui): clear file-derived state on a failed load and keep file-list notices

a failed load now also drops the file's search matches, markdown TOC and inline draft, refits the panes, and Space in the diff pane leaves review marks alone. The focus repaint skips while a file-list notice is still on screen, so Tab no longer draws the old diff over it.

* fix(ui): reset the cursor and keep the selection after a failed load

dropping a file left the diff cursor at its old line, so moving up indexed an empty file and panicked. A reload after a failed load also lost the selection, since no file was loaded to restore it from; it now falls back to the tree's selection. The vim-motion docs now say L toggles line numbers from the tree.

58 of 58 new or added lines in 5 files covered. (100.0%)

12542 of 13582 relevant lines covered (92.34%)

3456.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 46833961269.1 02 Dec 2026 07:37AM UTC 82
92.34
GitHub Action Run
Source Files on build 46833961269
  • Tree
  • List 82
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c09402e1 on github
  • Prev Build on master (#46828366348)
  • Next Build on master (#46834601602)
  • 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