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

umputun / revdiff / 24090286663
90%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2026 03:41PM UTC
Jobs 1
Files 20
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

07 Apr 2026 03:40PM UTC coverage: 90.074% (-0.5%) from 90.562%
24090286663

push

github

web-flow
feat: reviewed file marks and A/M/D status indicators in file tree (#54)

* feat: add reviewed file marks and A/M/D status indicators in file tree

Add space bar toggle to mark files as reviewed (green ✓ checkmark in tree),
with progress shown in status bar (✓ N/M) and mode icon strip.

Change Renderer.ChangedFiles to return []FileEntry with git status info,
enabling A/M/D indicators in the tree sidebar with semantic colors
(green=added, red=deleted, muted=modified).

* refactor: simplify reviewed marks and file status code

- Add FileStatus type with constants (FileAdded, FileModified, etc.)
  replacing raw string literals
- Pre-compute status styles (StatusAdded, StatusDeleted, StatusDefault)
  on styles struct instead of allocating per render
- Remove dead indent parameter from renderFileEntry
- Move status styling to styles.fileStatusStyle() method
- Build []FileEntry directly in DirectoryReader without intermediate
  []string allocation
- Remove WHAT comments that restated the code

* refactor: use NUL-terminated git output and streamline file tree construction

Switch ChangedFiles to git diff --name-status -z for robust parsing of
filenames with special characters. Add newFileTreeFromEntries to eliminate
the roundtrip of extracting paths then re-inserting statuses. Fix tree-pane
mark-reviewed to use selected row instead of stale currFile.

122 of 154 new or added lines in 9 files covered. (79.22%)

1 existing line in 1 file now uncovered.

4365 of 4846 relevant lines covered (90.07%)

439.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
84.79
-5.0% app/diff/diff.go
10
93.57
-3.1% app/ui/filetree.go
8
94.76
-4.07% app/ui/styles.go
2
93.55
-0.08% app/ui/model.go

Coverage Regressions

Lines Coverage ∆ File
1
84.79
-5.0% app/diff/diff.go
Jobs
ID Job ID Ran Files Coverage
1 24090286663.1 07 Apr 2026 03:41PM UTC 20
90.07
GitHub Action Run
Source Files on build 24090286663
  • Tree
  • List 20
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e9744e04 on github
  • Prev Build on master (#24072263720)
  • Next Build on master (#24101905506)
  • 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