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

umputun / revdiff / 24577485579
88%
master: 90%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.6.1
DEFAULT BRANCH: master
Ran 17 Apr 2026 05:13PM UTC
Jobs 1
Files 57
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

17 Apr 2026 05:10PM UTC coverage: 88.362% (+0.02%) from 88.345%
24577485579

Pull #117

github

umputun
fix(ui): suppress initial loading flash and drop stale file-list responses

Bubble Tea delivered the first WindowSizeMsg before filesLoadedMsg, so between
ready=true and the async ChangedFiles returning, View() painted the populated
two-pane layout with an empty tree and "no file selected" — a 100-500 ms flash
on larger repos.

Gate View() on a new filesLoaded flag: show "loading..." while !ready, then
"loading files..." while ready && !filesLoaded. handleFilesLoaded flips the flag
first thing, including on error, so the loading screen always exits.

Also tag filesLoadedMsg with a seq captured at load time and drop mismatched
messages in handleFilesLoaded. toggleUntracked (and any future reload site) bumps
filesLoadSeq so an older in-flight ChangedFiles can't overwrite the tree after
the user toggles state.
Pull Request #117: fix(ui): suppress initial loading flash and drop stale file-list responses

13 of 14 new or added lines in 3 files covered. (92.86%)

7031 of 7957 relevant lines covered (88.36%)

330.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
84.54
0.44% app/ui/loaders.go
Jobs
ID Job ID Ran Files Coverage
1 24577485579.1 17 Apr 2026 05:13PM UTC 57
88.36
GitHub Action Run
Source Files on build 24577485579
  • Tree
  • List 57
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #117
  • PR Base - master (#24554717245)
  • 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