refactor: remove unused components and clean up evaluation client

- Deleted CreateSkillForm and ProfileForm components as they are no longer needed.
- Removed the initializeEmptyEvaluation method from EvaluationClient, as the backend handles evaluation creation.
- Updated exports in evaluation index to reflect the removal of WelcomeEvaluationScreen.
This commit is contained in:
Julien Froidefond
2025-08-25 19:31:17 +02:00
parent abd0de9f12
commit a440c0729f
7 changed files with 1 additions and 757 deletions

View File

@@ -102,21 +102,4 @@ export class EvaluationClient extends BaseHttpClient {
throw error;
}
};
/**
* Initialise une évaluation vide pour un profil
*/
initializeEmptyEvaluation = async (
profile: import("../../lib/types").UserProfile
): Promise<void> => {
try {
// Simplement créer le profil via l'auth, pas besoin de créer une évaluation vide
// Le backend créera automatiquement l'évaluation lors du premier accès
const { authClient } = await import("../index");
await authClient.login(profile);
} catch (error) {
console.error("Failed to initialize evaluation:", error);
throw error;
}
};
}