新增: 灵感归档箱与任务归档动线
- ideasStore/taskStore: archiveIdea/archiveTask IPC 封装(本地移除/本地更新,对齐 delete 语义) - project.ts 组合 store 显式透传 archiveIdea/archiveTask - Ideas.vue: 筛选栏归档箱 Tab(独立数据源 ideaApi.listArchived,主查询不受扰);archiveCurrentIdea 处理器(归档确认+归档箱内取消归档自动清选中);IdeaDetail 传 in-archive-box prop - IdeaDetail.vue: inArchiveBox prop + archive emit;操作区归档/取消归档按钮,归档箱模式隐藏删除(防误删归档记忆) - i18n zh-CN/en ideas 补 filterArchived/archiveBoxEmpty/quickArchive/quickUnarchive/confirmArchive/toast 键(前批遗留) 验收: vue-tsc --noEmit EXIT 0
This commit is contained in:
@@ -28,6 +28,7 @@ export default {
|
||||
createFailed: 'Failed to create idea',
|
||||
deleteFailed: 'Failed to delete idea',
|
||||
relateFailed: 'Failed to update relations',
|
||||
archiveFailed: 'Archive operation failed',
|
||||
},
|
||||
|
||||
// Action feedback toasts (WK-16/18: success/failure light toast, aligns Knowledge.createdToast)
|
||||
@@ -147,6 +148,14 @@ export default {
|
||||
// ⑥ Status change confirm (terminal promoted/rejected/archived or leaving approved)
|
||||
confirmStatus: 'Change idea "{title}" status from {from} to {to}?',
|
||||
promoteFailed: 'Promotion failed',
|
||||
// Archive P1: idea archive box
|
||||
filterArchived: '📦 Archive',
|
||||
archiveBoxEmpty: 'No archived ideas',
|
||||
quickArchive: '📦 Archive',
|
||||
quickUnarchive: '📤 Unarchive',
|
||||
confirmArchive: 'Archive idea "{title}"? It will leave the main view; find it in the Archive box.',
|
||||
archivedToast: 'Archived',
|
||||
unarchivedToast: 'Unarchived',
|
||||
evalFailed: 'Evaluation failed',
|
||||
},
|
||||
}
|
||||
|
||||
@@ -53,6 +53,14 @@ export default {
|
||||
quickStatus: 'Status',
|
||||
quickPriority: 'Priority',
|
||||
quickDelete: '🗑 Delete',
|
||||
// Archive P1: archive moves out of main view, keep searchable; delete moves to trash
|
||||
quickArchive: '📦 Archive',
|
||||
quickUnarchive: '📤 Unarchive',
|
||||
confirmArchive: 'Archive task "{title}"? It will leave the main view; find it in the Archive box.',
|
||||
archivedToast: 'Archived',
|
||||
unarchivedToast: 'Unarchived',
|
||||
archiveBox: '📦 Archive',
|
||||
archiveBoxEmpty: 'No archived tasks',
|
||||
|
||||
// Batch action bar (shared by Tasks / ProjectDetail / TaskDetail subtasks)
|
||||
batch: {
|
||||
@@ -129,6 +137,7 @@ export default {
|
||||
createFailed: 'Failed to create task',
|
||||
deleteFailed: 'Failed to delete task',
|
||||
updateFailed: 'Failed to update task',
|
||||
archiveFailed: 'Archive operation failed',
|
||||
selectProject: 'Please select a project',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user