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:
@@ -55,6 +55,7 @@ export default {
|
||||
documentCategoryTitle: 'Категории документов',
|
||||
faqCategoryTitle: 'Категории FAQ',
|
||||
untagged: 'Без метки',
|
||||
tagClearAction: 'Снять категорию',
|
||||
tagSearchTooltip: 'Поиск тегов',
|
||||
tagUpdateSuccess: 'Тег успешно обновлен',
|
||||
category: 'Категория',
|
||||
|
||||
Reference in New Issue
Block a user