feat(frontend): unify document tag filter, manage drawer, and detail UX
Split tag filtering from CRUD management on the knowledge base document page, align copy to "tags" across locales, and polish hover/detail surfaces with setting-drawer section styling. Return tags from GetKnowledge for the detail drawer.
This commit is contained in:
@@ -332,7 +332,7 @@ export default {
|
||||
roleOwner: 'Owner',
|
||||
permissionOwner: 'Edit, manage settings, delete knowledge base',
|
||||
permissionAdmin: 'Edit, manage sharing',
|
||||
permissionEditor: 'Edit documents and categories',
|
||||
permissionEditor: 'Edit documents and tags',
|
||||
permissionViewer: 'View and search only',
|
||||
fromOrg: 'From space',
|
||||
sharedAt: 'Shared at',
|
||||
@@ -368,7 +368,7 @@ export default {
|
||||
files: 'Files',
|
||||
settings: 'Settings',
|
||||
publishToWeb: 'Publish to Web',
|
||||
documentCategoryTitle: 'Document Categories',
|
||||
documentCategoryTitle: 'Document Tags',
|
||||
tagUpdateSuccess: 'Tag updated successfully',
|
||||
tagEditDialogHeading: 'Edit tags',
|
||||
tagEditDialogTitle: 'Edit Tags — {name}',
|
||||
@@ -377,13 +377,22 @@ export default {
|
||||
tagEditAvailableSection: 'Available',
|
||||
tagEditNoSelected: 'None selected',
|
||||
tagFilterAll: 'All documents',
|
||||
tagFilterTitle: 'Filter by tag',
|
||||
tagFilterPlaceholder: 'Tags',
|
||||
tagFilterMulti: '{count} tags',
|
||||
tagManageTitle: 'Manage tags',
|
||||
tagManageDescription: 'Create, rename, or delete knowledge base tags',
|
||||
tagManageLink: 'Manage tags…',
|
||||
tagManageListSection: 'Tags',
|
||||
tagManageDocCount: '{count} documents',
|
||||
tagManageFaqCount: '{count} FAQ entries',
|
||||
tagSelectedCount: '{count} selected',
|
||||
tagOverflowTip: 'Click to edit tags',
|
||||
tagNewPlaceholder: 'New tag name, press Enter to add',
|
||||
category: 'Category',
|
||||
faqCategoryTitle: 'FAQ Categories',
|
||||
untagged: 'Uncategorized',
|
||||
tagClearAction: 'Clear category',
|
||||
category: 'Tag',
|
||||
faqCategoryTitle: 'FAQ Tags',
|
||||
untagged: 'Untagged',
|
||||
tagClearAction: 'Clear selection',
|
||||
tagSearchTooltip: 'Search tags',
|
||||
tagCreateAction: 'Create tag',
|
||||
tagSearchPlaceholder: 'Type to filter tags',
|
||||
@@ -398,9 +407,9 @@ export default {
|
||||
tagEditAction: 'Rename',
|
||||
tagDeleteAction: 'Delete',
|
||||
tagEmptyResult: 'No matching tags',
|
||||
tagLabel: 'Category',
|
||||
tagPlaceholder: 'Please select a category',
|
||||
noTags: 'No categories',
|
||||
tagLabel: 'Tag',
|
||||
tagPlaceholder: 'Select tags',
|
||||
noTags: 'No tags',
|
||||
upload: 'Upload File',
|
||||
uploadSuccess: 'File uploaded successfully!',
|
||||
uploadFailed: 'File upload failed!',
|
||||
@@ -562,6 +571,7 @@ export default {
|
||||
parsingInProgress: 'Parsing...',
|
||||
generatingSummary: 'Generating summary...',
|
||||
documentSummary: 'Summary',
|
||||
detailSectionMeta: 'Basic info',
|
||||
deleteConfirmation: 'Delete Confirmation',
|
||||
confirmDeleteDocument: 'Confirm deletion of document "{fileName}", recovery will be impossible after deletion',
|
||||
cancel: 'Cancel',
|
||||
@@ -635,6 +645,7 @@ export default {
|
||||
docSearchPlaceholder: 'Search document names...',
|
||||
fileTypeFilter: 'File Type',
|
||||
allFileTypes: 'All Types',
|
||||
allTags: 'All Tags',
|
||||
parseStatusFilter: 'Status',
|
||||
allParseStatuses: 'All Statuses',
|
||||
parseStatusPending: 'Pending',
|
||||
@@ -2717,8 +2728,8 @@ export default {
|
||||
questionIndexModeLabel: 'Question Indexing Mode',
|
||||
questionIndexModeDescription: 'Combined: Standard and similar questions are indexed together. Separate: Each question is indexed independently for more precise retrieval but requires more storage.',
|
||||
entryGuide: 'Each FAQ entry contains a primary question, similar questions, negative examples, and multiple answers. Manage them in the FAQ knowledge base detail view.',
|
||||
tagDesc: 'Select category for FAQ entries',
|
||||
tagPlaceholder: 'Please select a category',
|
||||
tagDesc: 'Select tags for FAQ entries',
|
||||
tagPlaceholder: 'Select tags',
|
||||
modes: {
|
||||
questionOnly: 'Questions only',
|
||||
questionAnswer: 'Question + answer',
|
||||
@@ -2733,8 +2744,8 @@ export default {
|
||||
similarQuestionsDesc: 'Add questions with the same meaning but different phrasing to help the system better match user queries.',
|
||||
negativeQuestions: 'Negative Examples',
|
||||
negativeQuestionsDesc: 'Add questions that should not match this answer, to exclude false positives.',
|
||||
categoryLabel: 'FAQ Category',
|
||||
categoryButton: 'Switch Category',
|
||||
categoryLabel: 'FAQ Tag',
|
||||
categoryButton: 'Switch Tag',
|
||||
editorCreate: 'Create FAQ Entry',
|
||||
editorEdit: 'Edit FAQ Entry',
|
||||
addAnswer: 'Add Answer',
|
||||
@@ -2783,8 +2794,8 @@ export default {
|
||||
recommendedDisableSuccess: 'FAQ entry recommendation disabled',
|
||||
recommendedUpdateFailed: 'Failed to update recommendation status',
|
||||
batchOperations: 'Batch Operations',
|
||||
batchUpdateTag: 'Batch Update Category',
|
||||
batchUpdateTagTip: 'Set category for {count} selected entries',
|
||||
batchUpdateTag: 'Batch Set Tags',
|
||||
batchUpdateTagTip: 'Set tags for {count} selected entries',
|
||||
batchEnable: 'Batch Enable',
|
||||
batchDisable: 'Batch Disable',
|
||||
batchEnableRecommended: 'Batch Enable Recommendation',
|
||||
@@ -2796,7 +2807,7 @@ export default {
|
||||
appendMode: 'Append',
|
||||
replaceMode: 'Replace existing entries',
|
||||
fileLabel: 'Select File',
|
||||
fileTip: 'Supports JSON / CSV / Excel. CSV/Excel headers: Category (required), Question (required), Similar Questions (optional, separate with ##), Negative Questions (optional, separate with ##), Bot Answers (required, separate with ##), Reply All (optional, default FALSE), Disabled (optional, default FALSE), Exclude from Recommendations (optional, default FALSE). Also supports old format: standard_question, answers, similar_questions, negative_questions',
|
||||
fileTip: 'Supports JSON / CSV / Excel. CSV/Excel headers: Tag (required), Question (required), Similar Questions (optional, separate with ##), Negative Questions (optional, separate with ##), Bot Answers (required, separate with ##), Reply All (optional, default FALSE), Disabled (optional, default FALSE), Exclude from Recommendations (optional, default FALSE). Legacy header "Category" and old format (standard_question, answers, similar_questions, negative_questions) are also supported.',
|
||||
clickToUpload: 'Click to upload file',
|
||||
dragDropTip: 'or drag and drop file here',
|
||||
importButton: 'Import FAQ',
|
||||
@@ -5663,7 +5674,7 @@ export default {
|
||||
wikiSpace: 'Wiki Space',
|
||||
resourceType: {
|
||||
wikiSpace: 'Wiki Space',
|
||||
docCategory: 'Document Category',
|
||||
docCategory: 'Document Tag',
|
||||
book: 'Yuque Book',
|
||||
},
|
||||
neverSynced: 'Never synced',
|
||||
|
||||
Reference in New Issue
Block a user