feat(dashboard): add Show transcript and Summarize lesson buttons in lesson view (#748)

* feat(dashboard): add lesson transcript and summarize actions in view mode

Add Show transcript and Summarize lesson outline buttons beneath lesson
videos in view mode. Show transcript opens the existing transcript side
panel when an uploaded video has a transcript. Summarize lesson appears
on every lesson and sends a contextual prompt to the AI assistant.

Co-authored-by: Rotimi Best <[email protected]>

* fix(dashboard): localize summarize lesson AI prompts

Move hardcoded summarize prompt strings into translation keys so the
prompt sent to the AI assistant follows the user's app language.

Co-authored-by: Rotimi Best <[email protected]>

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Rotimi Best <[email protected]>
This commit is contained in:
Rotimi Best
2026-07-13 11:18:28 +01:00
committed by GitHub
co-authored by Rotimi Best Cursor Agent
parent 3fbfa4b09f
commit fdc19aac41
16 changed files with 166 additions and 10 deletions
@@ -1889,6 +1889,13 @@
"no_content": "Нет контента",
"no_translation": "Нет перевода на выбранный язык",
"button": "кнопка",
"show_transcript": "Показать транскрипт",
"summarize_lesson": "Суммировать урок",
"summarize_lesson_prompt": {
"lesson_only": "Кратко изложите, чему учили в этом уроке.",
"transcript_only": "Просмотрите транскрипт загруженного видео и кратко изложите, что в нём упоминается.",
"transcript_and_notes": "Просмотрите транскрипт загруженного видео и кратко изложите, что в нём упоминается. Также кратко изложите, что рассматривается в заметках к уроку."
},
"button_done": "Готово",
"tabs": {
"settings": {