diff --git a/client/App.tsx b/client/App.tsx index 87263cf5..e77ad1d1 100644 --- a/client/App.tsx +++ b/client/App.tsx @@ -133,10 +133,10 @@ import MyApplications from "./pages/profile/MyApplications"; import ClientHub from "./pages/hub/ClientHub"; import ClientProjects from "./pages/hub/ClientProjects"; import ClientDashboard from "./pages/hub/ClientDashboard"; -// import ClientInvoices from "./pages/hub/ClientInvoices"; -// import ClientContracts from "./pages/hub/ClientContracts"; -// import ClientReports from "./pages/hub/ClientReports"; -// import ClientSettings from "./pages/hub/ClientSettings"; +import ClientInvoices from "./pages/hub/ClientInvoices"; +import ClientContracts from "./pages/hub/ClientContracts"; +import ClientReports from "./pages/hub/ClientReports"; +import ClientSettings from "./pages/hub/ClientSettings"; import Space1Welcome from "./pages/internal-docs/Space1Welcome"; import Space1AxiomModel from "./pages/internal-docs/Space1AxiomModel"; import Space1FindYourRole from "./pages/internal-docs/Space1FindYourRole"; @@ -161,14 +161,14 @@ import StaffAdmin from "./pages/StaffAdmin"; import StaffChat from "./pages/StaffChat"; import StaffDocs from "./pages/StaffDocs"; import StaffAchievements from "./pages/StaffAchievements"; -// import StaffAnnouncements from "./pages/staff/StaffAnnouncements"; -// import StaffExpenseReports from "./pages/staff/StaffExpenseReports"; -// import StaffInternalMarketplace from "./pages/staff/StaffInternalMarketplace"; -// import StaffKnowledgeBase from "./pages/staff/StaffKnowledgeBase"; -// import StaffLearningPortal from "./pages/staff/StaffLearningPortal"; -// import StaffPerformanceReviews from "./pages/staff/StaffPerformanceReviews"; -// import StaffProjectTracking from "./pages/staff/StaffProjectTracking"; -// import StaffTeamHandbook from "./pages/staff/StaffTeamHandbook"; +import StaffAnnouncements from "./pages/staff/StaffAnnouncements"; +import StaffExpenseReports from "./pages/staff/StaffExpenseReports"; +import StaffInternalMarketplace from "./pages/staff/StaffInternalMarketplace"; +import StaffKnowledgeBase from "./pages/staff/StaffKnowledgeBase"; +import StaffLearningPortal from "./pages/staff/StaffLearningPortal"; +import StaffPerformanceReviews from "./pages/staff/StaffPerformanceReviews"; +import StaffProjectTracking from "./pages/staff/StaffProjectTracking"; +import StaffTeamHandbook from "./pages/staff/StaffTeamHandbook"; import DeveloperDashboard from "./pages/dev-platform/DeveloperDashboard"; import ApiReference from "./pages/dev-platform/ApiReference"; import QuickStart from "./pages/dev-platform/QuickStart"; @@ -513,7 +513,7 @@ const App = () => ( path="/staff/announcements" element={ -
Coming Soon
+
} /> @@ -521,7 +521,7 @@ const App = () => ( path="/staff/expense-reports" element={ -
Coming Soon
+
} /> @@ -529,7 +529,7 @@ const App = () => ( path="/staff/marketplace" element={ -
Coming Soon
+
} /> @@ -537,7 +537,7 @@ const App = () => ( path="/staff/knowledge-base" element={ -
Coming Soon
+
} /> @@ -545,7 +545,7 @@ const App = () => ( path="/staff/learning-portal" element={ -
Coming Soon
+
} /> @@ -553,7 +553,7 @@ const App = () => ( path="/staff/performance-reviews" element={ -
Coming Soon
+
} /> @@ -561,7 +561,7 @@ const App = () => ( path="/staff/project-tracking" element={ -
Coming Soon
+
} /> @@ -569,7 +569,7 @@ const App = () => ( path="/staff/team-handbook" element={ -
Coming Soon
+
} /> @@ -652,7 +652,7 @@ const App = () => ( path="/hub/client/invoices" element={ -
Coming Soon
+
} /> @@ -660,7 +660,7 @@ const App = () => ( path="/hub/client/contracts" element={ -
Coming Soon
+
} /> @@ -668,7 +668,7 @@ const App = () => ( path="/hub/client/reports" element={ -
Coming Soon
+
} /> @@ -676,7 +676,7 @@ const App = () => ( path="/hub/client/settings" element={ -
Coming Soon
+
} /> diff --git a/client/pages/admin/AdminAnalytics.tsx b/client/pages/admin/AdminAnalytics.tsx index 1dd811a6..b65cf0db 100644 --- a/client/pages/admin/AdminAnalytics.tsx +++ b/client/pages/admin/AdminAnalytics.tsx @@ -29,7 +29,7 @@ import { ArrowUpRight, ArrowDownRight, } from "lucide-react"; -import { useAuth } from "@/lib/auth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface Analytics { diff --git a/client/pages/admin/AdminModeration.tsx b/client/pages/admin/AdminModeration.tsx index 638aa086..8f92054f 100644 --- a/client/pages/admin/AdminModeration.tsx +++ b/client/pages/admin/AdminModeration.tsx @@ -42,7 +42,7 @@ import { Ban, AlertCircle, } from "lucide-react"; -import { useAuth } from "@/lib/auth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface Report { diff --git a/client/pages/candidate/CandidateInterviews.tsx b/client/pages/candidate/CandidateInterviews.tsx index f7fe98d3..d5365cc6 100644 --- a/client/pages/candidate/CandidateInterviews.tsx +++ b/client/pages/candidate/CandidateInterviews.tsx @@ -32,7 +32,7 @@ import { XCircle, AlertCircle, } from "lucide-react"; -import { useAuth } from "@/hooks/useAuth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; diff --git a/client/pages/candidate/CandidateOffers.tsx b/client/pages/candidate/CandidateOffers.tsx index cfce1f35..9f41fbc3 100644 --- a/client/pages/candidate/CandidateOffers.tsx +++ b/client/pages/candidate/CandidateOffers.tsx @@ -40,7 +40,7 @@ import { AlertTriangle, ExternalLink, } from "lucide-react"; -import { useAuth } from "@/hooks/useAuth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface Offer { diff --git a/client/pages/candidate/CandidatePortal.tsx b/client/pages/candidate/CandidatePortal.tsx index 95afebd1..4814da58 100644 --- a/client/pages/candidate/CandidatePortal.tsx +++ b/client/pages/candidate/CandidatePortal.tsx @@ -29,7 +29,7 @@ import { Gift, TrendingUp, } from "lucide-react"; -import { useAuth } from "@/hooks/useAuth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface ProfileData { diff --git a/client/pages/candidate/CandidateProfile.tsx b/client/pages/candidate/CandidateProfile.tsx index b4369f8b..18872031 100644 --- a/client/pages/candidate/CandidateProfile.tsx +++ b/client/pages/candidate/CandidateProfile.tsx @@ -37,7 +37,7 @@ import { Save, CheckCircle2, } from "lucide-react"; -import { useAuth } from "@/hooks/useAuth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface WorkHistory { diff --git a/client/pages/hub/ClientContracts.tsx b/client/pages/hub/ClientContracts.tsx index d936fb00..014e6a50 100644 --- a/client/pages/hub/ClientContracts.tsx +++ b/client/pages/hub/ClientContracts.tsx @@ -166,7 +166,7 @@ export default function ClientContracts() { - + {/* Filters */}
diff --git a/client/pages/hub/ClientInvoices.tsx b/client/pages/hub/ClientInvoices.tsx index 40ac5cfc..d4f319fc 100644 --- a/client/pages/hub/ClientInvoices.tsx +++ b/client/pages/hub/ClientInvoices.tsx @@ -210,7 +210,7 @@ export default function ClientInvoices() {
- + {/* Filters */}
diff --git a/client/pages/hub/ClientReports.tsx b/client/pages/hub/ClientReports.tsx index cdd385f4..b71b824d 100644 --- a/client/pages/hub/ClientReports.tsx +++ b/client/pages/hub/ClientReports.tsx @@ -203,61 +203,76 @@ export default function ClientReports() {
- - - -

- Detailed project reports and analytics coming soon -

- +
+
+ ) : ( + projects.map((project) => ( + + +
+
+ {project.title} + + {new Date(project.start_date).toLocaleDateString()} - {new Date(project.end_date).toLocaleDateString()} + +
+ + {project.status} + +
+
+ +
+
+

Progress

+

{project.progress}%

+
+
+

Budget Spent

+

+ ${(project.budget_spent / 1000).toFixed(0)}k / ${(project.budget_total / 1000).toFixed(0)}k +

+
+
+

Hours Logged

+

+ {project.hours_logged} / {project.hours_estimated} +

+
+
+

Team Size

+

{project.team_size}

+
+
+ +
+
+ )) + )} + {/* Budget Analysis Tab */} @@ -318,6 +333,8 @@ export default function ClientReports() { +
+
diff --git a/client/pages/hub/ClientSettings.tsx b/client/pages/hub/ClientSettings.tsx index d5a98a27..a0bc25fa 100644 --- a/client/pages/hub/ClientSettings.tsx +++ b/client/pages/hub/ClientSettings.tsx @@ -284,24 +284,33 @@ export default function ClientSettings() {
- - - -

- Account settings and preferences coming soon -

- -
-
- + + + Profile + Team + Notifications + Billing + Security + + + + + +

+ Account settings and preferences coming soon +

+ +
+
+
- {/* Team Tab */} - + {/* Team Tab */} + Team Members @@ -555,6 +564,8 @@ export default function ClientSettings() {
+
+
diff --git a/client/pages/staff/StaffAnnouncements.tsx b/client/pages/staff/StaffAnnouncements.tsx index 807bdfa8..77710aa7 100644 --- a/client/pages/staff/StaffAnnouncements.tsx +++ b/client/pages/staff/StaffAnnouncements.tsx @@ -11,7 +11,7 @@ import { } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Bell, Pin, Loader2, Eye, EyeOff } from "lucide-react"; -import { useAuth } from "@/hooks/useAuth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface Announcement { diff --git a/client/pages/staff/StaffExpenseReports.tsx b/client/pages/staff/StaffExpenseReports.tsx index eb7e2da8..54d377dc 100644 --- a/client/pages/staff/StaffExpenseReports.tsx +++ b/client/pages/staff/StaffExpenseReports.tsx @@ -10,7 +10,7 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@ import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from "@/components/ui/dialog"; import { Textarea } from "@/components/ui/textarea"; import { DollarSign, FileText, Calendar, CheckCircle, AlertCircle, Plus, Loader2 } from "lucide-react"; -import { useAuth } from "@/hooks/useAuth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface Expense { diff --git a/client/pages/staff/StaffInternalMarketplace.tsx b/client/pages/staff/StaffInternalMarketplace.tsx index ad6f5317..5abf4edf 100644 --- a/client/pages/staff/StaffInternalMarketplace.tsx +++ b/client/pages/staff/StaffInternalMarketplace.tsx @@ -21,7 +21,7 @@ import { Coins, } from "lucide-react"; import { Input } from "@/components/ui/input"; -import { useAuth } from "@/lib/auth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; import { Dialog, diff --git a/client/pages/staff/StaffKnowledgeBase.tsx b/client/pages/staff/StaffKnowledgeBase.tsx index f820f21f..f6ffbfa0 100644 --- a/client/pages/staff/StaffKnowledgeBase.tsx +++ b/client/pages/staff/StaffKnowledgeBase.tsx @@ -24,7 +24,7 @@ import { ThumbsUp, Eye, } from "lucide-react"; -import { useAuth } from "@/lib/auth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface KnowledgeArticle { diff --git a/client/pages/staff/StaffLearningPortal.tsx b/client/pages/staff/StaffLearningPortal.tsx index 65fc37fa..259ff2ae 100644 --- a/client/pages/staff/StaffLearningPortal.tsx +++ b/client/pages/staff/StaffLearningPortal.tsx @@ -21,7 +21,7 @@ import { CheckCircle, Loader2, } from "lucide-react"; -import { useAuth } from "@/lib/auth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface Course { diff --git a/client/pages/staff/StaffOKRs.tsx b/client/pages/staff/StaffOKRs.tsx index 0ca432eb..647c20f0 100644 --- a/client/pages/staff/StaffOKRs.tsx +++ b/client/pages/staff/StaffOKRs.tsx @@ -37,7 +37,7 @@ import { ChevronUp, Trash2, } from "lucide-react"; -import { useAuth } from "@/lib/auth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface KeyResult { diff --git a/client/pages/staff/StaffOnboarding.tsx b/client/pages/staff/StaffOnboarding.tsx index 1529a832..e226f4ee 100644 --- a/client/pages/staff/StaffOnboarding.tsx +++ b/client/pages/staff/StaffOnboarding.tsx @@ -27,7 +27,7 @@ import { Coffee, Loader2, } from "lucide-react"; -import { useAuth } from "@/hooks/useAuth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface OnboardingData { diff --git a/client/pages/staff/StaffOnboardingChecklist.tsx b/client/pages/staff/StaffOnboardingChecklist.tsx index d37ad355..e9c47a32 100644 --- a/client/pages/staff/StaffOnboardingChecklist.tsx +++ b/client/pages/staff/StaffOnboardingChecklist.tsx @@ -27,7 +27,7 @@ import { Briefcase, Target, } from "lucide-react"; -import { useAuth } from "@/hooks/useAuth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface ChecklistItem { diff --git a/client/pages/staff/StaffPerformanceReviews.tsx b/client/pages/staff/StaffPerformanceReviews.tsx index a00c3056..385e2877 100644 --- a/client/pages/staff/StaffPerformanceReviews.tsx +++ b/client/pages/staff/StaffPerformanceReviews.tsx @@ -20,7 +20,7 @@ import { Users, Loader2, } from "lucide-react"; -import { useAuth } from "@/lib/auth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; import { Dialog, diff --git a/client/pages/staff/StaffProjectTracking.tsx b/client/pages/staff/StaffProjectTracking.tsx index 2aab2d49..50181445 100644 --- a/client/pages/staff/StaffProjectTracking.tsx +++ b/client/pages/staff/StaffProjectTracking.tsx @@ -19,7 +19,7 @@ import { Plus, Calendar, } from "lucide-react"; -import { useAuth } from "@/lib/auth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; import { Dialog, diff --git a/client/pages/staff/StaffTeamHandbook.tsx b/client/pages/staff/StaffTeamHandbook.tsx index be2dca31..e92e7cb2 100644 --- a/client/pages/staff/StaffTeamHandbook.tsx +++ b/client/pages/staff/StaffTeamHandbook.tsx @@ -22,7 +22,7 @@ import { ChevronDown, ChevronUp, } from "lucide-react"; -import { useAuth } from "@/lib/auth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface HandbookSection { diff --git a/client/pages/staff/StaffTimeTracking.tsx b/client/pages/staff/StaffTimeTracking.tsx index 50627e65..7088690b 100644 --- a/client/pages/staff/StaffTimeTracking.tsx +++ b/client/pages/staff/StaffTimeTracking.tsx @@ -37,7 +37,7 @@ import { Trash2, Edit, } from "lucide-react"; -import { useAuth } from "@/lib/auth"; +import { useAuth } from "@/contexts/AuthContext"; import { aethexToast } from "@/components/ui/aethex-toast"; interface Project {