Files
skillshare/cmd
Willie d2883e5773 refactor(tui): consolidate duplicated utilities and cache detail rendering
- Extract shared formatDurationShort, truncateStr, renderHorizontalSplit,
  tuiMinSplitWidth into tui_helpers.go; replace 5 truncate and 3 relative
  time duplicates across cmd/skillshare with thin wrappers
- Remove duplicate applyRestoreDetailScroll from restore_tui.go
- Cache detail panel content in restore_tui.go and trash_tui.go to avoid
  filesystem I/O (recursive walks, SKILL.md reads) on every bubbletea
  render frame — recompute only on selection change or mutation
- Remove dead ListBackupVersions call in startDelete whose result was
  discarded
2026-03-02 02:23:50 +08:00
..