feat: add EditAsignaturaButton and EditBibliografiaButton components for managing asignaturas
- Introduced EditAsignaturaButton for editing asignatura details with a dialog interface. - Added EditBibliografiaButton for managing bibliographic references with various utility actions (trim, dedupe, sort, import, export). - Created reusable Field, Section, and Stat components for better UI structure. - Implemented typeStyle utility for styling based on asignatura type. - Integrated new components into the existing asignatura route. - Updated package.json to include new dependencies for alert dialogs and tooltips. - Defined Asignatura type in a new types file for better type safety.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
export type Asignatura = {
|
||||
id: string
|
||||
nombre: string
|
||||
clave: string | null
|
||||
tipo: string | null
|
||||
semestre: number | null
|
||||
creditos: number | null
|
||||
horas_teoricas: number | null
|
||||
horas_practicas: number | null
|
||||
objetivos: string | null
|
||||
contenidos: Record<string, Record<string, string>> | null
|
||||
bibliografia: string[] | null
|
||||
criterios_evaluacion: string | null
|
||||
plan_id: string | null
|
||||
}
|
||||
Reference in New Issue
Block a user