style: fix whitespace alignment in list_tui, log_tui, manifest

This commit is contained in:
Willie
2026-02-26 16:14:01 +08:00
parent 99a07e79a3
commit d6d326dfc8
3 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -115,8 +115,8 @@ type listTUIModel struct {
// Content viewer overlay — dual-pane: left tree + right content
showContent bool
contentScroll int
contentText string // current file content (rendered)
contentSkillKey string // RelPath of skill being viewed
contentText string // current file content (rendered)
contentSkillKey string // RelPath of skill being viewed
termHeight int
treeAllNodes []treeNode // complete flat tree (includes collapsed children)
treeNodes []treeNode // visible nodes (collapsed children hidden)
-1
View File
@@ -955,7 +955,6 @@ func (m logTUIModel) renderStatsPanel() string {
dimStyle.Render(fmt.Sprintf("(%.1f%%)", m.stats.SuccessRate*100)),
))
// ── Command breakdown with horizontal bars ──
header := fmt.Sprintf(" %-12s %-20s %s", "Command", "", "OK")
b.WriteString(dimStyle.Render(header))
+2 -2
View File
@@ -13,8 +13,8 @@ const ManifestFile = ".skillshare-manifest.json"
// Manifest tracks which skills are managed by skillshare in a target directory.
// Used by both merge mode (values: "symlink") and copy mode (values: SHA-256 checksum).
type Manifest struct {
Managed map[string]string `json:"managed"` // flatName → "symlink" (merge) or SHA-256 checksum (copy)
Mtimes map[string]int64 `json:"mtimes,omitempty"` // flatName → source dir max mtime (UnixNano), copy mode only
Managed map[string]string `json:"managed"` // flatName → "symlink" (merge) or SHA-256 checksum (copy)
Mtimes map[string]int64 `json:"mtimes,omitempty"` // flatName → source dir max mtime (UnixNano), copy mode only
UpdatedAt time.Time `json:"updated_at"`
}