- Add comprehensive audit report for exam and homework module - Create exam-homework i18n message files (zh-CN + en) and register namespace - Add permission check to gradeHomeworkSubmissionAction to prevent horizontal privilege escalation - Add Error Boundary + loading.tsx for 5 key pages (exam build/proctoring, homework assignment/submissions, student assignment) - Refactor exam-columns to createExamColumns(t) factory for i18n support - Refactor exam-data-table to manage columns internally via useTranslations - Replace hardcoded strings with i18n keys in all exam/homework components and pages - Add getHomeworkSubmissionForGrading data-access for secure grading flow
17 lines
508 B
TypeScript
17 lines
508 B
TypeScript
import { Skeleton } from "@/shared/components/ui/skeleton"
|
|
|
|
export default function Loading() {
|
|
return (
|
|
<div className="flex h-full flex-col space-y-4 p-4">
|
|
<div className="space-y-2">
|
|
<Skeleton className="h-7 w-40" />
|
|
<Skeleton className="h-4 w-72" />
|
|
</div>
|
|
<div className="grid w-full grid-cols-1 gap-4 lg:grid-cols-3">
|
|
<Skeleton className="h-[600px] lg:col-span-2" />
|
|
<Skeleton className="h-[600px] lg:col-span-1" />
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|