Skip to content

Conversation

sergeibbb
Copy link
Member

@sergeibbb sergeibbb commented Aug 6, 2025

Description

Resolves #4443

Graph:
image

Panel:
image

Checklist

  • I have followed the guidelines in the Contributing document
  • My changes follow the coding style of this project
  • My changes build without any errors or warnings
  • My changes have been formatted and linted
  • My changes include any required corresponding changes to the documentation (including CHANGELOG.md and README.md)
  • My changes have been rebased and squashed to the minimal number (typically 1) of relevant commits
  • My changes have a descriptive commit message with a short title, including a Fixes $XXX - or Closes #XXX - prefix to auto-close the issue that your PR addresses

@sergeibbb sergeibbb marked this pull request as draft August 6, 2025 22:38
sergeibbb added a commit that referenced this pull request Aug 7, 2025
Introduces new AI-assisted commands to recompose all branch commits
and specifically unpushed commits via the graph webview.

(#4443, #4522)
sergeibbb added a commit that referenced this pull request Aug 7, 2025
Updates branch context detection to add a '+recomposable' flag for branches that have commits eligible for recomposition, determined by checking recent merge bases against stored targets. Adjusts menu conditions so the AI rebase command is shown only when a branch can be recomposed, preventing unnecessary options for branches without suitable commits.

(#4443, #4522)
sergeibbb added a commit that referenced this pull request Aug 7, 2025
@sergeibbb sergeibbb force-pushed the feature/4443-ai-rebase-on-branch branch from 3fe767e to 7de9ae3 Compare August 7, 2025 23:23
sergeibbb added a commit that referenced this pull request Aug 7, 2025
sergeibbb added a commit that referenced this pull request Aug 7, 2025
sergeibbb added a commit that referenced this pull request Aug 7, 2025
sergeibbb added a commit that referenced this pull request Aug 7, 2025
This uses the user defined value first and only when it's not set we
fall back to other possible values.
(#4443, #4522)
sergeibbb added a commit that referenced this pull request Aug 7, 2025
Introduces AI-powered branch actions ("Recompose" and "Explain") directly into the branches view, enabling context menu options when branches are recomposable or have unpushed commits. Refactors and centralizes branch recomposability detection to ensure consistent logic across graph and views, improving maintainability and user experience. Enhances discoverability and workflow integration for AI-assisted Git operations.

(#4443, #4522)
sergeibbb added a commit that referenced this pull request Aug 8, 2025
Introduces new AI-assisted commands to recompose all branch commits
and specifically unpushed commits via the graph webview.

(#4443, #4522)
sergeibbb added a commit that referenced this pull request Aug 8, 2025
Updates branch context detection to add a '+recomposable' flag for branches that have commits eligible for recomposition, determined by checking recent merge bases against stored targets. Adjusts menu conditions so the AI rebase command is shown only when a branch can be recomposed, preventing unnecessary options for branches without suitable commits.

(#4443, #4522)
sergeibbb added a commit that referenced this pull request Aug 8, 2025
sergeibbb added a commit that referenced this pull request Aug 8, 2025
@sergeibbb sergeibbb force-pushed the feature/4443-ai-rebase-on-branch branch from 7de9ae3 to 5153fa9 Compare August 8, 2025 00:14
sergeibbb added a commit that referenced this pull request Aug 8, 2025
sergeibbb added a commit that referenced this pull request Aug 8, 2025
sergeibbb added a commit that referenced this pull request Aug 8, 2025
This uses the user defined value first and only when it's not set we
fall back to other possible values.
(#4443, #4522)
sergeibbb added a commit that referenced this pull request Aug 8, 2025
Introduces AI-powered branch actions ("Recompose" and "Explain") directly into the branches view, enabling context menu options when branches are recomposable or have unpushed commits. Refactors and centralizes branch recomposability detection to ensure consistent logic across graph and views, improving maintainability and user experience. Enhances discoverability and workflow integration for AI-assisted Git operations.

(#4443, #4522)
@sergeibbb sergeibbb marked this pull request as ready for review August 8, 2025 00:18
sergeibbb added a commit that referenced this pull request Aug 8, 2025
Introduces new AI-assisted commands to recompose all branch commits
and specifically unpushed commits via the graph webview.

(#4443, #4522)
@sergeibbb sergeibbb force-pushed the feature/4443-ai-rebase-on-branch branch from 5153fa9 to 2094d32 Compare August 8, 2025 00:19
sergeibbb added a commit that referenced this pull request Aug 8, 2025
Updates branch context detection to add a '+recomposable' flag for branches that have commits eligible for recomposition, determined by checking recent merge bases against stored targets. Adjusts menu conditions so the AI rebase command is shown only when a branch can be recomposed, preventing unnecessary options for branches without suitable commits.

(#4443, #4522)
sergeibbb added a commit that referenced this pull request Aug 8, 2025
sergeibbb added a commit that referenced this pull request Aug 8, 2025
sergeibbb added a commit that referenced this pull request Oct 8, 2025
Updates branch context detection to add a '+recomposable' flag for branches that have commits eligible for recomposition, determined by checking recent merge bases against stored targets. Adjusts menu conditions so the AI rebase command is shown only when a branch can be recomposed, preventing unnecessary options for branches without suitable commits.

(#4443, #4522)
sergeibbb added a commit that referenced this pull request Oct 8, 2025
sergeibbb added a commit that referenced this pull request Oct 8, 2025
sergeibbb added a commit that referenced this pull request Oct 8, 2025
sergeibbb added a commit that referenced this pull request Oct 8, 2025
sergeibbb added a commit that referenced this pull request Oct 8, 2025
This uses the user defined value first and only when it's not set we
fall back to other possible values.
(#4443, #4522)
@sergeibbb sergeibbb force-pushed the feature/4443-ai-rebase-on-branch branch from 3a7fd74 to a9b781e Compare October 8, 2025 13:26
sergeibbb added a commit that referenced this pull request Oct 8, 2025
Also adds more item context for new AI-assisted commands to explain
unpushed changes
(#4443, #4522)
sergeibbb added a commit that referenced this pull request Oct 8, 2025
Introduces AI-powered branch actions ("Recompose" and "Explain") directly into the branches view, enabling context menu options when branches are recomposable or have unpushed commits. Refactors and centralizes branch recomposability detection to ensure consistent logic across graph and views, improving maintainability and user experience. Enhances discoverability and workflow integration for AI-assisted Git operations.

(#4443, #4522)
@sergeibbb sergeibbb force-pushed the feature/4443-ai-rebase-on-branch branch from a9b781e to 8109580 Compare October 8, 2025 13:44
Also adds more item context for new AI-assisted commands to explain
unpushed changes
(#4443, #4522)
Introduces AI-powered branch actions ("Recompose" and "Explain") directly into the branches view, enabling context menu options when branches are recomposable or have unpushed commits. Refactors and centralizes branch recomposability detection to ensure consistent logic across graph and views, improving maintainability and user experience. Enhances discoverability and workflow integration for AI-assisted Git operations.

(#4443, #4522)
@sergeibbb sergeibbb force-pushed the feature/4443-ai-rebase-on-branch branch from 8109580 to 8095dc5 Compare October 8, 2025 13:45
sergeibbb added a commit that referenced this pull request Oct 8, 2025
Updates branch context detection to add a '+recomposable' flag for branches that have commits eligible for recomposition, determined by checking recent merge bases against stored targets. Adjusts menu conditions so the AI rebase command is shown only when a branch can be recomposed, preventing unnecessary options for branches without suitable commits.

(#4443, #4522)
sergeibbb added a commit that referenced this pull request Oct 8, 2025
sergeibbb added a commit that referenced this pull request Oct 8, 2025
sergeibbb added a commit that referenced this pull request Oct 8, 2025
sergeibbb added a commit that referenced this pull request Oct 8, 2025
sergeibbb added a commit that referenced this pull request Oct 8, 2025
This uses the user defined value first and only when it's not set we
fall back to other possible values.
(#4443, #4522)
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.

Add an option to explain commits from all changes on a branch
2 participants