- lower journey-optimization-table textarea min-height 112px -> 56px:
both columns hold short text and the tall rows left large blank areas
- add an optional 分析结论 textarea below the step-4 table; persisted as
journeyConclusion inside step4Answer (registered in
trainingStepAnswerFields.json panel 4 and the backend ownership guard)
- 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
- 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.
Writing Admin-Token/UserInfo to .sztzjy.com made every subdomain system
share and overwrite the same login state. Cookies are now host-only;
legacy shared-domain cookies are still cleaned up on set/remove so stale
duplicates cannot be read back.
- Changed the data source for the student table from `review.students` to `paginatedStudents` for improved performance and clarity.
- Added pagination controls to the task review panel to manage large student lists more effectively.
- Streamlined dialog component structures for better readability and maintenance.
- Minor adjustments to button and dialog layouts for improved user experience.
- Updated score display logic to show teacher scores when available, otherwise defaulting to AI scores.
- Introduced computed properties for better handling of score visibility and labeling.
- Improved the layout and styling of score metrics for better visual consistency across the application.
- Added new dialog components for batch AI scoring and AI-assisted evaluation in the teacher's score review panel.
- Introduced a new button for batch AI scoring alongside the existing batch scoring functionality.
- Replaced the inline input for teacher scores with a button that opens a dedicated score dialog for better user experience.
- Improved the layout of the task review panel, including the addition of action buttons for viewing reference answers and AI assistance.
- Updated dialog components for single and batch scoring to enhance usability and visual consistency.
- Cleaned up SVG and input element formatting for consistency and readability.
- Ensured proper spacing and alignment in the template structure.
- Enhanced the overall maintainability of the code by reducing unnecessary line breaks and improving element organization.
- Replaced the table view with a tree structure to enhance task organization by project.
- Introduced project selection checkboxes and task selection within expandable project sections.
- Added computed properties for managing task grouping and selection states.
- Improved loading state handling and empty task display messaging.
- Changed the media query breakpoint from 1100px to 800px to improve responsiveness of the student training shell on narrower screens.
- Ensured that the AI floating panel remains fixed and adapts its width appropriately on smaller devices.
- 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.
- Added specific styles for the student layout sidebar when collapsed, ensuring it reduces to 64px width.
- Addressed specificity issues with existing styles to prevent layout conflicts in non-mobile views.