Export menu carries 6 copy-pasted menu-item button blocks
Problem
The classroom export menu in components/stage/header-controls.tsx now has six near-identical button blocks (PPTX, Resource Pack, Classroom ZIP, video, and the two new narration-script entries), differing only in icon, i18n keys, and click handler. Each new export format adds ~15 duplicated lines.
Suggested fix
Extract a local ExportMenuItem({ icon, label, description, onSelect }) component and convert the six items to it. At minimum data-drive the two new entries with a map over [{key, desc, onSelect}], deleting ~26 duplicated lines.
Evidence
components/stage/header-controls.tsx:333-347 -- the exportScriptDoc button block, repeated verbatim for exportScriptMd and in 4 earlier items.
Metadata
Severity: P2 | Confidence: 75 | Reviewer(s): maintainability | Source: branch feat/download-narration-script @ 77a16c8 (code review of the issue-413 narration script PR)
Source: THU-MAIC/OpenMAIC