feat: design system overhaul — sidebar, AI chats, settings, brainstorm, color cleanup
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 12s

- Sidebar: dynamic brand-accent colors, brainstorm section restyled
- AI chat general: popup panel with expand/collapse, hides when contextual AI open
- AI chat contextual: tabs reordered (Actions first), X close button, height fix
- Settings: all tabs restyled, 6 new color presets (sage, terracotta, iron, etc.)
- Global color cleanup: emerald/orange hardcoded → brand-accent dynamic
- Brainstorm page: orange → brand-accent throughout
- PageEntry animation component added to key pages
- Floating AI button: bg-brand-accent instead of hardcoded black
- i18n: all 15 locales updated with new AI/billing keys
- Billing: freemium quota tracking, BYOK, stripe subscription scaffolding
- Admin: integrated into new design
- AGENTS.md + CLAUDE.md project rules added
This commit is contained in:
Antigravity
2026-05-16 12:59:30 +00:00
parent 1fcea6ed7d
commit bd495be965
2284 changed files with 395285 additions and 2327 deletions

View File

@@ -55,7 +55,11 @@
"freezePinnedNotebook": "固定笔记本侧边栏顺序",
"unfreezePinnedNotebook": "取消固定笔记本侧边栏顺序",
"newSubNotebook": "新亚笔记本",
"renameNotebook": "重命名"
"renameNotebook": "重命名",
"sharedNotebookBadge": "· Shared",
"sortManual": "自定义顺序",
"moveFailed": "移动笔记本失败",
"dropToRoot": "拖放到此处移至根级别"
},
"notes": {
"title": "笔记",
@@ -261,7 +265,11 @@
"noteDeletedToast": "注释已删除。",
"deleteNoteFailedToast": "无法删除。",
"documentInfoAria": "文件信息",
"noModification": "没有变化"
"noModification": "没有变化",
"notes.emptyNotebook": "Empty notebook",
"notes.emptyNotebookDesc": "This notebook has no notes. Click + to create one.",
"notes.noNoteSelected": "No note selected",
"notes.selectOrCreateNote": "Select a note from the list or create a new one."
},
"pagination": {
"previous": "←",
@@ -615,7 +623,14 @@
"presentationReadyBadge": "演示准备就绪",
"openInLabTitle": "在实验室中打开",
"inlineSummaryMarkdown": "**概括:**",
"networkErrorShort": "网络错误。"
"networkErrorShort": "网络错误。",
"contextSourceHeading": "Context source",
"tones": {
"professional": "Professional",
"creative": "Creative",
"academic": "Academic",
"casual": "Casual"
}
},
"titleSuggestions": {
"available": "标题建议",
@@ -1415,7 +1430,10 @@
"fontFamilyLabel": "字体系列",
"fontFamilyDescription": "选择应用程序中使用的字体",
"selectFontFamily": "Inter 针对可读性进行了优化,系统使用您操作系统的原生字体",
"fontSystem": "系统默认字体"
"fontSystem": "系统默认字体",
"fontInterDefault": "Inter (default)",
"fontPlayfairDisplay": "Playfair Display",
"fontJetBrainsMono": "JetBrains Mono"
},
"generalSettings": {
"title": "常规设置",
@@ -1744,7 +1762,27 @@
"includeImagesHint": "Extract images from scraped pages and attach them to the generated note",
"back": "Back",
"configuration": "Configuration",
"options": "Options"
"options": "Options",
"slideThemes": {
"modern_wellness": "现代与活力",
"business_authority": "商务权威",
"nature_outdoors": "自然户外",
"vintage_academic": "复古学院",
"soft_creative": "柔和创意",
"bohemian": "波希米亚",
"vibrant_tech": "活力科技",
"craft_artisan": "手工艺匠心",
"tech_night": "科技暗夜(深色)",
"education_charts": "教育与图表",
"forest_eco": "森林生态",
"elegant_fashion": "优雅时尚",
"art_food": "艺术与美食",
"luxury_mystery": "奢华神秘",
"pure_tech_blue": "纯正科技蓝",
"coastal_coral": "海岸珊瑚",
"vibrant_orange_mint": "活力橙与薄荷",
"platinum_white_gold": "铂金与白金色"
}
},
"frequencies": {
"manual": "手动",
@@ -2033,7 +2071,19 @@
"superscript": "上标",
"subscript": "下标",
"addBlock": "添加区块",
"placeholder": "输入“/”作为命令..."
"placeholder": "输入“/”作为命令...",
"aiReformulateFailed": "AI 助手无法处理此文本,请重试。",
"translateTargets": {
"Francais": "法语",
"English": "英语",
"Espanol": "西班牙语",
"Deutsch": "德语",
"Persan": "波斯语",
"Portugais": "葡萄牙语",
"Italiano": "意大利语",
"Chinois": "中文",
"Japonais": "日语"
}
},
"brainstorm": {
"title": "Waves of Thought",
@@ -2098,6 +2148,181 @@
"joined": "加入会议",
"idea_dismissed": "驳回了一个想法",
"invite_created": "创建了邀请"
},
"shareDialogTitle": "Share brainstorm",
"shareSearchLabel": "Find someone",
"shareNameOrEmailPlaceholder": "Name or email…",
"shareSubmit": "Share",
"shareSubmitting": "Sending…",
"shareFooterHint": "They will get a notification to accept or decline.",
"sharePublicLink": "Public link",
"shareGuestsCanEdit": "Allow guests to edit",
"feedbackInviteSent": "Invitation sent!",
"feedbackInviteResent": "Invitation resent!",
"feedbackAlreadyShared": "This person already has access to this brainstorm.",
"feedbackAlreadyPending": "An invitation is already pending for this person.",
"feedbackGenericError": "Error",
"unnamedPerson": "No name",
"canvasEditTitleReply": "Reply",
"canvasEditTitleNewIdea": "New idea",
"canvasPlaceholderReply": "Your reply…",
"canvasPlaceholderIdea": "Your idea…",
"canvasShortcutSave": "save",
"canvasShortcutCancel": "cancel",
"canvasChildBranch": "Child",
"canvasDoubleClickHint": "Double-click to add an idea",
"ideaDetailDescription": "Description",
"ideaDetailConnection": "Connection",
"ideaDetailNovelty": "Novelty",
"ideaDetailWave": "Wave",
"waveFlavorVariation": "Variation",
"waveFlavorAnalogy": "Analogy",
"waveFlavorDisruption": "Disruption",
"liveCollaborationTitle": "Live collaboration",
"liveStatus": "Live",
"liveYouMarker": "(You)",
"liveOtherParticipants": "{count} other participants",
"guestReadOnlyNotice": "You're viewing this brainstorm as a guest. Sign in to edit.",
"impactNotesEnriched": "{count} note(s) enriched",
"impactNotesMarkedDry": "{count} note(s) marked dry",
"impactSeparator": " · ",
"exportNotebookPrefix": "Notebook:",
"playbackStep": "Step {current}/{total}",
"playbackStepsCount": "{count} steps",
"playbackReturnToLive": "Return to live",
"canvasWaitingHint": "The canvas is waiting for your spark...",
"seedNodeBadge": "SEED",
"originalSeedDescription": "Original seed idea",
"convertedToNoteStatus": "Converted to note",
"toastExpandSuccess": "Ideas expanded!",
"toastExpandFailed": "Failed to expand",
"toastDismissSuccess": "Idea dismissed",
"toastDismissFailed": "Failed to dismiss",
"toastConvertSuccess": "Idea converted to note!",
"toastConvertFailed": "Failed to convert",
"toastExportNoteSuccess": "Exported as note!",
"toastExportFailed": "Failed to export",
"legendSeed": "Seed",
"legendVariations": "Variations",
"legendAnalogies": "Analogies",
"legendDisruptions": "Disruptions",
"exportFailedMessage": "Export failed",
"exportDefaultNotebookName": "Brainstorm",
"exportDefaultNoteTitle": "Synthesis",
"exportOpening": "Opening…",
"ownerBadge": "Owner",
"waveBadge": "Wave {wave}"
},
"usageMeter": {
"packName": "AI Discovery Pack",
"featureSearch": "Search",
"featureTags": "Tags",
"featureTitles": "Titles",
"unlimited": "Unlimited",
"remaining": "{count} left",
"upgradeTitle": "Upgrade to Pro",
"upgradeDescription": "You've used all your AI Discovery Pack credits. Upgrade to Pro for higher limits and additional features.",
"proIncludes": "Pro includes:",
"proSearch": "100 semantic searches / month",
"proTags": "200 auto-tags / month",
"proTitles": "200 auto-titles / month",
"proReformulate": "50 reformulations / month",
"proChat": "100 chat messages / month",
"later": "Later",
"upgradePricing": "Upgrade to Pro",
"addApiKey": "Use your own API key (BYOK)"
},
"byokSettings": {
"title": "Your API keys (BYOK)",
"description": "Connect your own LLM provider keys to bypass Discovery Pack quotas. Keys are encrypted at rest.",
"badgeActive": "BYOK active",
"tierRequired": "BYOK requires a Pro plan or higher. Upgrade to connect your API keys.",
"provider": "Provider",
"providerPlaceholder": "Select a provider",
"alias": "Label (optional)",
"aliasPlaceholder": "e.g. Work OpenAI",
"apiKey": "API key",
"apiKeyPlaceholder": "sk-...",
"save": "Save key",
"saved": "API key saved",
"deleted": "API key removed",
"error": "Could not save API key",
"loadError": "Could not load API keys",
"loading": "Loading keys...",
"empty": "No API keys configured yet.",
"confirmDelete": "Remove this API key permanently?",
"toggleActive": "Active",
"providers": {
"openai": "OpenAI",
"anthropic": "Anthropic",
"deepseek": "DeepSeek",
"openrouter": "OpenRouter",
"minimax": "MiniMax",
"zai": "Z.ai",
"google": "Google",
"mistral": "Mistral",
"glm": "GLM"
}
},
"billing": {
"title": "账单",
"currentPlan": "当前计划",
"upgradePlan": "升级计划",
"manageBilling": "管理账单",
"manageDescription": "更新付款方式、查看发票或取消订阅。",
"openPortal": "打开账单门户",
"renewsOn": "续订日期",
"expiresOn": "到期日期",
"canceledAt": "已取消 — 访问至",
"freePlan": "免费计划",
"proPlan": "Pro 计划",
"businessPlan": "Business 计划",
"enterprisePlan": "Enterprise 计划",
"perMonth": "/月",
"perYear": "/年",
"monthly": "按月",
"annual": "按年",
"save": "节省",
"upgradeTitle": "选择计划",
"proPrice": "€9.90",
"businessPrice": "€29.90",
"proAnnualPrice": "€99",
"businessAnnualPrice": "€299",
"proFeature1": "每月 100 次语义搜索",
"proFeature2": "每月 200 次自动标签",
"proFeature3": "每月 50 次改写",
"proFeature4": "每月 100 条聊天消息",
"businessFeature1": "每月 1,000 次语义搜索",
"businessFeature2": "每月 1,000 次自动标签",
"businessFeature3": "每月 500 次改写",
"businessFeature4": "每月 1,000 条聊天消息",
"enterpriseTitle": "企业版",
"enterpriseDescription": "自定义配额、SSO、优先支持。",
"contactSales": "联系销售",
"startCheckout": "开始",
"checkoutLoading": "加载结账中…",
"checkoutSuccess": "订阅已激活!欢迎使用 {tier}。",
"checkoutCanceled": "结账已取消。",
"active": "活跃",
"trialing": "试用中",
"pastDue": "逾期",
"canceled": "已取消",
"inactive": "未激活",
"billingEnabled": "账单已启用",
"billingDisabled": "此实例未启用账单功能。",
"usageThisPeriod": "本周期使用情况",
"periodRange": "周期",
"unlimited": "无限制",
"noUsage": "暂无使用数据",
"billingHistory": "账单历史",
"viewInvoices": "在门户中管理发票",
"nextBillingDate": "下次计费日期",
"billingPeriod": "计费周期",
"planSince": "加入时间",
"checkoutSuccessTitle": "订阅已激活!",
"checkoutSuccessBody": "欢迎使用{tier},您的功能已解锁。",
"subscriptionType": "subscriptionType",
"renewalDate": "renewalDate",
"noRenewalDate": "—"
}
}
}