Commit Graph

3 Commits (856b8e015eaf1136cfd73499a027bb9a1c2a2212)

Author SHA1 Message Date
qinzhenpen 856b8e015e fix(review): skip preview writes with fake success and block steps for unsubmitted students 1 month ago
qinzhenpen f9f85a512c perf(review): reuse preview iframe and isolate per-student state
- TaskReviewPanel: keep one preview iframe and hot-switch students via
  postMessage instead of rebuilding the SPA on every click; cache class
  task config per class; reset preview scroll on switch.
- Show a loading overlay on the preview container and reveal it only
  after the embedded page reports component + requests + DOM settled.
- StudentTaskReadonlyPreview: two-phase component swap so the previous
  student instance is fully unmounted before the next mounts; sync the
  iframe URL previewKey so context lookups keep working; isolate
  localStorage to stop student pages leaking drafts between previews.
- Block student-answer reads/writes in preview mode even when the
  preview context key cannot be resolved.
1 month ago
陈沅 b087a72a1e feat: complete teacher task review workflow 3 months ago