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:
@@ -2176,7 +2176,12 @@
|
||||
"Italiano": "イタリア語",
|
||||
"Chinois": "中国語",
|
||||
"Japonais": "日本語"
|
||||
}
|
||||
},
|
||||
"exportMarkdown": "Markdownとしてエクスポート",
|
||||
"importMarkdown": "Markdownをインポート",
|
||||
"markdownExportSuccess": "ノートをMarkdownとしてエクスポートしました",
|
||||
"markdownExportError": "ノートのエクスポートに失敗しました",
|
||||
"markdownImportSuccess": "Markdownのインポートに成功しました"
|
||||
},
|
||||
"brainstorm": {
|
||||
"title": "Waves of Thought",
|
||||
@@ -2306,7 +2311,16 @@
|
||||
"ownerBadge": "Owner",
|
||||
"waveBadge": "Wave {wave}",
|
||||
"quotaGuest": "セッションのホストがAI利用上限に達しました。プランのアップグレードを依頼してください。",
|
||||
"quotaHost": "このブレインストームのAI上限に達しました。続けるにはプランをアップグレードしてください。"
|
||||
"quotaHost": "このブレインストームのAI上限に達しました。続けるにはプランをアップグレードしてください。",
|
||||
"downloadPptx": "PPTX",
|
||||
"downloadPptxDesc": "PowerPointとしてダウンロード",
|
||||
"pptxSuccess": "PPTXをダウンロードしました",
|
||||
"pptxError": "PPTXのエクスポートに失敗しました",
|
||||
"fitToScreen": "中央に戻す",
|
||||
"legendWave1": "バリエーション",
|
||||
"legendWave2": "類推",
|
||||
"legendWave3": "破壊的変革",
|
||||
"legendConverted": "変換済み"
|
||||
},
|
||||
"usageMeter": {
|
||||
"packName": "AI Discovery Pack",
|
||||
@@ -2762,5 +2776,96 @@
|
||||
"uploadError": "アップロードエラー",
|
||||
"uploadFailed": "アップロードに失敗しました",
|
||||
"uploading": "アップロード中..."
|
||||
},
|
||||
"onboarding": {
|
||||
"welcome_title": "AIで強化されたあなたの記憶",
|
||||
"welcome_subtitle": "Momentoはあなたが忘れたことを覚えています。",
|
||||
"welcome_cta": "始める",
|
||||
"skip": "スキップ",
|
||||
"step_notes_title": "あなたのノート",
|
||||
"step_notes_empty": "まだノートがありません。インポートするか、例から始めましょう。",
|
||||
"step_notes_import": "ノートをインポート",
|
||||
"step_notes_demo": "5つの例ノートを作成",
|
||||
"step_notes_has_notes": "すでに{count}件のノートがあります。魔法を発見しましょう。",
|
||||
"step_notes_cta": "ノートの準備ができました",
|
||||
"step_aha_title": "忘れたことを見つける",
|
||||
"step_aha_subtitle": "質問を入力してください。忘れたノートを見つけます。",
|
||||
"step_aha_placeholder": "生産性に関するメモ...",
|
||||
"step_aha_cta": "Momentoを探索",
|
||||
"progress": "{total}中{current}",
|
||||
"creating_demo_notes": "サンプルノートを作成中...",
|
||||
"demo_notes_ready": "5つのサンプルノートを作成しました!",
|
||||
"badge_credits": "⚡ 残り {count} クレジット",
|
||||
"badge_upgrade": "Proにアップグレード →",
|
||||
"no_results": "結果なし — 別のクエリを試してください。",
|
||||
"search_credit_used": "検索 1 回使用",
|
||||
"quota_exceeded": "検索クォータに達しました — Proにアップグレード。",
|
||||
"step_aha_search_button": "検索",
|
||||
"step_aha_search_aria": "メモを検索",
|
||||
"step_notes_hint": "💡 これらのノートは次のステップのAI検索デモに使用されます。",
|
||||
"step_features_title": "あなたのAIスーパーパワー",
|
||||
"step_features_subtitle": "どこから始めるか選んでください。",
|
||||
"step_features_cta": "始めましょう!",
|
||||
"feature_search_title": "セマンティック検索",
|
||||
"feature_search_desc": "キーワードだけでなく意味でノートを検索。",
|
||||
"feature_flashcards_title": "AIフラッシュカード",
|
||||
"feature_flashcards_desc": "ノートからSRS復習カードをワンクリックで生成。",
|
||||
"feature_brainstorm_title": "AIブレインストーミング",
|
||||
"feature_brainstorm_desc": "AI搭載の共同ブレインストーミングセッション。",
|
||||
"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": "AIブレインストーミングを開始",
|
||||
"action_brainstorm_desc": "AIエージェントとアイデアを探索しましょう。",
|
||||
"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