Skip to content

Commit 61b5395

Browse files
committed
feat(git): integrate GitHub issues into commit message action #408
Consolidate commit message generation by merging GitHub issue functionality into the main CommitMessageSuggestionAction. Remove separate CommitMessageWithIssueIdAction and add GitHub integration with issue selection popup, progress indicators, and dual-mode operation (AI generation vs GitHub issues).
1 parent 8ffbf0c commit 61b5395

File tree

4 files changed

+246
-236
lines changed

4 files changed

+246
-236
lines changed

build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,11 @@ project(":exts:ext-git") {
611611

612612
implementation(project(":core"))
613613
implementation(project(":exts:devins-lang"))
614+
615+
// kanban
616+
implementation("org.kohsuke:github-api:1.326")
617+
implementation("org.gitlab4j:gitlab4j-api:5.8.0")
618+
614619
implementation("cc.unitmesh:git-commit-message:0.4.6") {
615620
excludeKotlinDeps()
616621
}

core/src/233/main/resources/META-INF/autodev-core.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -437,13 +437,7 @@
437437
<add-to-group group-id="EditorPopupMenu" anchor="first"/>
438438
</group>
439439

440-
<action id="autodev.Vcs.CommitMessageWithIssueId"
441-
class="cc.unitmesh.devti.actions.github.CommitMessageWithIssueIdAction"
442-
icon="cc.unitmesh.devti.AutoDevIcons.GITHUB_ISSUE"
443-
description="Fetch GitHub issues for AI">
444440

445-
<add-to-group group-id="Vcs.MessageActionGroup"/>
446-
</action>
447441

448442
<action id="cc.unitmesh.devti.QuickAssistant"
449443
class="cc.unitmesh.devti.actions.quick.QuickAssistantAction"

core/src/main/kotlin/cc/unitmesh/devti/actions/github/CommitMessageWithIssueIdAction.kt

Lines changed: 0 additions & 179 deletions
This file was deleted.

0 commit comments

Comments
 (0)