Commit Graph

12 Commits

Author SHA1 Message Date
Adrian Flores Cortes
fdc75d18b9 [TASK-030/031] docs: Fix status inconsistency in ET specs
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- ET-SAAS-015-oauth.md: Changed Estado from Propuesto to Implementado
- ET-SAAS-016-analytics.md: Changed Estado from Propuesto to Implementado

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 22:48:34 -06:00
Adrian Flores Cortes
114b81ba57 [TASK-030/031] docs: Update OAuth and Analytics status to Completed/Implemented
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- SAAS-015 OAuth: Specified -> Completed (already implemented)
- SAAS-016 Analytics: Specified -> Completed (already implemented)
- ET-SAAS-015: Proposed -> Implemented
- ET-SAAS-016: Proposed -> Implemented

Backend implementation verified:
- OAuth: 799 lines (controller + service)
- Analytics: 513 lines with full metrics

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 22:35:57 -06:00
Adrian Flores Cortes
6c28896001 [TASK-2026-01-24-DOC] docs: Update vision general to reflect all 22 modules
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Updated README.md with complete module count (22 vs 12)
- Updated VISION-TEMPLATE-SAAS.md with full module listing
- Updated _INDEX.md to include modules SAAS-015 to SAAS-022
- Added categories: Core, Communication, Integration, Extended

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 22:25:34 -06:00
Adrian Flores Cortes
3b654a34c8 [TASK-2026-01-24] docs: Add ET-SAAS-015, ET-SAAS-016, ET-SAAS-017 technical specs
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
2026-01-24 22:09:40 -06:00
Adrian Flores Cortes
a6489b0caf [TASK-2026-01-24] docs: Add SAAS-015, SAAS-016, SAAS-017 specifications
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
2026-01-24 22:01:59 -06:00
Adrian Flores Cortes
529ea53b5e [SAAS-018] feat: Complete Sales Foundation module implementation
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
## Backend (NestJS)
- Entities: Lead, Opportunity, PipelineStage, Activity with TypeORM
- Services: LeadsService, OpportunitiesService, PipelineService, ActivitiesService, SalesDashboardService
- Controllers: LeadsController, OpportunitiesController, PipelineController, ActivitiesController, DashboardController
- DTOs: Full set of Create/Update/Convert DTOs with validation
- Tests: 5 test suites with comprehensive coverage

## Frontend (React)
- Pages: /sales, /sales/leads, /sales/leads/[id], /sales/opportunities, /sales/opportunities/[id], /sales/activities
- Components: SalesDashboard, ConversionFunnel, LeadsList, LeadForm, LeadCard, PipelineBoard, OpportunityCard, OpportunityForm, ActivityTimeline, ActivityForm
- Hooks: useLeads, useOpportunities, usePipeline, useActivities, useSalesDashboard
- Services: leads.api, opportunities.api, activities.api, pipeline.api, dashboard.api

## Documentation
- Updated SAAS-018-sales.md with implementation details
- Updated MASTER_INVENTORY.yml - status changed from specified to completed

Story Points: 21
Sprint: 6 - Sales Foundation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 20:49:59 -06:00
Adrian Flores Cortes
806612a4db [REESTRUCTURA-DOCS] refactor: Corregir estructura docs/ segun SIMCO-DOCUMENTACION-PROYECTO
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Renombrar 02-integraciones/ → 03-integraciones/ (resolver prefijo duplicado)
- Renombrar 02-devops/ → 04-devops/ (resolver prefijo duplicado)
- Renombrar architecture/ → 97-adr/ (agregar prefijo numerico)
- Actualizar _MAP.md con nueva estructura y version 2.1.0

Estructura final:
- 00-vision-general/
- 01-modulos/
- 02-especificaciones/
- 03-integraciones/
- 04-devops/
- 97-adr/

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 20:34:14 -06:00
Adrian Flores Cortes
7d05081b4d [SAAS-018-022] docs: Add specifications for advanced modules
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Add complete specifications for 5 advanced modules:
- SAAS-018 Sales Foundation (21 SP) - Leads, opportunities, pipeline
- SAAS-019 Portfolio (13 SP) - Product/service catalog
- SAAS-020 Commissions (13 SP) - Commission system for salespeople
- SAAS-021 MLM (21 SP) - Multi-level marketing networks
- SAAS-022 Goals (13 SP) - Goals and objectives tracking

Each specification includes:
- Complete DDL with RLS policies
- Full API endpoint documentation
- Frontend pages and components
- Dependencies and integration points
- Story point estimates

Total new SP: 81 (bringing total to 260 SP)
Core modules: 14 (100% complete)
Advanced modules: 5 (specified, ready for implementation)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 20:12:07 -06:00
50a821a415 [SIMCO-V38] feat: Actualizar a SIMCO v3.8.0
Some checks failed
CI / Backend CI (push) Has been cancelled
CI / Frontend CI (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / CI Summary (push) Has been cancelled
- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8
- Actualizaciones de configuracion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 08:53:08 -06:00
68d3c54023 docs(ai): Update documentation and fix DDL scripts
Documentation:
- Update SAAS-006-ai-integration.md with full implementation details
- Update _MAP.md with AI schema (30 tables, 11 schemas)
- Update PROJECT-STATUS.md (67% completion)

Database fixes:
- Add update_updated_at_column() function to 03-functions.sql
- Add trigger creation for ai.configs in 03-functions.sql
- Fix partial index in 02-ai-usage.sql (remove CURRENT_DATE)
- Add AI schema grants to create-database.sh
- Add AI to SCHEMA_ORDER array

Validated: Database recreation successful with all AI objects

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 07:21:56 -06:00
4dafffa386 feat: Add superadmin metrics, onboarding and module documentation
- Add MetricsPage and useOnboarding hook
- Update superadmin controller and service
- Add module documentation (docs/01-modulos/)
- Add CONTEXT-MAP.yml and Sprint 5 execution report
- Update project status and task traces

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 05:40:26 -06:00
26f0e52ca7 feat: Initial commit - template-saas
Template base para proyectos SaaS multi-tenant.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React/Vite)
- apps/database (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:24 -06:00