Epic 6: Stories 6-2 (Markdown roundtrip) + 6-3 (Brainstorm PPTX + Canvas)
Story 6-2 — Markdown roundtrip export/import: - lib/editor/markdown-export.ts: tiptapHTMLToMarkdown, markdownToHTML, looksLikeMarkdown - lib/editor/markdown-paste-extension.ts: TipTap extension paste Markdown → blocs - note-editor-toolbar.tsx: export .md + import .md (file picker) - rich-text-editor.tsx: intégration MarkdownPasteExtension - 40 tests unitaires markdown-export.test.ts Story 6-3 — Brainstorm PPTX + Canvas: - lib/brainstorm/export-pptx.ts: génération PPTX 5 slides (pptxgenjs) - app/api/brainstorm/[sessionId]/export-pptx/route.ts: route POST protégée - brainstorm-page.tsx: bouton PPTX, auto-select session, fix emoji, fix router.replace - wave-canvas.tsx: fitTrigger recentrage, légende bas-droite Onboarding activation wizard (Story 6-1): - components/onboarding/: wizard multi-étapes, hints éditeur - app/api/onboarding/: route PATCH onboarding - prisma/migrations: champs onboarding user Locales: 15 langues mises à jour (brainstorm, markdown, onboarding keys) Sprint: 6-1 done, 6-2 review, 6-3 review Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -2211,7 +2211,12 @@
|
||||
"Italiano": "ایتالیایی",
|
||||
"Chinois": "چینی",
|
||||
"Japonais": "ژاپنی"
|
||||
}
|
||||
},
|
||||
"exportMarkdown": "صدور به فرمت Markdown",
|
||||
"importMarkdown": "وارد کردن Markdown",
|
||||
"markdownExportSuccess": "یادداشت به فرمت Markdown صادر شد",
|
||||
"markdownExportError": "خطا در صدور یادداشت",
|
||||
"markdownImportSuccess": "Markdown با موفقیت وارد شد"
|
||||
},
|
||||
"brainstorm": {
|
||||
"title": "Waves of Thought",
|
||||
@@ -2341,7 +2346,16 @@
|
||||
"ownerBadge": "Owner",
|
||||
"waveBadge": "Wave {wave}",
|
||||
"quotaGuest": "میزبان جلسه به سقف هوش مصنوعی رسیده. از او بخواهید طرحش را ارتقا دهد.",
|
||||
"quotaHost": "به سقف هوش مصنوعی این طوفان فکری رسیدید. برای ادامه، طرح خود را ارتقا دهید."
|
||||
"quotaHost": "به سقف هوش مصنوعی این طوفان فکری رسیدید. برای ادامه، طرح خود را ارتقا دهید.",
|
||||
"downloadPptx": "PPTX",
|
||||
"downloadPptxDesc": "دانلود بهصورت PowerPoint",
|
||||
"pptxSuccess": "PPTX دانلود شد",
|
||||
"pptxError": "خطا در خروجی PPTX",
|
||||
"fitToScreen": "بازمرکزیابی",
|
||||
"legendWave1": "تغییرات",
|
||||
"legendWave2": "قیاسها",
|
||||
"legendWave3": "اختلالات",
|
||||
"legendConverted": "تبدیلشده"
|
||||
},
|
||||
"usageMeter": {
|
||||
"packName": "AI Discovery Pack",
|
||||
@@ -2801,5 +2815,96 @@
|
||||
"uploadError": "خطای آپلود",
|
||||
"uploadFailed": "آپلود ناموفق",
|
||||
"uploading": "در حال آپلود..."
|
||||
},
|
||||
"onboarding": {
|
||||
"welcome_title": "حافظه شما با هوش مصنوعی",
|
||||
"welcome_subtitle": "Momento آنچه فراموش میکنید را به یاد میآورد.",
|
||||
"welcome_cta": "شروع",
|
||||
"skip": "رد کردن",
|
||||
"step_notes_title": "یادداشتهای شما",
|
||||
"step_notes_empty": "هنوز یادداشتی ندارید. یادداشتهایتان را وارد کنید یا با مثالها شروع کنید.",
|
||||
"step_notes_import": "وارد کردن یادداشتهایم",
|
||||
"step_notes_demo": "ایجاد ۵ یادداشت نمونه",
|
||||
"step_notes_has_notes": "شما از قبل {count} یادداشت دارید. بیایید جادو را کشف کنیم.",
|
||||
"step_notes_cta": "یادداشتهایم آماده است",
|
||||
"step_aha_title": "چیزی که فراموش کردهاید را پیدا کنید",
|
||||
"step_aha_subtitle": "سوال بپرسید. یادداشت فراموش شده را پیدا کنید.",
|
||||
"step_aha_placeholder": "یادداشتهای بهرهوری...",
|
||||
"step_aha_cta": "کشف Momento",
|
||||
"progress": "{current} از {total}",
|
||||
"creating_demo_notes": "در حال ایجاد یادداشتهای نمونه...",
|
||||
"demo_notes_ready": "۵ یادداشت نمونه ایجاد شد!",
|
||||
"badge_credits": "⚡ {count} اعتبار باقی",
|
||||
"badge_upgrade": "ارتقاء به Pro →",
|
||||
"no_results": "نتیجهای یافت نشد — پرسوجوی دیگری امتحان کنید.",
|
||||
"search_credit_used": "۱ جستجو استفاده شد",
|
||||
"quota_exceeded": "سهمیه جستجو تمام شد — به Pro ارتقا دهید.",
|
||||
"step_aha_search_button": "جستجو",
|
||||
"step_aha_search_aria": "جستجو در یادداشتهای شما",
|
||||
"step_notes_hint": "💡 این یادداشتها نمایش جستجوی هوش مصنوعی در مرحله بعد را تأمین میکنند.",
|
||||
"step_features_title": "قدرتهای فوقالعاده هوش مصنوعی شما",
|
||||
"step_features_subtitle": "انتخاب کنید از کجا شروع کنید.",
|
||||
"step_features_cta": "بزن بریم!",
|
||||
"feature_search_title": "جستجوی معنایی",
|
||||
"feature_search_desc": "هر یادداشتی را بر اساس معنا پیدا کنید، نه فقط کلمات کلیدی.",
|
||||
"feature_flashcards_title": "فلشکارتهای هوش مصنوعی",
|
||||
"feature_flashcards_desc": "کارتهای مرور SRS را با یک کلیک از یادداشتهایتان بسازید.",
|
||||
"feature_brainstorm_title": "طوفان فکری هوش مصنوعی",
|
||||
"feature_brainstorm_desc": "جلسات طوفان فکری مشارکتی با پشتیبانی هوش مصنوعی.",
|
||||
"feature_chat_title": "گفتگو با یادداشتها",
|
||||
"feature_chat_desc": "از پایگاه دانش شخصی خود سوال بپرسید.",
|
||||
"feature_insights_title": "بینشهای معنایی",
|
||||
"feature_insights_desc": "ارتباطهای پنهان بین ایدههایتان را کشف کنید.",
|
||||
"feature_export_title": "خروجی Markdown",
|
||||
"feature_export_desc": "یادداشتهایتان را با فرمت Markdown استاندارد وارد و صادر کنید.",
|
||||
"welcome_title_name": "سلام {name} 👋",
|
||||
"import_formats": "فرمتهای پذیرفتهشده: .md, .txt",
|
||||
"import_error": "برخی فایلها وارد نشدند. دوباره امتحان کنید.",
|
||||
"import_notes_ready": "{count} یادداشت وارد شد!",
|
||||
"action_write_title": "اولین یادداشت واقعی خود را بنویسید",
|
||||
"action_write_desc": "یادداشتی بسازید و ایدههایتان را ثبت کنید.",
|
||||
"action_flashcards_title": "اولین فلشکارتهایتان را بسازید",
|
||||
"action_flashcards_desc": "یک یادداشت باز کنید و روی دکمه فلشکارت کلیک کنید.",
|
||||
"action_brainstorm_title": "طوفان فکری هوش مصنوعی را شروع کنید",
|
||||
"action_brainstorm_desc": "ایدههایتان را با یک عامل هوش مصنوعی کشف کنید.",
|
||||
"action_try": "امتحان",
|
||||
"step_features_cta_all": "همه چیز آماده است — بریم!",
|
||||
"action_write_where": "ببند → روی \"+ یادداشت جدید\" در نوار کناری کلیک کنید",
|
||||
"action_flashcards_where": "ببند → یادداشتی باز کنید → دکمه 🃏 در نوار ابزار",
|
||||
"action_brainstorm_where": "ببند → بخش \"Canvas\" در نوار کناری",
|
||||
"pill_resume": "✨ ادامه راهنما",
|
||||
"action_done": "امتحان شد!",
|
||||
"editor_hints_title": "Editor tips",
|
||||
"editor_hints_got_it": "Got it!",
|
||||
"hint_slash_title": "\"/\" command — insert blocks",
|
||||
"hint_slash_desc": "In the editor, type \"/\" to open the block menu: heading, list, code block, table, to-do list, and AI commands (Clarify, Shorten, Improve, Expand).",
|
||||
"hint_ai_title": "Built-in AI assistant",
|
||||
"hint_ai_desc": "Click the ✨ button in the toolbar to open the AI panel — ask questions, summarize, rewrite, or brainstorm directly in your note.",
|
||||
"hint_version_title": "Version history",
|
||||
"hint_version_desc": "Click the ⓘ button in the toolbar → \"Versions\" tab. Enable versioning, then save and restore snapshots of your note at any time.",
|
||||
"hint_flashcards_title": "Generate flashcards",
|
||||
"hint_flashcards_desc": "Click the 🎓 button in the toolbar to auto-generate flashcards from your note for spaced repetition review.",
|
||||
"hint_links_title": "Links between notes",
|
||||
"hint_links_desc": "Type \"[[\" in the editor to search and link to another note. Linked notes appear as backlinks at the bottom of the note.",
|
||||
"hint_create_note_title": "Create a note",
|
||||
"hint_create_note_desc": "Click the \"+\" button in the sidebar or press Ctrl+N to create a new note. Then start writing.",
|
||||
"hint_flip_title": "Flip the card",
|
||||
"hint_flip_desc": "Press Space (or click the card) to flip it and reveal the answer.",
|
||||
"hint_rate_keys_title": "Rate with keyboard",
|
||||
"hint_rate_keys_desc": "After flipping, press 1 (Hard), 2 (Difficult), 3 (Good) or 4 (Easy) to rate the card. The SM-2 algorithm schedules your next review automatically.",
|
||||
"hint_generate_from_note_title": "Generate from a note",
|
||||
"hint_generate_from_note_desc": "Open any note and click the 🎓 button in the toolbar to automatically generate flashcards from its content.",
|
||||
"hint_brainstorm_start_title": "Start with an idea",
|
||||
"hint_brainstorm_start_desc": "Type any concept or question in the input field and press Enter. The AI will generate a set of ideas around it.",
|
||||
"hint_brainstorm_deepen_title": "Deepen an idea",
|
||||
"hint_brainstorm_deepen_desc": "Click on any idea card to expand it with sub-ideas and explore it further.",
|
||||
"hint_brainstorm_export_title": "Export your session",
|
||||
"hint_brainstorm_export_desc": "When done, export the entire brainstorm session as a structured note saved to your notebook.",
|
||||
"hint_insights_clusters_title": "Note clusters",
|
||||
"hint_insights_clusters_desc": "Your notes are automatically grouped into thematic clusters. Click a cluster to explore the notes it contains.",
|
||||
"hint_insights_bridge_title": "Bridge notes",
|
||||
"hint_insights_bridge_desc": "Bridge notes connect multiple clusters. They are highlighted because they hold your knowledge graph together.",
|
||||
"hint_insights_refresh_title": "Refresh clusters",
|
||||
"hint_insights_refresh_desc": "If you've added new notes, click the refresh button to recalculate the clusters with the latest content."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user