- product-development-factors / product-development-process never wired
:on-submit/:on-reset into TrainingTaskToolbar, so the toolbar submit
button fell into the legacy branch and refused with
'请先完成各步骤,再通过本实训的提交按钮提交。' — students could not submit
实训2/实训3; wire both pages to their existing submitTraining/resetTraining
- resetLegacyTraining: for structured tasks use a RESET save instead of
deleteStudentTrainingAnswer so 重新实训 no longer deletes the answer row
along with teacher/AI scores (affects the 10 pages without on-reset wiring)
- toolbar test now enforces :on-submit wiring on every built-in training page
and keeps the two incident pages on :on-reset
- split page outcomes into step1-stepN answers for 7 tasks via
trainingStepAnswers.mjs + trainingStepAnswerFields.json
- reroute legacy snapshot pages to canonical pages:
/demand/user->/demand/people, /test/channelas->/test/index,
/test/marketing->/test/promotion, /assessment/index->/assessment/diagnosis
- delete 12 whole-form/snapshot pages and TrainingLegacyActions;
clean dead taskKeyMap path entries
- add training-step-column-split regression test: every answer save site
must use the split helper or be allowlisted per-step; field map must not
duplicate keys across panels; backend ownership guard must register all
mapped tasks; deleted snapshot pages must not return
- refresh stale toolbar/demand-index test asserts
- Updated sidebar styles to ensure the collapse toggle remains visible across all student and teacher roles, removing conditional rendering.
- Enhanced specificity of styles to synchronize the toggle arrow and menu visibility with the sidebar's expanded/collapsed state.
- Added logic to force the menu to display correctly when the sidebar is expanded, addressing previous inconsistencies.