Portal Implementation Plan

Scope: Fix Client Portal, Build Staff Onboarding, Build Candidate Portal Foundation: Informational only (redirects to aethex.foundation)


1. CLIENT PORTAL FIX (4 Pages)

Current State

  • ClientHub.tsx - ✅ Working (745 lines)

  • ClientDashboard.tsx - ✅ Working (709 lines)

  • ClientProjects.tsx - ✅ Working (317 lines)

  • ClientContracts.tsx - ❌ 56-line stub

  • ClientInvoices.tsx - ❌ 56-line stub

  • ClientReports.tsx - ❌ 56-line stub

  • ClientSettings.tsx - ❌ 56-line stub

Build Out

ClientContracts.tsx

Features:
- Contract list with status (Draft, Active, Completed, Expired)
- Contract details view (scope, terms, milestones)
- Document preview/download (PDF)
- E-signature integration placeholder
- Amendment history
- Filter by status/date

API: /api/corp/contracts (already exists)

ClientInvoices.tsx

ClientReports.tsx

ClientSettings.tsx


2. STAFF ONBOARDING PORTAL (New)

New Pages

StaffOnboarding.tsx - Main Hub

StaffOnboardingChecklist.tsx - Interactive Checklist

Database Schema (New)

API Endpoints (New)


3. CANDIDATE PORTAL (New)

New Pages

CandidatePortal.tsx - Dashboard

CandidateProfile.tsx - Profile Builder

CandidateApplications.tsx - Enhanced

CandidateInterviews.tsx

Database Schema (New)

API Endpoints (New)


4. FOUNDATION - INFORMATIONAL ONLY

Current State

  • Foundation.tsx - Landing page

  • FoundationDashboard.tsx - Placeholder dashboard

Changes


IMPLEMENTATION ORDER

Phase 1: Client Portal (Quick Wins)

  1. ClientContracts.tsx - Build full contract management

  2. ClientInvoices.tsx - Build full invoice management

  3. ClientReports.tsx - Build reporting dashboard

  4. ClientSettings.tsx - Build settings page

Phase 2: Candidate Portal

  1. Database migration for candidate_profiles, candidate_interviews

  2. CandidatePortal.tsx - Main dashboard

  3. CandidateProfile.tsx - Profile builder

  4. CandidateApplications.tsx - Enhanced applications

  5. CandidateInterviews.tsx - Interview management

  6. API endpoints

Phase 3: Staff Onboarding

  1. Database migration for staff_onboarding_progress

  2. StaffOnboarding.tsx - Main hub

  3. StaffOnboardingChecklist.tsx - Interactive checklist

  4. API endpoints

  5. Manager admin view

Phase 4: Foundation Cleanup

  1. Update FoundationDashboard to informational

  2. Add redirects to aethex.foundation


FILE CHANGES SUMMARY

New Files (12)

Modified Files (5)


ESTIMATED EFFORT

Component
Files
Complexity

Client Portal Fix

4

Medium

Candidate Portal

6

High

Staff Onboarding

4

Medium

Foundation Cleanup

1

Low

Total

15

Ready to implement?

Last updated