This is an automated email from the ASF dual-hosted git repository. shuai pushed a commit to branch test in repository https://gitbox.apache.org/repos/asf/answer.git
commit 52e1b8bd86134698fe57032844c4339877beff52 Merge: 4fa1d0f4 433b8d5d Author: shuai <[email protected]> AuthorDate: Tue Oct 21 18:13:37 2025 +0800 fix: merge dev cmd/wire_gen.go | 6 +- i18n/af_ZA.yaml | 2 +- i18n/ar_SA.yaml | 2 +- i18n/az_AZ.yaml | 2 +- i18n/bal_BA.yaml | 2 +- i18n/ban_ID.yaml | 2 +- i18n/bn_BD.yaml | 2 +- i18n/bs_BA.yaml | 2 +- i18n/ca_ES.yaml | 2 +- i18n/cs_CZ.yaml | 2 +- i18n/cy_GB.yaml | 2 +- i18n/da_DK.yaml | 2 +- i18n/de_DE.yaml | 2 +- i18n/el_GR.yaml | 2 +- i18n/en_US.yaml | 9 +- i18n/es_ES.yaml | 2 +- i18n/fa_IR.yaml | 2 +- i18n/fi_FI.yaml | 2 +- i18n/fr_FR.yaml | 2 +- i18n/he_IL.yaml | 2 +- i18n/hi_IN.yaml | 2 +- i18n/hu_HU.yaml | 2 +- i18n/hy_AM.yaml | 2 +- i18n/id_ID.yaml | 2 +- i18n/it_IT.yaml | 2 +- i18n/ja_JP.yaml | 4 +- i18n/ko_KR.yaml | 2 +- i18n/ml_IN.yaml | 2 +- i18n/nl_NL.yaml | 2 +- i18n/no_NO.yaml | 2 +- i18n/pl_PL.yaml | 2 +- i18n/pt_BR.yaml | 2 +- i18n/pt_PT.yaml | 2 +- i18n/ro_RO.yaml | 2 +- i18n/ru_RU.yaml | 2 +- i18n/sq_AL.yaml | 2 +- i18n/sr_SP.yaml | 2 +- i18n/sv_SE.yaml | 2 +- i18n/te_IN.yaml | 2 +- i18n/vi_VN.yaml | 2 +- i18n/zh_CN.yaml | 2 +- i18n/zh_TW.yaml | 2 +- internal/base/reason/reason.go | 1 + internal/controller/comment_controller.go | 6 +- internal/entity/comment_entity.go | 5 + internal/migrations/init.go | 1 + internal/migrations/migrations.go | 1 + internal/migrations/v28.go | 67 +++++ internal/repo/comment/comment_repo.go | 11 + internal/schema/comment_schema.go | 3 + internal/schema/question_schema.go | 6 +- internal/schema/siteinfo_schema.go | 1 + internal/service/comment/comment_service.go | 20 +- internal/service/comment_common/comment_service.go | 1 + internal/service/content/question_service.go | 47 ++-- internal/service/content/revision_service.go | 6 +- .../notification/new_question_notification.go | 12 + internal/service/review/review_service.go | 270 +++++++++++++++++++++ internal/service/tag_common/tag_common.go | 36 ++- pkg/converter/user.go | 19 +- ui/src/common/color.scss | 2 +- ui/src/common/interface.ts | 1 + ui/src/components/TagSelector/index.tsx | 22 +- ui/src/index.scss | 2 +- ui/src/pages/Admin/Write/index.tsx | 29 ++- .../Detail/components/RelatedQuestions/index.tsx | 4 + ui/src/stores/writeSetting.ts | 1 + 67 files changed, 591 insertions(+), 80 deletions(-) diff --cc ui/src/common/interface.ts index 114b0e4c,bade01ea..0b340e84 --- a/ui/src/common/interface.ts +++ b/ui/src/common/interface.ts @@@ -439,6 -439,7 +439,7 @@@ export interface AdminSettingsLegal export interface AdminSettingsWrite { restrict_answer?: boolean; - min_tags?: number, ++ min_tags?: number; recommend_tags?: Tag[]; required_tag?: boolean; reserved_tags?: Tag[];
