Changes tab UI beautification

Merged
KI
1y ago
+445-318

Improve changes tab UI

Summary by CodeRabbit

  • New Features

    • Interactive base-branch selector with remote branch fetching.
    • File header can open files in external apps (tooltip + "Open in …") and accepts an optional worktree path.
    • New FolderRow-based grouped/tree rendering with indentation support and folder counts.
    • Untracked files now report line-based additions in file stats.
  • Style

    • Improved sidebar layout, truncation, overflow handling, and shrink behavior to preserve spacing.
    • Refined status badges/indicators and simplified view-mode toggle to a tooltip-wrapped button.

✏️ Tip: You can customize this high-level summary in your review settings.