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

umputun / revdiff / 25135114111
90%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2026 09:36PM UTC
Jobs 1
Files 66
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

29 Apr 2026 09:34PM UTC coverage: 89.581% (-0.06%) from 89.641%
25135114111

push

github

umputun
fix(ui): use search-match fg for prefix on collapsed search-match lines

Addresses Copilot's review on PR #160. When a line in collapsed mode is a
search match and chroma highlighting is on, the previous fix wrapped the
+/~ prefix in the add-fg or modify-fg color, mismatching the search-match
background. The non-highlighted path uses the SearchMatch lipgloss style
(fg + bg), so the prefix renders in search-fg there. With highlighting on,
the lipgloss style drops the foreground for chroma to own content fg, so
the prefix wrap must inject search-fg explicitly to match.

Add ColorKeySearchFg (mirrors the existing ColorKeyAddLineFg / ModifyLineFg
pattern) and use it in renderCollapsedAddLine when isSearchMatch is true.

11 of 11 new or added lines in 3 files covered. (100.0%)

73 existing lines in 6 files now uncovered.

9346 of 10433 relevant lines covered (89.58%)

515.66 hits per line

Coverage Regressions

Lines Coverage ∆ File
35
8.56
-0.4% app/main.go
11
94.49
0.16% app/ui/collapsed.go
11
92.08
0.0% app/ui/model.go
7
62.69
2.37% app/ui/style/color_key_enum.go
6
95.87
0.07% app/ui/overlay/themeselect.go
3
96.15
-0.18% app/ui/diffview.go
Jobs
ID Job ID Ran Files Coverage
1 25135114111.1 29 Apr 2026 09:36PM UTC 66
89.58
GitHub Action Run
Source Files on build 25135114111
  • Tree
  • List 66
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 37f1fea1 on github
  • Prev Build on master (#25132517996)
  • Next Build on master (#25135350154)
  • 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