Commit Graph

44 Commits

Author SHA1 Message Date
bc10cd8e50 fix: agregar propiedad slot a tabs para renderizar contenido
All checks were successful
build-and-deploy / build (push) Successful in 45s
build-and-deploy / deploy (push) Successful in 4s
El contenido de los tabs no se mostraba porque faltaba la propiedad
'slot' en cada item del array tabs. Nuxt UI UTabs requiere esta
propiedad para vincular los slots nombrados con sus respectivos tabs.

Cambios:
- Agregar propiedad 'slot' a cada item en el array tabs
- Ahora los slots nombrados (#table, #cards, #panorama, #detail) se
  vinculan correctamente con sus tabs correspondientes
2025-10-14 02:47:54 -06:00
c035c8a78f fix: corregir renderizado de tabs en metabase-debug
All checks were successful
build-and-deploy / build (push) Successful in 43s
build-and-deploy / deploy (push) Successful in 3s
Corrección del bug visual donde todos los tabs se mostraban simultáneamente.
El problema era el uso incorrecto del slot #default en UTabs que causaba
que todos los contenidos se renderizaran a la vez, creando elementos duplicados.

Cambios:
- Cambiar de #default a slots nombrados específicos (#table, #cards, #panorama, #detail)
- Ahora solo se muestra el contenido del tab activo
- Elimina la duplicación de elementos
- Mejora la legibilidad y organización visual
2025-10-14 02:35:48 -06:00
585d31a374 fix: mejorar visualización responsive en móvil para metabase-debug
All checks were successful
build-and-deploy / build (push) Successful in 42s
build-and-deploy / deploy (push) Successful in 3s
Ajustes realizados:

Components:
- MetabaseCardDisplay: grid responsive, queries con wrap, botones apilables
- MetabaseCardsTable: filtros verticales en móvil, acciones con wrap

Page:
- Header responsive con elementos apilados
- Stats en grid 2x2 para móvil, 4 columnas en desktop
- Tamaños de fuente adaptados con breakpoints

Todas las queries SQL y JSON ahora usan whitespace-pre-wrap y break-words
para aprovechar el espacio vertical en lugar de scroll horizontal.
2025-10-14 02:21:51 -06:00
56835d9b5d fix: corregir colores de UAlert y UBadge en metabase-debug
All checks were successful
build-and-deploy / build (push) Successful in 43s
build-and-deploy / deploy (push) Successful in 3s
- Cambiar 'red' a 'error'
- Cambiar 'blue' a 'info'
- Cambiar 'yellow' a 'warning'
- Cambiar 'text-blue-600' a 'text-primary'
2025-10-14 02:09:20 -06:00
90aebbde3d feat: agregar página de debug para Metabase
All checks were successful
build-and-deploy / build (push) Successful in 41s
build-and-deploy / deploy (push) Successful in 3s
- Crear componente MetabaseCardDisplay para mostrar detalles de queries
- Crear componente MetabaseCardsTable para listar todas las queries
- Crear página /metabase-debug con vistas de tabla, cards y queries Panorama
- Agregar API routes para cards de Metabase (GET, POST, export)
- Actualizar metabase.ts para soportar API Key authentication
- Agregar configuración de Metabase API Key en nuxt.config.ts
- Documentar todos los endpoints disponibles en METABASE_API_ENDPOINTS.md
2025-10-14 01:34:56 -06:00
d0b0dc3c56 feat: add URL query params support to explorer page
All checks were successful
build-and-deploy / build (push) Successful in 43s
build-and-deploy / deploy (push) Successful in 3s
- Add support for 'db' and 'table' query parameters
- Automatically preselect database and table from URL
- Auto-load data when both params are provided
- Update URL when user changes selection manually
- Example: /explorer?db=facturador+supabase&table=Ingresos
2025-10-13 19:52:00 -06:00
775ad6d32d fix: use items prop instead of options for USelectMenu
All checks were successful
build-and-deploy / build (push) Successful in 44s
build-and-deploy / deploy (push) Successful in 4s
- Change :options to :items according to Nuxt UI documentation
- USelectMenu requires items prop for data binding
- Fixes dropdown rendering issue
2025-10-13 19:21:55 -06:00
c997780187 fix: simplify SelectMenu to use string values instead of objects
All checks were successful
build-and-deploy / build (push) Successful in 43s
build-and-deploy / deploy (push) Successful in 3s
- Change from object binding to string-based selection
- Add computed properties to transform data to string arrays
- Add reverse lookup to get IDs from selected strings
- Improves compatibility with USelectMenu component
- Fixes dropdown not showing options correctly
2025-10-13 19:00:27 -06:00
3dd24e33c9 refactor: improve SelectMenu implementation with object binding
All checks were successful
build-and-deploy / build (push) Successful in 44s
build-and-deploy / deploy (push) Successful in 4s
- Change from ID-based selection to full object binding
- Add custom label templates to display proper text
- Simplify computed properties and watchers
- Improve user experience with proper label display
2025-10-13 18:46:52 -06:00
ce69a62336 fix: replace USelect with USelectMenu for better compatibility
All checks were successful
build-and-deploy / build (push) Successful in 44s
build-and-deploy / deploy (push) Successful in 3s
- Change from USelect to USelectMenu for database and table selection
- Add value-attribute and option-attribute props for proper rendering
- Improves dropdown functionality and user experience
2025-10-13 18:41:16 -06:00
3bf7760a67 feat: implement data explorer with Metabase integration
All checks were successful
build-and-deploy / build (push) Successful in 42s
build-and-deploy / deploy (push) Successful in 3s
- Replace maintenance mode with functional data explorer
- Connect to Metabase API for database and table listing
- Implement raw data viewer with search and column filtering
- Add support for querying tables directly from Metabase
- Limit queries to 1000 records by default for performance
2025-10-13 18:33:40 -06:00
2cf2242b82 Add maintenance mode to data analysis pages
All checks were successful
build-and-deploy / build (push) Successful in 45s
build-and-deploy / deploy (push) Successful in 4s
Restore all data analysis pages but display them in maintenance mode.
Users can see these pages in the navigation and access them, but they
show a maintenance message instead of trying to fetch data.

Changes:
- Create MaintenanceMode component for reusable maintenance UI
- Restore all deleted pages: explorer, metadatos, rawExplorer, panorama,
  comparativa-cosechas, informe-ingresos
- Replace complex data-fetching logic with MaintenanceMode component
- Add "Mantenimiento" badges to navigation menu items
- Pages show clear maintenance message with technical details
- Users can still navigate to these pages without errors

This approach:
- Keeps the UI structure intact
- Shows users what features exist
- Provides clear communication about maintenance status
- Prevents confusion about missing features
- Easy to re-enable when data sources are reconnected
2025-10-13 13:52:13 -06:00
608b4dbe26 Remove all database dependencies and simplify application
All checks were successful
build-and-deploy / build (push) Successful in 3m37s
build-and-deploy / deploy (push) Successful in 4s
BREAKING CHANGE: Remove all data analysis features

This commit removes all database-dependent functionality and simplifies
the application to focus on authentication and user management only.

Changes:
- Remove all /api/data and /api/metadata server endpoints
- Remove Supabase configuration from nuxt.config.ts and .env.example
- Remove @supabase/supabase-js dependency from package.json
- Delete data analysis pages: explorer, metadatos, rawExplorer, panorama,
  comparativa-cosechas, informe-ingresos
- Simplify sidebar navigation to show only "Inicio"
- Update home page to focus on authentication and profile management
- Remove "Supabase" and "Solo lectura" badges from navbar
- Keep only auth-related API endpoints: /api/auth/status and /api/auth/check-group

The application now serves as an authentication-protected portal with:
- Authentik SSO integration
- User profile management
- Settings and notifications pages (coming soon)
- No database or data analysis features
2025-10-13 13:37:52 -06:00
1baa4de990 Remove legacy authentication and PostgreSQL configuration
All checks were successful
build-and-deploy / build (push) Successful in 56s
build-and-deploy / deploy (push) Successful in 4s
- Remove obsolete auth middleware references from settings and notifications pages
- Clean up .env.example: remove unused PostgreSQL and PostgREST variables
- Delete POSTGRES_SETUP.md: outdated documentation for removed services
- App now uses Supabase directly instead of local PostgreSQL+PostgREST
- Authentication is handled entirely by Authentik Forward Auth at Traefik level
2025-10-13 13:27:22 -06:00
d32b3e8db3 feat: migrar a useAuthentik y configurar CI/CD con Gitea Actions
Some checks failed
build-and-deploy / build (push) Failing after 6s
build-and-deploy / deploy (push) Has been skipped
deploy-analiticaNucleo / deploy (push) Failing after 2s
- Migrar de useAuth() a useAuthentik() para autenticación SSR
- Actualizar componentes UserMenu, AppSidebar y profile.vue
- Configurar docker-compose.yml con variables dinámicas
- Agregar Gitea Actions workflow para build y deploy automático
- Implementar hook de monitoreo de Gitea Actions
- Configurar secrets y variables para deploy seguro
- Actualizar configuración de Traefik con Authentik Forward Auth
2025-10-13 11:25:40 -06:00
16cef018b5 logout e integracion con authentik completa
All checks were successful
deploy-analiticaNucleo / deploy (push) Successful in 36s
2025-10-05 17:08:53 -06:00
053501a16d mejoras de ui UX demasido intensas 2025-10-01 07:44:14 -06:00
32b10e1ad6 mejoras ui/ux 2025-10-01 06:51:39 -06:00
c4719d95cc sper mejoras de UI 2025-10-01 05:39:26 -06:00
d4f6333812 mejora ui x exageradas 2025-10-01 05:04:00 -06:00
9bd96e6d69 ui?ux mejorada, comparativa cosecha-cosecha 2025-10-01 03:51:18 -06:00
bf370de372 cambio heavys 2025-10-01 03:11:10 -06:00
a2eae3e2bf graficas meh. pueden mejorar, pueden desaparecer 2025-10-01 02:19:29 -06:00
19a77bc69c mejroas ui/ux cuentas-cliente 2025-10-01 01:29:54 -06:00
b8d0c67659 mejoras UX exquisitas 2025-10-01 00:15:06 -06:00
47e42ec985 cuenta-cliente tabla pro implementada 2025-09-30 23:07:09 -06:00
d70be45e0d mejoras UI/UX potentes 2025-09-30 20:26:29 -06:00
3bbb20ea27 database view dinamico y personalizado completo 2025-09-30 20:16:53 -06:00
a1be886cb4 cuenta-cliente en proceso 2025-09-30 16:15:57 -06:00
aeaf30d1d1 mejoras ui/Ux y refactorizacion del selector rapido de dateRange 2025-09-30 15:47:03 -06:00
270dc5f0bd ui/ux panorama facturador 2 2025-09-30 15:13:19 -06:00
b3f8a87dd8 ui/ux panorama facturador 2025-09-30 15:13:08 -06:00
54875fca7b typescript fixes 2025-09-30 14:09:12 -06:00
0fd6e50d7a panorama facturador terminado 2025-09-30 13:55:15 -06:00
a5941c4a43 panorama facturador mejoras UI/UX 2025-09-30 13:44:12 -06:00
b171fbdb21 pagina panorama facturador en camino 2025-09-30 03:22:18 -06:00
1cf09ee640 fix 2025-09-30 02:02:56 -06:00
a346e30777 listo carga de datos en localstorage 2025-09-30 01:40:21 -06:00
ab920c355a count basado en datos en memoria, ya no cuenta de manera automatica. metadatosCard puede cargar los datos de la tabla 2025-09-29 22:37:25 -06:00
c531a745fe manejo offline de los datos 2025-09-29 21:18:29 -06:00
b5e39cfa45 refactoring 2025-09-29 20:57:27 -06:00
7d4af71183 UI layout establecido 2025-09-29 19:59:45 -06:00
9a6b778f54 pwa configuration lista 2025-09-29 19:25:23 -06:00
f4621a0b70 nuxtUI implementado 2025-09-29 15:05:32 -06:00