Adrian Flores Cortes
891689a4f4
[SPRINT-2] feat: Complete Portfolio, MLM and Goals UI modules
...
## ST-2.1 Portfolio UI (5 SP)
- Add CategoryDetailPage for category details and products
- Add ProductDetailPage with variants and prices management
- Add ProductFormPage for create/edit products
- Add 7 components: CategoryTree, CategoryForm, ProductCard, ProductForm,
VariantList, PriceTable, ProductFilters
- Add Portfolio link to sidebar
## ST-2.2 MLM UI (8 SP)
- Add NodesPage with filters and status management
- Add 8 components: NetworkTree, StructureCard, NodeCard, RankBadge,
NodeStatusBadge, MLMStatsCard, DownlineList, CommissionsSummary
- Complete MLM navigation structure
## ST-2.3 Goals UI (8 SP)
- Add AssignmentsPage for goal assignments list
- Add DefinitionFormPage for create/edit goal definitions
- Add 9 components: GoalProgressBar, GoalCard, GoalAssignmentCard,
GoalFilters, GoalForm, ProgressLogList, ProgressLogForm, GoalsKPIGrid
- Complete Goals navigation with all routes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 20:10:38 -06:00
Adrian Flores Cortes
193b26f6f1
[SPRINT-1] feat: Complete RBAC, Audit and Notifications frontend modules
...
## ST-1.1 RBAC Frontend (5 SP)
- Add RoleDetailPage for create/edit roles
- Add PermissionsPage to list all permissions
- Add RoleCard, RoleForm, PermissionsMatrix components
- Add routes: /rbac/roles/new, /rbac/roles/:id, /rbac/permissions
- Add sidebar navigation item
## ST-1.2 Audit Complete (3 SP)
- Enhance AuditFilters with user filter and search
- Add Recharts graphs to AuditStatsCard (activity trend, action distribution)
- Add period selector (7/14/30 days)
- Add most active users section
## ST-1.3 Notifications Complete (3 SP)
- Add TemplatesPage for CRUD notification templates
- Add TemplateCard, TemplateForm, TemplatePreview components
- Add ChannelConfig component for channel toggles
- Extend notifications API with template endpoints
- Extend useNotifications hook with template queries
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 19:58:31 -06:00
Adrian Flores Cortes
08b1dec305
feat(frontend): Add Notifications page and complete RBAC routing
...
- Add useNotifications hook with queries and mutations
- Create NotificationsPage with list, preferences, and pagination
- Add notifications/index.ts barrel export
- Add rbac/index.ts barrel export (RolesPage already exists)
- Add routes for /dashboard/notifications and /dashboard/rbac/roles
P0 task: Frontend for Notifications module
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:43:41 -06:00
Adrian Flores Cortes
39cf33c3e5
feat(rbac,portfolio): Add RBAC hook and Portfolio/RBAC pages
...
- Add useRbac hook with roles, permissions, and user role management
- Add RBAC API endpoints to api.ts (roles, permissions, user assignments)
- Add RolesPage for managing roles and viewing permissions
- Add PortfolioPage dashboard with stats and quick links
- Add ProductsPage with search, filters, and pagination
- Add CategoriesPage with tree view and expand/collapse
- Fix useMyEarnings export conflict between useMlm and useCommissions
- Export useMyCommissionEarnings as alias to avoid naming conflict
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 13:05:05 -06:00
Adrian Flores Cortes
2bfd90cdff
[TASK-007] feat: P1 complete - MLM and Goals UI modules
...
## T-02.1: MLM Structure Pages (4 pages)
- MLMPage.tsx - Dashboard
- StructuresPage.tsx - List structures
- RanksPage.tsx - Manage ranks
- MyNetworkPage.tsx - User network view
## T-02.2: MLM Detail Pages (3 pages)
- StructureDetailPage.tsx
- NodeDetailPage.tsx
- MyEarningsPage.tsx
## T-02.3: Goals Structure Pages (3 pages)
- GoalsPage.tsx - Dashboard
- DefinitionsPage.tsx - Create/edit goals
- MyGoalsPage.tsx - User's assigned goals
## T-02.4: Goals Detail Pages (3 pages)
- GoalDetailPage.tsx
- AssignmentDetailPage.tsx
- ReportsPage.tsx
## T-02.5 & T-02.6: Route Integration
- router/index.tsx: Added 13 new routes with lazy loading
- DashboardLayout.tsx: Added MLM and Goals to sidebar nav
Total: 13 new pages, 13 new routes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 12:53:56 -06:00
Adrian Flores Cortes
36ee5213c5
[SAAS-018/020] feat: Add Sales and Commissions frontend modules
...
Sales Frontend (Sprint 2):
- Add services: leads, opportunities, activities, pipeline, dashboard APIs
- Add hooks: useSales with React Query integration
- Add pages: SalesPage, LeadsPage, LeadDetailPage, OpportunitiesPage, OpportunityDetailPage, ActivitiesPage
- Integrate routes in main router
Commissions Frontend (Sprint 4):
- Add services: schemes, entries, periods, assignments, dashboard APIs
- Add hooks: useCommissions with React Query integration
- Add pages: CommissionsPage, SchemesPage, EntriesPage, PeriodsPage, MyEarningsPage
- Integrate routes in main router
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 22:50:11 -06:00
eb95d0e276
Initial commit - Frontend de template-saas migrado desde monorepo
...
Migración desde workspace-v2/projects/template-saas/apps/frontend
Este repositorio es parte del estándar multi-repo v2
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 08:07:16 -06:00