Skip to content

Count the incoming commits on the upstream card header in Lite - #15855

Draft
mtsgrd wants to merge 1 commit into
masterfrom
upstream-header-count
Draft

mtsgrd wants to merge 1 commit into
masterfrom
upstream-header-count

Conversation

@mtsgrd

@mtsgrd mtsgrd commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

The target's card header named the branch and nothing else, so how much had landed upstream only showed once the card was unfolded, or on the Base row's "N behind" further down.

  • The section header gains a badge slot beside its label, in the position the uncommitted header uses for its file count.
  • The target's card fills it with the plan's incoming count, in the same lightGray badge, with "N new commits" as the spoken label.

No CSS changed.

🤖 Generated with Claude Code

- the target's row wears the number of new commits as a badge, the way the uncommitted header wears its file count, so the count reads without unfolding the card

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
mtsgrd added a commit that referenced this pull request Sep 9, 2026
@mtsgrd

mtsgrd commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Screenshots

Captured ad hoc from the dev app against this repository's own target, which had one new commit at the time. After only. The upstream card is not in the screenshot catalogue, so this surface is not covered going forward.

upstream-header

upstream-header

@mtsgrd mtsgrd added the screenshots Before/after UI screenshots are attached label Sep 9, 2026

This branch was previously deployed

1 inactive deployment
Preview aa95dd27 Deployed Sep 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@gitbutler/lite screenshots Before/after UI screenshots are attached

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant