Skip to content

feat: branch grouping#29

Merged
marcelmarais merged 4 commits into
mainfrom
branch-grouping
Jan 6, 2026
Merged

feat: branch grouping#29
marcelmarais merged 4 commits into
mainfrom
branch-grouping

Conversation

@marcelmarais

@marcelmarais marcelmarais commented Jan 6, 2026

Copy link
Copy Markdown
Owner

Note

Introduces branch-based grouping and a compact timeline for commit details within repo cards.

  • New BranchGroup and CommitItem components in commit-overlay.tsx to group commits by branch, sort branches (main branches first via isMainBranch), and display a timeline-style list with author, short SHA, remote link, and expandable file badges (with truncated paths)
  • Refactors repo view to show branch sections within a scrollable area; improves “more/less” affordances
  • Adds isMainBranch helper and main-branch constants in git-reader.ts
  • Tweaks accordion trigger/content styles (removes animations, adjusts icon behavior)
  • Bumps Tauri app version to 0.2.6; adds VS Code tasks for dev and checks

Written by Cursor Bugbot for commit 1b54751. This will update automatically on new commits. Configure here.

@marcelmarais marcelmarais merged commit c4d64bd into main Jan 6, 2026
2 of 3 checks passed

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on March 3

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

weight="bold"
/>
</div>
)}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Single-commit branches hide file details with no expand option

Medium Severity

When a branch contains exactly one commit, remainingCommits.length is 0, so the expand indicator (caret icon and "X more" text) is not rendered. However, the compact prop passed to CommitItem is !isExpanded, which defaults to true. Since CommitItem only displays file details when !compact, users cannot see file information for single-commit branches. The accordion trigger is still technically clickable, but there's no visual indication that expansion is possible, making this functionality undiscoverable.

Additional Locations (1)

Fix in Cursor Fix in Web

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