Add AI progress loader and enhance suggestion generation logic

- Introduced AIProgressLoader component to display loading progress and messages during suggestion generation.
- Updated PasoSugerenciasForm to manage loading state and display tooltip for preserved suggestions.
- Adjusted suggestion limits and removed unused ciclo input from state.
This commit is contained in:
2026-02-11 16:03:52 -06:00
parent ded54c18dd
commit 07d08e1b57
5 changed files with 237 additions and 67 deletions

View File

@@ -140,7 +140,6 @@ export type AIGenerateSubjectInput = {
export type GenerateSubjectSuggestionsInput = {
plan_estudio_id: UUID
numero_de_ciclo: number
enfoque?: string
cantidad_de_sugerencias: number
sugerencias_conservadas: Array<{ nombre: string; descripcion: string }>