Commit Graph

7 Commits

Author SHA1 Message Date
f2b3010ac9 Ahora se obtienen claims de las tablas en el esquema public, en vez de la información de sesion del usuario, que se obtiene de la tabla auth.users
En supabase.tsx se sustituyó la manera de obtener los claims del usuario, utilizando ahora un rpc de una función en supabase.
2025-10-10 17:23:37 -06:00
5a113ca603 feat: add CarreraDetailDialog and CriterioFormDialog components for managing carrera criteria
feat: implement CarreraFormDialog for creating and editing carreras

feat: create StatusPill component for active/inactive status display

feat: add openContextMenu utility for context menu interactions

feat: add tint utility function for color manipulation

refactor: update archivos route to use font-mono for CardTitle

refactor: update asignaturas route to use font-mono for headings

refactor: update carreras route to modularize components and improve readability

refactor: update dashboard route to use font-mono for CardTitle

refactor: update plan detail route to use font-mono for CardTitle

refactor: update planes route to use font-mono for CardTitle

refactor: update usuarios route to use font-mono for CardTitle

refactor: update login route to use font-mono for CardTitle
2025-09-01 08:43:41 -06:00
6c3dd54d5f refactor: update navigation links and search parameters across authenticated routes 2025-08-29 16:51:22 -06:00
3bc4498e4f Refactor user management in usuarios.tsx: integrate react-query for data fetching and mutations, streamline role handling, and enhance user ban/unban functionality. 2025-08-27 16:15:42 -06:00
7d5db6bb2f refactor: update imports in various components for consistency and remove unused imports 2025-08-27 10:08:41 -06:00
ca3fed69b2 feat: implement dashboard with KPIs, recent activity, and health metrics
- Added dashboard route with loader fetching KPIs, recent plans and subjects, and health metrics.
- Created visual components for displaying KPIs and recent activity.
- Implemented gradient background and user greeting based on role.
- Added input for global search and quick links for creating new plans and subjects.

refactor: update facultad progress ring rendering

- Fixed rendering of progress ring in facultad detail view.

fix: remove unnecessary link to subjects in plan detail view

- Removed link to view subjects from the plan detail page for cleaner UI.

feat: add create plan dialog in planes route

- Introduced a dialog for creating new plans with form validation and role-based field visibility.
- Integrated Supabase for creating plans and handling user roles.

feat: enhance user management with create user dialog

- Added functionality to create new users with role and claims management.
- Implemented password generation and input handling for user creation.

fix: update login redirect to dashboard

- Changed default redirect after login from /planes to /dashboard for better user experience.
2025-08-22 14:32:43 -06:00
fe471bcfc2 feat: Add dashboard and asignaturas routes with corresponding components 2025-08-21 07:49:01 -06:00