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": "Организатор сессии исчерпал лимит ИИ. Попросите его обновить тариф.",
|
||||
"quotaHost": "Вы исчерпали лимит ИИ для этого мозгового штурма. Обновите тариф, чтобы продолжить."
|
||||
"quotaHost": "Вы исчерпали лимит ИИ для этого мозгового штурма. Обновите тариф, чтобы продолжить.",
|
||||
"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": "Ваша память, усиленная ИИ",
|
||||
"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": "{current} из {total}",
|
||||
"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": "💡 Эти заметки обеспечат демонстрацию ИИ-поиска на следующем шаге.",
|
||||
"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