modcomms/frontend/components
michael c07c66a583 Connect frontend to PostgreSQL database via API
- Replace all localStorage-based state management with API calls
- Load campaigns, proofs, and audit items from database
- Persist proof analysis results to database via WebSocket
- Add dropdown options CRUD API endpoints (channels, sub-channels, proof types)
- Create DropdownRepository for managing dropdown options
- Update Analytics component to fetch data from API
- Remove demo data and localStorage persistence code

Frontend changes:
- App.tsx: Initialize apiService with MSAL, use API for all CRUD operations
- apiService.ts: Add dropdown options API methods
- Analytics.tsx: Fetch stats from /api/analytics

Backend changes:
- New dropdown_repository.py for dropdown CRUD
- routes.py: Add 7 dropdown endpoints

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 13:50:37 -06:00
..
icons permissions changes 2025-12-18 16:51:27 +00:00
Analytics.tsx Connect frontend to PostgreSQL database via API 2025-12-18 13:50:37 -06:00
AssetPreview.tsx permissions changes 2025-12-18 16:51:27 +00:00
AssetUpload.tsx permissions changes 2025-12-18 16:51:27 +00:00
Auditing.tsx permissions changes 2025-12-18 16:51:27 +00:00
Campaigns.tsx permissions changes 2025-12-18 16:51:27 +00:00
ChecksOverview.tsx permissions changes 2025-12-18 16:51:27 +00:00
CopyGenAI.tsx permissions changes 2025-12-18 16:51:27 +00:00
CreateCampaignModal.tsx permissions changes 2025-12-18 16:51:27 +00:00
CreateProjectModal.tsx permissions changes 2025-12-18 16:51:27 +00:00
FeedbackReport.tsx permissions changes 2025-12-18 16:51:27 +00:00
Header.tsx permissions changes 2025-12-18 16:51:27 +00:00
Hero.tsx permissions changes 2025-12-18 16:51:27 +00:00
LoadingVisual.tsx permissions changes 2025-12-18 16:51:27 +00:00
Login.tsx Add MSAL debug logging to frontend and backend 2025-12-18 13:11:30 -06:00
PDFReport.tsx permissions changes 2025-12-18 16:51:27 +00:00
Profile.tsx permissions changes 2025-12-18 16:51:27 +00:00
Projects.tsx permissions changes 2025-12-18 16:51:27 +00:00
ProofPreview.tsx permissions changes 2025-12-18 16:51:27 +00:00
ProofTypeManager.tsx permissions changes 2025-12-18 16:51:27 +00:00
Settings.tsx permissions changes 2025-12-18 16:51:27 +00:00
Sidebar.tsx Display actual user name in sidebar from MSAL 2025-12-18 13:23:28 -06:00
StatusDashboard.tsx permissions changes 2025-12-18 16:51:27 +00:00
ToggleSwitch.tsx permissions changes 2025-12-18 16:51:27 +00:00
WIPReviewer.tsx permissions changes 2025-12-18 16:51:27 +00:00