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:
@@ -95,6 +95,7 @@ export default {
|
||||
category: 'Category',
|
||||
faqCategoryTitle: 'FAQ Categories',
|
||||
untagged: 'Uncategorized',
|
||||
tagClearAction: 'Clear category',
|
||||
tagSearchTooltip: 'Search tags',
|
||||
tagCreateAction: 'Create tag',
|
||||
tagSearchPlaceholder: 'Type to filter tags',
|
||||
|
||||
Reference in New Issue
Block a user