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

umputun / revdiff / 24287986461 / 1
90%
master: 90%

Build:
DEFAULT BRANCH: master
Ran 11 Apr 2026 05:43PM UTC
Files 43
Run time 1s
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

11 Apr 2026 05:42PM UTC coverage: 87.736% (-0.4%) from 88.175%
24287986461.1

push

github

web-flow
refactor(ui): extract sidepane sub-package with FileTree and TOC (#93)

* add plan: sidepane-extraction

* feat(sidepane): bootstrap sidepane package with enums, interfaces, and shared helper

Add app/ui/sidepane/ sub-package skeleton with Motion/Direction enums
(via go-pkgz/enum), consumer-side Resolver/Renderer interfaces,
FileTreeRender/TOCRender option structs, and shared ensureVisible helper.
Includes table-driven tests for ensureVisible and enum exhaustiveness.

* feat(sidepane): implement FileTree type with all methods

Port filetree.go logic into app/ui/sidepane/filetree.go with exported
API: NewFileTree, Move(Motion), StepFile(Direction), HasFile(Direction),
Rebuild, SelectedFile, TotalFiles, FileStatus, FilterActive, ReviewedCount,
ToggleFilter, RefreshFilter, ToggleReviewed, SelectByPath, EnsureVisible,
and Render(FileTreeRender).

* feat(sidepane): port FileTree tests to sidepane package

* feat(sidepane): implement TOC type with all methods

* feat(sidepane): port TOC tests to sidepane package

* feat(sidepane): add consumer-side interfaces and factory injection to Model

Add FileTreeComponent and TOCComponent exported interfaces to ui/model.go,
change Model.tree and Model.mdTOC field types from concrete to interface,
add NewFileTree/ParseTOC factory fields to ModelConfig and Model, validate
factories in NewModel, and initialize m.tree with empty tree for nil-safety.

* feat(sidepane): migrate loaders.go call sites to new API

* feat(sidepane): migrate view.go call sites to new API

* feat(sidepane): migrate diffnav.go call sites to new API

* feat(sidepane): migrate handlers, annotate, annotlist, model call sites to new API

* feat(sidepane): wire factory closures in main.go

* feat(sidepane): delete old filetree.go and mdtoc.go from ui package

Remove the original filetree.go, filetree_test.go, mdtoc.go, and
mdtoc_test.go files that were ported to app/ui/sidepane/ in earlier
tasks. Relocate isMarkdownFile and isFullContext helper method... (continued)

6367 of 7257 relevant lines covered (87.74%)

359.75 hits per line

Source Files on job 24287986461.1
  • Tree
  • List 43
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24287986461
  • 6e47da47 on github
  • Prev Job for on master (#24277848828.1)
  • Next Job for on master (#24294082649.1)
  • 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