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": "Kein Inhalt",
"no_translation": "Keine Übersetzung für die ausgewählte Sprache",
"button": "Taste",
"show_transcript": "Transkript anzeigen",
"summarize_lesson": "Lektion zusammenfassen",
"summarize_lesson_prompt": {
"lesson_only": "Fassen Sie zusammen, was in dieser Lektion vermittelt wurde.",
"transcript_only": "Sehen Sie sich das Transkript des hochgeladenen Videos an und fassen Sie zusammen, was im Transkript erwähnt wird.",
"transcript_and_notes": "Sehen Sie sich das Transkript des hochgeladenen Videos an und fassen Sie zusammen, was im Transkript erwähnt wird. Fassen Sie auch zusammen, was in den Lektionsnotizen behandelt wird."
},
"button_done": "Fertig",
"tabs": {
"settings": {