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 <rotimi-best@users.noreply.github.com>

* 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 <rotimi-best@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com>
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": "Sin contenido",
"no_translation": "No hay traducción para el idioma seleccionado.",
"button": "botón",
"show_transcript": "Mostrar transcripción",
"summarize_lesson": "Resumir lección",
"summarize_lesson_prompt": {
"lesson_only": "Resume lo que se ha enseñado en esta lección.",
"transcript_only": "Consulta la transcripción del video subido y resume lo que se menciona en la transcripción.",
"transcript_and_notes": "Consulta la transcripción del video subido y resume lo que se menciona en la transcripción. También resume lo que se cubre en las notas de la lección."
},
"button_done": "hecho",
"tabs": {
"settings": {