This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/answer-plugins.git


The following commit(s) were added to refs/heads/dev by this push:
     new 76ed813  refactor(reviewer-basic): remove post review configuration 
options
76ed813 is described below

commit 76ed8135e68cf895f7b8c09cf5a8abe9c59ccfa7
Author: LinkinStars <linkins...@foxmail.com>
AuthorDate: Wed Apr 23 10:46:44 2025 +0800

    refactor(reviewer-basic): remove post review configuration options
---
 reviewer-basic/basic.go | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/reviewer-basic/basic.go b/reviewer-basic/basic.go
index db37445..981f9e6 100644
--- a/reviewer-basic/basic.go
+++ b/reviewer-basic/basic.go
@@ -179,25 +179,6 @@ func (r *Reviewer) ConfigFields() []plugin.ConfigField {
                                },
                        },
                },
-               {
-                       Name:  "review_post_all",
-                       Type:  plugin.ConfigTypeSwitch,
-                       Title: 
plugin.MakeTranslator(i18n.ConfigReviewPostTitle),
-                       UIOptions: plugin.ConfigFieldUIOptions{
-                               Label:          
plugin.MakeTranslator(i18n.ConfigReviewPostLabelAll),
-                               FieldClassName: "mb-0",
-                       },
-                       Value: r.Config.PostAllNeedReview,
-               },
-               {
-                       Name:        "review_post",
-                       Type:        plugin.ConfigTypeSwitch,
-                       Description: 
plugin.MakeTranslator(i18n.ConfigReviewPostDescription),
-                       UIOptions: plugin.ConfigFieldUIOptions{
-                               Label: 
plugin.MakeTranslator(i18n.ConfigReviewPostLabelFirst),
-                       },
-                       Value: r.Config.PostNeedReview,
-               },
                {
                        Name:        "review_post_keywords",
                        Type:        plugin.ConfigTypeTextarea,

Reply via email to