This is an automated email from the ASF dual-hosted git repository.
shuai pushed a change to branch dev
in repository https://gitbox.apache.org/repos/asf/answer.git
from dc47e1a5 fix(ui): change background color for code block to (--an-pre)
new a63fe5b2 feat(internal,ui): add minimum tags property
new 3ae38a14 feat(UI): Add error for minimum_tag count and translation for
Min tag form input
new c78cadb1 add migration for min_tags
new a6789460 fix(ui): Adjust tag input label for quantity
new 9b65fed9 refactor(tags): remove redundant param from GetMinimumTags
and apply minimum tag check in ObjectChangeTag
new 403dec5e feat(internal,ui): add minimum tags error and label while
editing
The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
i18n/en_US.yaml | 7 ++++++
internal/base/reason/reason.go | 1 +
internal/migrations/init.go | 1 +
internal/migrations/migrations.go | 1 +
internal/migrations/{v24.go => v28.go} | 15 ++++--------
internal/schema/question_schema.go | 6 ++---
internal/schema/siteinfo_schema.go | 1 +
internal/service/content/question_service.go | 36 ++++++++++++++++++----------
internal/service/content/revision_service.go | 6 ++++-
internal/service/tag_common/tag_common.go | 36 +++++++++++++++++++++-------
ui/src/common/interface.ts | 1 +
ui/src/components/TagSelector/index.tsx | 21 +++++++++++++++-
ui/src/pages/Admin/Write/index.tsx | 29 +++++++++++++++++++++-
ui/src/stores/writeSetting.ts | 1 +
14 files changed, 126 insertions(+), 36 deletions(-)
copy internal/migrations/{v24.go => v28.go} (84%)