This is an automated email from the ASF dual-hosted git repository.
linkinstar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/answer-plugins.git
The following commit(s) were added to refs/heads/main by this push:
new bdbf9b1 refactor(reviewer-basic): remove post review configuration
options
bdbf9b1 is described below
commit bdbf9b1a4c5a7758d1673c72bdfdaee0de60fbbc
Author: LinkinStars <[email protected]>
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,