feat: enhance user experience with new components and improved error handling. Introduce ErrorFallback component for better error display, add pagination for admin content management, and implement dialogs for test session management. Update routing to include new components and improve accessibility with ARIA attributes. Refactor question formats and integrate debounced search functionality for admin features.
4c7b844 Download apps/web/src/lib/question-formats.ts from Atmint/cpns: direct link, hf CLI and curl.
- Browser
- Download file 469 Bytes
-
https://huggingface.co/spaces/Atmint/cpns/resolve/main/apps/web/src/lib/question-formats.ts
- Command line
-
hf download hf://spaces/Atmint/cpns/apps/web/src/lib/question-formats.ts
-
curl -L -o question-formats.ts https://huggingface.co/spaces/Atmint/cpns/resolve/main/apps/web/src/lib/question-formats.ts
469 Bytes
| /** Question formats that render as multiple-choice options (MCQ). */ | |
| export const MCQ_FORMATS = [ | |
| "multiple_choice", | |
| "synonym", | |
| "grammar_in_context", | |
| "sentence_completion", | |
| "reference", | |
| "kanji_reading", | |
| "particle_choice", | |
| "article_case", | |
| "matching_headings", | |
| "matching_information", | |
| "summary_completion", | |
| "cloze", | |
| "error_recognition", | |
| "text_insertion", | |
| "matching_pairs", | |
| ] as const; | |
| export type McqFormat = (typeof MCQ_FORMATS)[number]; | |