diff --git a/apps/web/src/lib/app-helpers.ts b/apps/web/src/lib/app-helpers.ts index e2683d3a..46229fb2 100644 --- a/apps/web/src/lib/app-helpers.ts +++ b/apps/web/src/lib/app-helpers.ts @@ -80,11 +80,11 @@ export const getMemoTemplates = (t: TFunction): MemoTemplate[] => [ }, }, { - id: "checklist", - title: t("templates.items.checklist.title"), - description: t("templates.items.checklist.description"), - contentMarkdown: t("templates.items.checklist.contentMarkdown"), - tags: ["template", "checklist"], + id: "weekly-review", + title: t("templates.items.weeklyReview.title"), + description: t("templates.items.weeklyReview.description"), + contentMarkdown: t("templates.items.weeklyReview.contentMarkdown"), + tags: ["template", "weekly-review"], iconName: "checklist", themeColor: { iconBg: "bg-emerald-100/80 text-emerald-700", @@ -110,11 +110,11 @@ export const getMemoTemplates = (t: TFunction): MemoTemplate[] => [ }, }, { - id: "daily", - title: t("templates.items.daily.title"), - description: t("templates.items.daily.description"), - contentMarkdown: t("templates.items.daily.contentMarkdown"), - tags: ["template", "daily"], + id: "okr", + title: t("templates.items.okr.title"), + description: t("templates.items.okr.description"), + contentMarkdown: t("templates.items.okr.contentMarkdown"), + tags: ["template", "okr"], iconName: "sun", themeColor: { iconBg: "bg-rose-100/80 text-rose-700", @@ -124,6 +124,21 @@ export const getMemoTemplates = (t: TFunction): MemoTemplate[] => [ accentBorder: "hover:border-rose-300/80", }, }, + { + id: "post-mortem", + title: t("templates.items.postMortem.title"), + description: t("templates.items.postMortem.description"), + contentMarkdown: t("templates.items.postMortem.contentMarkdown"), + tags: ["template", "post-mortem"], + iconName: "file", + themeColor: { + iconBg: "bg-indigo-100/80 text-indigo-700", + iconText: "text-indigo-700", + badgeBg: "bg-indigo-50 text-indigo-800 border-indigo-200/60", + badgeText: "text-indigo-800", + accentBorder: "hover:border-indigo-300/80", + }, + }, ]; export const isTextEntryTarget = (target: EventTarget | null) => diff --git a/packages/shared/src/i18n/en-US.ts b/packages/shared/src/i18n/en-US.ts index ddcf76f0..793afcb7 100644 --- a/packages/shared/src/i18n/en-US.ts +++ b/packages/shared/src/i18n/en-US.ts @@ -841,29 +841,34 @@ export const enUS = { badgeCustom: "Custom", items: { quickNote: { - title: "Quick note", - description: "For temporary ideas, links, and sparks.", - contentMarkdown: "## Quick note\n\n- \n\n## Next actions\n\n- [ ] ", + title: "Quick Spark", + description: "Capture fleeting thoughts, ideas, links, and immediate action items.", + contentMarkdown: "## 💡 Fleeting Thoughts\n\n- \n\n## 📌 Context & Notes\n\n\n\n## 🚀 Next Actions\n\n- [ ] ", }, meeting: { - title: "Meeting notes", - description: "Keep agenda, decisions, and todos on one page.", - contentMarkdown: "## Meeting notes\n\nTime:\nAttendees:\n\n## Agenda\n\n- \n\n## Decisions\n\n- \n\n## Todos\n\n- [ ] ", + title: "Meeting Minutes", + description: "Structured log for agenda, key decisions, and action items with owners.", + contentMarkdown: "# 📝 Meeting Minutes\n\n- **Time**:\n- **Host/Recorder**:\n- **Attendees**:\n\n---\n\n## 🎯 Goal\n\n- \n\n## 💬 Discussion & Decisions\n\n1. **[Topic 1]**\n - Points:\n - ✅ **Decision**:\n\n2. **[Topic 2]**\n - Points:\n - ✅ **Decision**:\n\n## 📋 Action Items\n\n- [ ] **[Owner]** Task description (Due: MM-DD)\n- [ ] **[Owner]** Task description (Due: MM-DD)\n", }, - checklist: { - title: "Checklist", - description: "Quickly list tasks, shopping items, or project checks.", - contentMarkdown: "## Checklist\n\n- [ ] \n- [ ] \n- [ ] ", + weeklyReview: { + title: "Weekly Review & Status", + description: "Summarize weekly highlights, blockers, and next week's key priorities.", + contentMarkdown: "# 🗓️ Weekly Status Report\n\n## 🌟 Highlights\n\n- [x] **[Project/Feature]** Accomplishment details\n- [x] **[Project/Feature]** Accomplishment details\n\n## 🚧 Blockers & Risks\n\n- ⚠️ **Blocker**: Reason and required support\n\n## 🎯 Next Week Priorities\n\n1. [ ] \n2. [ ] \n3. [ ] \n\n## 💡 Reflection & Insights\n\n- \n", }, reading: { - title: "Reading notes", - description: "Collect excerpts, ideas, and follow-up reading.", - contentMarkdown: "## Reading notes\n\nBook:\nAuthor:\n\n## Excerpts\n\n> \n\n## My thoughts\n\n\n## Follow-up questions\n\n- ", + title: "Reading Note Card", + description: "Extract key takeaways, quotes, reflections, and connected concepts.", + contentMarkdown: "# 📖 Reading Note Card\n\n- **Book/Article**:\n- **Author/Source**:\n- **Rating**: ⭐⭐⭐⭐⭐\n\n---\n\n## 💡 Key Takeaway\n\n> \n\n## ✍️ Highlights & Quotes\n\n> [Quote content]\n> —— *Original Source*\n\n## 🧠 Personal Reflections\n\n- \n\n## 🔗 Action & Practice\n\n- [ ] **Action Plan**:\n", }, - daily: { - title: "Daily review", - description: "Record what you finished today and where you got stuck.", - contentMarkdown: "## Daily review\n\n## Done today\n\n- \n\n## Blockers\n\n- \n\n## Tomorrow's priorities\n\n- [ ] ", + okr: { + title: "Goal & Task Breakdown", + description: "Define OKRs, Key Results, milestones, and task checklists.", + contentMarkdown: "# 🎯 Goal Breakdown\n\n- **Period**:\n- **Owner**:\n\n---\n\n## 📌 Objective\n\n> \n\n## 📈 Key Results\n\n- **KR 1**: Target metric -> Current progress\n- **KR 2**: Target metric -> Current progress\n\n## 🗓️ Milestones\n\n- [ ] **Phase 1 (Date)**: Target\n- [ ] **Phase 2 (Date)**: Target\n\n## 📋 Execution Checklist\n\n- [ ] \n- [ ] \n", + }, + postMortem: { + title: "Problem & Post-mortem", + description: "Document incident symptoms, 5-Whys root cause, and preventive measures.", + contentMarkdown: "# 🔍 Post-mortem & Problem Investigation\n\n- **Occurred At**:\n- **Impact Scope**:\n- **Status**: Resolved / In-Progress\n\n---\n\n## 🚨 Symptoms & Impact\n\n\n\n## 🛠️ Investigation & Fix Steps\n\n1. \n2. \n\n## 🔬 Root Cause Analysis (5 Whys)\n\n- **Root Cause**:\n\n## 🛡️ Action Items & Prevention\n\n- [ ] **[Short-term]** \n- [ ] **[Long-term]** \n", }, }, }, diff --git a/packages/shared/src/i18n/zh-CN.ts b/packages/shared/src/i18n/zh-CN.ts index 9fbadf6e..5b33cb09 100644 --- a/packages/shared/src/i18n/zh-CN.ts +++ b/packages/shared/src/i18n/zh-CN.ts @@ -841,29 +841,34 @@ export const zhCN = { badgeCustom: "自定义", items: { quickNote: { - title: "速记", - description: "适合临时记录想法、链接和灵感。", - contentMarkdown: "## 速记\n\n- \n\n## 后续动作\n\n- [ ] ", + title: "灵感速记", + description: "快速捕捉闪念、临时灵感、资料链接与即刻行动。", + contentMarkdown: "## 💡 闪念记录\n\n- \n\n## 📌 背景与补充说明\n\n\n\n## 🚀 下一步动作\n\n- [ ] ", }, meeting: { - title: "会议记录", - description: "议题、结论和待办放在同一页。", - contentMarkdown: "## 会议记录\n\n时间:\n参与人:\n\n## 议题\n\n- \n\n## 结论\n\n- \n\n## 待办\n\n- [ ] ", + title: "会议纪要", + description: "结构化记录议题背景、核心结论与带负责人的待办事项。", + contentMarkdown: "# 📝 会议纪要\n\n- **时间**:\n- **主持人/记录人**:\n- **参会人**:\n\n---\n\n## 🎯 会议目标\n\n- \n\n## 💬 核心讨论与决策\n\n1. **[议题 1]**\n - 讨论要点:\n - ✅ **决议**:\n\n2. **[议题 2]**\n - 讨论要点:\n - ✅ **决议**:\n\n## 📋 待办事项 (Action Items)\n\n- [ ] **[负责人]** 任务描述 (截止日期:MM-DD)\n- [ ] **[负责人]** 任务描述 (截止日期:MM-DD)\n", }, - checklist: { - title: "清单", - description: "快速列出待办、采购、项目检查项。", - contentMarkdown: "## 清单\n\n- [ ] \n- [ ] \n- [ ] ", + weeklyReview: { + title: "周报与进展复盘", + description: "梳理本周核心产出、风险卡点与下周关键优先级。", + contentMarkdown: "# 🗓️ 工作周报\n\n## 🌟 本周核心进展 (Highlights)\n\n- [x] **[项目/功能]** 完成情况与成果说明\n- [x] **[项目/功能]** 完成情况与成果说明\n\n## 🚧 卡点与风险 (Blockers & Risks)\n\n- ⚠️ **阻塞项**:原因及所需支持\n\n## 🎯 下周优先级 (Next Week Priorities)\n\n1. [ ] \n2. [ ] \n3. [ ] \n\n## 💡 总结与思考\n\n- \n", }, reading: { - title: "读书笔记", - description: "摘录、观点和下一步阅读整理。", - contentMarkdown: "## 读书笔记\n\n书名:\n作者:\n\n## 摘录\n\n> \n\n## 我的观点\n\n\n## 延伸问题\n\n- ", + title: "深度阅读卡片", + description: "提炼核心观点、精妙摘录、个人理解与关联知识卡片。", + contentMarkdown: "# 📖 深度阅读卡片\n\n- **书名/文章**:\n- **作者/来源**:\n- **推荐指数**:⭐⭐⭐⭐⭐\n\n---\n\n## 💡 一句话总结 (Key Takeaway)\n\n> \n\n## ✍️ 核心观点与金句摘录\n\n> [摘录内容]\n> —— *原书/原文*\n\n## 🧠 我的理解与延伸思考\n\n- \n\n## 🔗 关联知识与行动\n\n- [ ] **落地实践**:\n", }, - daily: { - title: "每日复盘", - description: "记录今天完成了什么、卡在哪里。", - contentMarkdown: "## 每日复盘\n\n## 今天完成\n\n- \n\n## 遇到的问题\n\n- \n\n## 明天优先级\n\n- [ ] ", + okr: { + title: "目标与任务拆解", + description: "明确 OKR 目标、关键结果、里程碑与具体执行清单。", + contentMarkdown: "# 🎯 目标拆解\n\n- **周期**:\n- **负责人**:\n\n---\n\n## 📌 目标 (Objective)\n\n> \n\n## 📈 关键结果 (Key Results)\n\n- **KR 1**:期望指标 -> 当前进度\n- **KR 2**:期望指标 -> 当前进度\n\n## 🗓️ 里程碑节点 (Milestones)\n\n- [ ] **阶段一 (日期)**:完成标的\n- [ ] **阶段二 (日期)**:完成标的\n\n## 📋 执行任务清单\n\n- [ ] \n- [ ] \n", + }, + postMortem: { + title: "问题排查与复盘", + description: "记录故障现象、根因分析 (5 Whys) 与防范机制。", + contentMarkdown: "# 🔍 问题排查与复盘 (Post-mortem)\n\n- **发生时间**:\n- **影响范围**:\n- **处理状态**:已解决 / 处理中\n\n---\n\n## 🚨 故障现象与影响\n\n\n\n## 🛠️ 排查过程与解决方案\n\n1. \n2. \n\n## 🔬 根因分析 (Root Cause / 5 Whys)\n\n- **根本原因**:\n\n## 🛡️ 预防措施 (Action Items)\n\n- [ ] **[短期规避]** \n- [ ] **[长期优化]** \n", }, }, },