- Make isDiagnostic false when all steps of the exam workflow have been approved.

- Implement Load Exam and Edit Exam buttons
This commit is contained in:
Joao Correia
2025-02-04 23:22:56 +00:00
parent de15eb5ee1
commit b215885dc6
6 changed files with 96 additions and 20 deletions

View File

@@ -195,7 +195,7 @@ const LevelSettings: React.FC = () => {
category: s.settings.category
};
}).filter(part => part.exercises.length > 0),
isDiagnostic: false,
isDiagnostic: true, // using isDiagnostic to keep exam hidden until the respective approval workflow is completed.
minTimer,
module: "level",
id: title,

View File

@@ -138,7 +138,7 @@ const ListeningSettings: React.FC = () => {
category: s.settings.category
};
}),
isDiagnostic: false,
isDiagnostic: true, // using isDiagnostic to keep exam hidden until the respective approval workflow is completed.
minTimer,
module: "listening",
id: title,

View File

@@ -76,7 +76,7 @@ const ReadingSettings: React.FC = () => {
category: localSettings.category
};
}),
isDiagnostic: false,
isDiagnostic: true, // using isDiagnostic to keep exam hidden until the respective approval workflow is completed.
minTimer,
module: "reading",
id: title,

View File

@@ -181,7 +181,7 @@ const SpeakingSettings: React.FC = () => {
minTimer,
module: "speaking",
id: title,
isDiagnostic: false,
isDiagnostic: true, // using isDiagnostic to keep exam hidden until the respective approval workflow is completed.
variant: undefined,
difficulty,
instructorGender: "varied",

View File

@@ -131,7 +131,7 @@ const WritingSettings: React.FC = () => {
minTimer,
module: "writing",
id: title,
isDiagnostic: false,
isDiagnostic: true, // using isDiagnostic to keep exam hidden until the respective approval workflow is completed.
variant: undefined,
difficulty,
private: isPrivate,