Skip to content

Conversation

@sergeibbb
Copy link
Member

@sergeibbb sergeibbb commented Mar 27, 2025

Description

solves gitkraken/vscode-gitlens-private#43

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

Base automatically changed from feature/create-prs to main March 28, 2025 11:01
@sergeibbb sergeibbb force-pushed the 43-start-pr branch 2 times, most recently from de8b942 to 13c1fa3 Compare March 28, 2025 13:05
@sergeibbb sergeibbb changed the title 43 start pr Start Pull Request with AI Mar 28, 2025
Copy link
Contributor

@axosoft-ramint axosoft-ramint left a comment

Choose a reason for hiding this comment

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

Heads-up @sergeibbb @eamodio : We do not have a prompt template in the GitKraken provider (from the url ...gitkraken.dev/v1/ai-tasks/templates/message-prompt/generate-pullRequestMessage) so attempting this action with the GitKraken provider will always silently throw and do a regular "create PR" without AI instead (because getPromptTemplate fails).

sergeibbb added a commit that referenced this pull request Mar 28, 2025
- prompt is from createCommitMessage
- only diff is used
(#4177)
sergeibbb added a commit that referenced this pull request Mar 28, 2025
sergeibbb added a commit that referenced this pull request Mar 28, 2025
sergeibbb added a commit that referenced this pull request Mar 28, 2025
sergeibbb added a commit that referenced this pull request Mar 28, 2025
sergeibbb added a commit that referenced this pull request Mar 28, 2025
sergeibbb added a commit that referenced this pull request Mar 28, 2025
sergeibbb added a commit that referenced this pull request Mar 28, 2025
- prompt is from createCommitMessage
- only diff is used
(vscode-gitlens-private#43, #4177)
(vscode-gitlens-private#43, #4177)
@axosoft-ramint axosoft-ramint merged commit 3189ac5 into main Mar 28, 2025
3 checks passed
@axosoft-ramint axosoft-ramint deleted the 43-start-pr branch March 28, 2025 18:37
saeedzaha pushed a commit to saeedzaha/vscode-gitlens that referenced this pull request Apr 28, 2025
* Fixes GitHub createPR URL so the title does not disappear on redirects

(vscode-gitlens-private#43, gitkraken#4177)

* Generates PR title and message using AI:

- prompt is from createCommitMessage
- only diff is used
(vscode-gitlens-private#43, gitkraken#4177)

* Includes log to generating Pull Request details

(vscode-gitlens-private#43, gitkraken#4177)

* Uses a new AI prompt for generating Pull Request details

(vscode-gitlens-private#43, gitkraken#4177)

* Shows one-branch diff for a PR creation by using '...' notation in diff

(vscode-gitlens-private#43, gitkraken#4177)

* Generates title and body for GitLab merge request using AI

(vscode-gitlens-private#43, gitkraken#4177)

* Fixes a problem with stringifying undefined branches to `origin/undefined

(vscode-gitlens-private#43, gitkraken#4177)

* Makes AI usage in create PR optional, adds button that creates PR using AI

(vscode-gitlens-private#43, gitkraken#4177)

* Styles the "Create PR with AI" button

(vscode-gitlens-private#43, gitkraken#4177)

* Mentions AI assisted PR creation in the changelog

(vscode-gitlens-private#43, gitkraken#4177)

* Hides AI PR creation button for repos that we cannot preset title and body

(vscode-gitlens-private#43, gitkraken#4177)

* Requires AI feature access to generate a Pull Request with AI

(vscode-gitlens-private#43, gitkraken#4177)

* Adds "(Preview)" suffix to labels of Create Pull Request with AI feature

(vscode-gitlens-private#43, gitkraken#4177)

* Adds a new prop for specific custom instructions for create PR with AI

(vscode-gitlens-private#43, gitkraken#4177)

* Fixes prompt/action name and settings

* Updates button label

---------

Co-authored-by: Eric Amodio <[email protected]>
Co-authored-by: Ramin Tadayon <[email protected]>
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.

3 participants