feat(frontend): redesign knowledge document tag selector
Replace the default t-dropdown on knowledge document cards with a custom t-popup-based list that matches the existing card-more popup styling (rounded corners, blur, dark mode). Selected entries show a brand-colored check icon. Also fix the empty placeholder issue: when a document has no tag, render a dashed "+ category" affordance only for users with edit permission, instead of an empty tag chip. A "clear category" action appears at the bottom of the popup only when a tag is already set, avoiding ambiguity with user-defined tags named the same as the generic "uncategorized" label. Adds the knowledgeBase.tagClearAction i18n key in zh-CN, en-US, ko-KR and ru-RU.
This commit is contained in:
@@ -93,6 +93,7 @@ export default {
|
||||
documentCategoryTitle: "文档分类",
|
||||
faqCategoryTitle: "问题分类",
|
||||
untagged: "未分类",
|
||||
tagClearAction: "取消分类",
|
||||
tagUpdateSuccess: "标签更新成功",
|
||||
tagSearchTooltip: "搜索标签",
|
||||
category: "分类",
|
||||
|
||||
Reference in New Issue
Block a user