SpecialX
|
138b6f1b00
|
feat(dashboard,diagnostic,elective): add widgets, layout, parent dashboard, role-config, services, elective components
dashboard:
- Add comparison-badge, dashboard-notification-widget, dashboard-responsive-layout, dashboard-time-range-filter
- Add parent-dashboard components directory
- Add config, hooks, and services directories
diagnostic:
- Add role-config and services directory
elective:
- Add elective-course-detail, elective-stats-cards, parent-selection-view components
- Add data-access-settings and data-access-stats
|
2026-07-03 10:25:46 +08:00 |
|
SpecialX
|
1a9377222c
|
feat(app): add error/loading boundaries and update dashboard routes
- Add error.tsx and loading.tsx boundaries for admin, parent, student, teacher routes
- Add dashboard-error-fallback and dashboard-loading-skeleton components
- Add student/learning page, parent/leave routes, teacher textbook components
- Update existing app routes across auth, dashboard, and API endpoints
- Update proxy middleware and next-auth type declarations
|
2026-06-23 17:38:28 +08:00 |
|
SpecialX
|
e997abaf5e
|
refactor(dashboard): V2 审计重构 — i18n 补齐 + 共享抽象 + 单测 + a11y
V2 审计报告(docs/architecture/audit/dashboard-audit-report-v2.md)发现并修复:
- P0 i18n:10 个子组件硬编码字符串全部接入 next-intl(teacher-quick-actions /
teacher-classes-card / teacher-homework-card / teacher-schedule /
recent-submissions / teacher-grade-trends / student-grades-card /
student-today-schedule-card / student-upcoming-assignments-card /
admin-dashboard),新增 ~50 个翻译键
- P1 共享抽象:新增 DashboardGreetingHeader 组件,消除 teacher/student
头部 90% 重复代码,两个 Header 改为薄包装
- P2 单测:为 6 个纯函数添加 31 个单元测试
(tests/integration/dashboard/dashboard-utils.test.ts)
- P2 a11y:admin 表格 caption、teacher/student 视图语义化标签
(header / section aria-label / aside aria-label)
- 同步架构图 004/005
|
2026-06-22 17:01:00 +08:00 |
|
SpecialX
|
ade8d4346c
|
feat(dashboard): optimize teacher dashboard ui and layout
- Refactor layout: move Needs Grading to main column, Homework to sidebar
- Enhance TeacherStats: replace static counts with actionable metrics (Needs Grading, Active Assignments, Avg Score, Submission Rate)
- Update RecentSubmissions: table view with quick grade actions and late status
- Update TeacherSchedule: vertical timeline view with scroll hints
- Update TeacherHomeworkCard: compact list view
- Integrate Recharts: add TeacherGradeTrends chart and shared chart component
- Update documentation
|
2026-01-12 11:38:27 +08:00 |
|
SpecialX
|
57807def37
|
完整性更新
现在已经实现了大部分基础功能
|
2026-01-08 11:14:03 +08:00 |
|