Skip to content

Preserve repository status in narrow panes - #5

Merged
wrgrant merged 1 commit into
mainfrom
agent/compact-repository-status
Aug 5, 2026
Merged

Preserve repository status in narrow panes#5
wrgrant merged 1 commit into
mainfrom
agent/compact-repository-status

Conversation

@wrgrant

@wrgrant wrgrant commented Aug 5, 2026

Copy link
Copy Markdown
Owner

What changed

  • adds a native right-edge file decoration for every repository row
  • shows a clean checkmark or a bounded dirty-file count from 1–99
  • prioritizes age and worktree count before a compact middle-ellipsized branch
  • middle-ellipsizes unusually long repository names
  • preserves complete names, branch, status, path, worktree count, and activity age in tooltips and accessibility labels
  • gives repository rows stable IDs so selection survives dirty-state refreshes
  • bumps Git Fleet to 0.2.2

Why

The native TreeView does not expose pane width or per-row flex CSS. Long repository and branch names could consume the row and hide the operational context users need most. Native file decorations reserve right-edge space and degrade predictably at narrow widths.

Validation

  • pnpm run format
  • pnpm run lint
  • pnpm run typecheck
  • pnpm run test (90 backend, 20 extension, 43 webview)
  • pnpm run package
  • localization coverage: 129/129 for Simplified and Traditional Chinese
  • packaged and installed wgrant-dev.git-fleet@0.2.2 locally

@wrgrant
wrgrant marked this pull request as ready for review August 5, 2026 21:25
@cursor

cursor Bot commented Aug 5, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@wrgrant
wrgrant merged commit 01aa33c into main Aug 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant