Skip to content

Commit 091631f

Browse files
committed
refactor(git): remove prepush review action #332
- Delete `PrepushReviewAction.kt` and related configuration. - Remove prepush review action from `AutoDevBundle` properties files. - Remove prepush review action from `cc.unitmesh.git.xml`.
1 parent ca041d5 commit 091631f

File tree

4 files changed

+0
-51
lines changed

4 files changed

+0
-51
lines changed

core/src/main/resources/messages/AutoDevBundle_en.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ settings.autodev.others.quickAssistant=Quick Assistant
164164
settings.autodev.others.commitMessage=Commit Message (AutoDev)
165165
settings.autodev.others.generateReleaseNote=Generate Release Note (AutoDev)
166166
settings.autodev.others.codeReview=CodeReview (AutoDev)
167-
settings.autodev.others.prepushReviewAction=Prepush Review (AutoDev)
168167
settings.autodev.others.codeComplete=Code Complete (AutoDev)
169168
settings.autodev.others.editSettings=Edit Settings
170169

core/src/main/resources/messages/AutoDevBundle_zh.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ settings.autodev.others.quickAssistant=文本生成代码 (AutoDev)
173173
settings.autodev.others.commitMessage=提交消息 (AutoDev)
174174
settings.autodev.others.generateReleaseNote=生成发布说明 (AutoDev)
175175
settings.autodev.others.codeReview=代码审查 (AutoDev)
176-
settings.autodev.others.prepushReviewAction=预推送审查 (AutoDev)
177176
settings.autodev.others.codeComplete=补全代码 (AutoDev)
178177
settings.autodev.others.editSettings=编辑设置
179178

exts/ext-git/src/main/kotlin/cc/unitmesh/git/actions/vcs/PrepushReviewAction.kt

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

exts/ext-git/src/main/resources/cc.unitmesh.git.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,6 @@
3333
anchor="after"/>
3434
<add-to-group group-id="Vcs.Log.ContextMenu" relative-to-action="Vcs.ShowDiffWithLocal" anchor="after"/>
3535
</action>
36-
37-
<action id="autodev.Vcs.PrepushReview"
38-
class="cc.unitmesh.git.actions.vcs.PrepushReviewAction"
39-
icon="cc.unitmesh.devti.AutoDevIcons.AI_COPILOT"
40-
description="Ask AI to review code">
41-
42-
<add-to-group group-id="ChangesViewToolbar" anchor="last"/>
43-
<add-to-group group-id="ChangesViewPopupMenu" relative-to-action="ChangesView.Revert" anchor="after"/>
44-
</action>
4536
</actions>
4637

4738
<extensions defaultExtensionNs="cc.unitmesh">

0 commit comments

Comments
 (0)