- 全局样式收口: page-header/btn/modal/filter-bar/back-link/empty-state 等通用类从12个视图的scoped重复定义提取到global.css/components.css - 审批列表增强: 筛选栏(状态/风险/工具搜索)+行展开查看完整参数结果 +审批耗时显示+刷新spinner+硬编码颜色全部改用CSS变量 - 灵感模块: scoreTier统一评分阈值+score-bar/assessment-badge提取全局 +statusLabelKey消除重复+i18n状态文案对齐+eval-report--muted统一空态 - Dashboard: df-panel/df-link提取全局(修scoped不渗透)+统计卡可点击跳转 +活跃项目面板只显示active状态+灵感列表按分数排序+刷新spinner - 修复: intent.rs tool_type类型对齐(newtype)+ToolCardList补ai-btn定义 +SkillMention/ImageInput样式不渗透修复(提取全局)
142 lines
4.1 KiB
TypeScript
142 lines
4.1 KiB
TypeScript
export default {
|
|
ideas: {
|
|
// Page header
|
|
title: '💡 Ideas',
|
|
refresh: '🔄 Refresh',
|
|
capture: '✨ Capture Idea',
|
|
|
|
// Filter bar
|
|
searchPlaceholder: 'Search ideas...',
|
|
filter: {
|
|
all: 'All',
|
|
hot: 'Hot',
|
|
pending: 'Pending',
|
|
promoted: 'Promoted',
|
|
},
|
|
|
|
// Empty state
|
|
emptyState: 'Select an idea to view details',
|
|
// List empty / async button placeholders
|
|
listEmpty: '📭 No ideas yet. Click "Capture Idea" at the top right to start.',
|
|
creating: 'Creating…',
|
|
deleting: 'Deleting…',
|
|
promoting: 'Promoting…',
|
|
|
|
// Errors
|
|
err: {
|
|
loadFailed: 'Failed to load ideas',
|
|
createFailed: 'Failed to create idea',
|
|
deleteFailed: 'Failed to delete idea',
|
|
relateFailed: 'Failed to update relations',
|
|
},
|
|
|
|
// Adversarial evaluation
|
|
adversarialTitle: '⚖️ Adversarial Evaluation',
|
|
evalModeHeuristic: 'Heuristic',
|
|
positive: '📈 Pro',
|
|
negative: '📉 Con',
|
|
confidence: '{n}% confidence',
|
|
analystTitle: '🧠 AI Analyst Conclusion',
|
|
finalScore: 'Overall score: {score}/10',
|
|
netSentiment: 'Overall sentiment: {tone} ({n})',
|
|
sentimentPositive: 'Positive',
|
|
sentimentNegative: 'Cautious',
|
|
sentimentNeutral: 'Neutral',
|
|
actionTitle: '💡 Action Items',
|
|
evaluating: '⏳ Evaluating…',
|
|
startEval: '🔍 Start Adversarial Eval',
|
|
retryEval: 'Retry',
|
|
evalModeLlm: 'LLM deep eval',
|
|
evalModeFallback: 'Heuristic fallback',
|
|
|
|
// Description editing
|
|
editDesc: 'Edit',
|
|
saveDesc: 'Save',
|
|
cancelEdit: 'Cancel',
|
|
|
|
// List sorting
|
|
sortByScore: 'By score',
|
|
sortByTime: 'By time',
|
|
|
|
// Assessment badges
|
|
assessment: {
|
|
'immediate action': '🚀 Act immediately',
|
|
soon: '📅 Act soon',
|
|
'with resources': '📦 Act with resources',
|
|
'research more': '🔍 Needs more research',
|
|
monitor: '👁️ Keep monitoring',
|
|
cancel: '❌ Cancel idea',
|
|
},
|
|
|
|
// Project detail "Source Idea" card (promote carries evaluation conclusion back)
|
|
sourceIdea: '💡 Source Idea',
|
|
sourceIdeaNotEvaluated: 'Idea not evaluated yet, click to view',
|
|
|
|
// Multi-dimensional score
|
|
multiScoreTitle: '📊 Multi-dim Score',
|
|
noEval: 'No evaluation yet',
|
|
|
|
// Evaluation history (version timeline)
|
|
historyTitle: '📜 Evaluation History',
|
|
historyVersion: 'Version',
|
|
historyLatest: 'Latest',
|
|
historyEmpty: 'No evaluation history',
|
|
historyLoading: 'Loading history…',
|
|
|
|
// Related ideas
|
|
relatedTitle: '🔗 Related Ideas',
|
|
relatedEmpty: 'No relations',
|
|
relatedManage: 'Manage relations',
|
|
relatedConfirm: 'Confirm',
|
|
relatedCancel: 'Cancel',
|
|
|
|
// Idea stats panel (used by IdeasPanel)
|
|
statsPending: 'Pending',
|
|
statsPromoted: 'Promoted',
|
|
statsAvgScore: 'Avg score',
|
|
|
|
// Tags
|
|
tagsTitle: '🏷️ Tags',
|
|
noTags: 'No tags yet',
|
|
|
|
// Status management
|
|
statusTitle: '📋 Status',
|
|
status: {
|
|
draft: '📝 Draft',
|
|
pending_review: '⏳ Pending',
|
|
approved: '✅ Approved',
|
|
promoted: '🚀 Promoted',
|
|
rejected: '❌ Rejected',
|
|
},
|
|
|
|
// Action buttons
|
|
promoteToProject: '🚀 Promote to Project',
|
|
deleteIdea: '🗑️ Delete Idea',
|
|
promotedProject: 'Promoted to project',
|
|
|
|
// Capture modal
|
|
captureTitle: '✨ Capture New Idea',
|
|
fieldTitle: 'Title',
|
|
fieldDesc: 'Description',
|
|
fieldTags: 'Tags',
|
|
fieldPriority: 'Priority',
|
|
fieldSource: 'Source',
|
|
titlePlaceholder: 'Describe your idea in one sentence...',
|
|
descPlaceholder: 'More details (optional)...',
|
|
tagsPlaceholder: 'Comma-separated, e.g. tools, efficiency, automation',
|
|
sourcePlaceholder: 'Source (optional, e.g. user feedback, competitor analysis)',
|
|
priorityCritical: 'Critical',
|
|
priorityHigh: 'High',
|
|
priorityMedium: 'Medium',
|
|
priorityLow: 'Low',
|
|
|
|
// Deep link not found
|
|
notFound: 'Idea not found or deleted',
|
|
|
|
// Native dialog text (confirm / alert)
|
|
confirmDelete: 'Delete idea "{title}"? This cannot be undone.',
|
|
promoteFailed: 'Promotion failed',
|
|
evalFailed: 'Evaluation failed',
|
|
},
|
|
}
|