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": "Italiano",
|
||||
"Chinois": "Cinese",
|
||||
"Japonais": "Giapponese"
|
||||
}
|
||||
},
|
||||
"exportMarkdown": "Esporta come Markdown",
|
||||
"importMarkdown": "Importa Markdown",
|
||||
"markdownExportSuccess": "Nota esportata come Markdown",
|
||||
"markdownExportError": "Esportazione nota fallita",
|
||||
"markdownImportSuccess": "Markdown importato con successo"
|
||||
},
|
||||
"brainstorm": {
|
||||
"title": "Waves of Thought",
|
||||
@@ -2306,7 +2311,16 @@
|
||||
"ownerBadge": "Owner",
|
||||
"waveBadge": "Wave {wave}",
|
||||
"quotaGuest": "L'host della sessione ha raggiunto il limite IA. Chiedigli di aggiornare il piano.",
|
||||
"quotaHost": "Hai raggiunto il limite IA per questo brainstorm. Passa a un piano superiore per continuare."
|
||||
"quotaHost": "Hai raggiunto il limite IA per questo brainstorm. Passa a un piano superiore per continuare.",
|
||||
"downloadPptx": "PPTX",
|
||||
"downloadPptxDesc": "Scarica come PowerPoint",
|
||||
"pptxSuccess": "PPTX scaricato",
|
||||
"pptxError": "Esportazione PPTX fallita",
|
||||
"fitToScreen": "Ri-centrare",
|
||||
"legendWave1": "Variazioni",
|
||||
"legendWave2": "Analogie",
|
||||
"legendWave3": "Disruzioni",
|
||||
"legendConverted": "Convertita"
|
||||
},
|
||||
"usageMeter": {
|
||||
"packName": "AI Discovery Pack",
|
||||
@@ -2762,5 +2776,96 @@
|
||||
"uploadError": "Errore di caricamento",
|
||||
"uploadFailed": "Caricamento non riuscito",
|
||||
"uploading": "Caricamento..."
|
||||
},
|
||||
"onboarding": {
|
||||
"welcome_title": "La tua memoria potenziata dall'IA",
|
||||
"welcome_subtitle": "Momento ricorda ciò che dimentichi.",
|
||||
"welcome_cta": "Inizia",
|
||||
"skip": "Salta",
|
||||
"step_notes_title": "Le tue note",
|
||||
"step_notes_empty": "Non hai ancora note. Importa le tue o inizia con esempi.",
|
||||
"step_notes_import": "Importa le mie note",
|
||||
"step_notes_demo": "Crea 5 note di esempio",
|
||||
"step_notes_has_notes": "Hai già {count} note. Scopriamo la magia.",
|
||||
"step_notes_cta": "Le mie note sono pronte",
|
||||
"step_aha_title": "Trova ciò che hai dimenticato",
|
||||
"step_aha_subtitle": "Fai una domanda. Trova una nota dimenticata.",
|
||||
"step_aha_placeholder": "note sulla produttività...",
|
||||
"step_aha_cta": "Esplora Momento",
|
||||
"progress": "{current} di {total}",
|
||||
"creating_demo_notes": "Creazione note di esempio...",
|
||||
"demo_notes_ready": "5 note di esempio create!",
|
||||
"badge_credits": "⚡ {count} crediti rimasti",
|
||||
"badge_upgrade": "Passa a Pro →",
|
||||
"no_results": "Nessun risultato — prova un'altra query.",
|
||||
"search_credit_used": "1 ricerca usata",
|
||||
"quota_exceeded": "Quota di ricerca raggiunta — passa a Pro.",
|
||||
"step_aha_search_button": "Cerca",
|
||||
"step_aha_search_aria": "Cerca nelle tue note",
|
||||
"step_notes_hint": "💡 Queste note alimenteranno la demo di ricerca IA nel passo successivo.",
|
||||
"step_features_title": "I tuoi superpoteri IA",
|
||||
"step_features_subtitle": "Scegli da dove iniziare.",
|
||||
"step_features_cta": "Andiamo!",
|
||||
"feature_search_title": "Ricerca semantica",
|
||||
"feature_search_desc": "Trova qualsiasi nota per significato, non solo per parole chiave.",
|
||||
"feature_flashcards_title": "Flashcard IA",
|
||||
"feature_flashcards_desc": "Genera schede di ripasso SRS dalle tue note in un clic.",
|
||||
"feature_brainstorm_title": "Brainstorming IA",
|
||||
"feature_brainstorm_desc": "Sessioni di brainstorming collaborativo con IA.",
|
||||
"feature_chat_title": "Chatta con le tue note",
|
||||
"feature_chat_desc": "Fai domande alla tua base di conoscenza personale.",
|
||||
"feature_insights_title": "Approfondimenti semantici",
|
||||
"feature_insights_desc": "Scopri connessioni nascoste tra le tue idee.",
|
||||
"feature_export_title": "Esportazione Markdown",
|
||||
"feature_export_desc": "Importa ed esporta le tue note in formato Markdown.",
|
||||
"welcome_title_name": "Ciao {name} 👋",
|
||||
"import_formats": "Formati accettati: .md, .txt",
|
||||
"import_error": "Impossibile importare alcuni file. Riprova.",
|
||||
"import_notes_ready": "{count} nota/e importata/e!",
|
||||
"action_write_title": "Scrivi la tua prima vera nota",
|
||||
"action_write_desc": "Crea una nota e inizia a catturare le tue idee.",
|
||||
"action_flashcards_title": "Genera le prime flashcard",
|
||||
"action_flashcards_desc": "Apri una nota e clicca sul pulsante flashcard.",
|
||||
"action_brainstorm_title": "Avvia un brainstorming IA",
|
||||
"action_brainstorm_desc": "Esplora le tue idee con un agente IA.",
|
||||
"action_try": "Prova",
|
||||
"step_features_cta_all": "Tutto pronto — immergiamoci!",
|
||||
"action_write_where": "Chiudi → clicca \"+ Nuova nota\" nella barra laterale",
|
||||
"action_flashcards_where": "Chiudi → apri una nota → pulsante 🃏 nella toolbar",
|
||||
"action_brainstorm_where": "Chiudi → sezione \"Canvas\" nella barra laterale",
|
||||
"pill_resume": "✨ Riprendi tour",
|
||||
"action_done": "Provato!",
|
||||
"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