Files
xuyuanwei678 9d87025c2a feat(home): adapt homepage and dialogs for mobile (#2005)
Adapt the existing homepage for phones without duplicating its business logic.

- Shared adaptive layer: media-query subscriptions, a server UA hint for the first paint, VisualViewport/safe-area helpers, and a phone page-scroll boundary. The workspace 1024px pane rule is unchanged.
- One homepage with phone containers: compact composer, course-options dialog with a dedicated Course materials view, and a searchable library drawer with touch-accessible course actions; desktop keeps the inline library and attachment popover.
- Attachment capability cleanup is page-owned, so switching the document parser removes unsupported files (with a notice) regardless of which panel is open.
- Recorder lifetime: the stop control stays visible while recording/processing, and unmount stops tracks, recognition, timers and pending transcription.
- 16px inputs, no horizontal overflow, 12 locales updated, plus unit and Playwright coverage.

Follow-ups: homepage landscape layout (with classroom playback adaptation); Safari + Sogou blank area above the keyboard.
2026-10-27 17:51:06 +08:00
..