How charan-2006/skyhigh_cil-imin works
CarbonCortex in this repository is a React dashboard MVP for coal-quality and mining decisions, with mock-integrated workflows rather than live prediction services. An operator enters through the routed UI, signs in for protected pages, and can review analytics or use prediction, blending, decision, and scenario screens. Reports and settings are also exposed. The README describes planned ML, trust-routing, lab-feedback, integrations, and automated reporting capabilities, but no backend or data-pipeline source appears in the tree; those capabilities are not represented as implemented components here.
Main entry points: App.tsx Route App · mockData.ts Mock Metrics and Records · DashboardPage.tsx Executive Dashboard · CoalQualityPredictionPage.tsx Quality Prediction
Components 20
App and Access
- UI Entry
src/main.tsx - Route App
src/App.tsx - Sign In
src/pages/LoginPage.tsx - Route Guard
src/components/auth/ProtectedRoute.tsx
Mining Workflows
- Landing Page
src/pages/LandingPage.tsx - Executive Dashboard
src/pages/DashboardPage.tsx - Quality Prediction
src/pages/CoalQualityPredictionPage.tsx - Blend Optimization
src/pages/BlendOptimizationPage.tsx - Decision Intelligence
src/pages/DecisionIntelligencePage.tsx - Scenario Simulation
src/pages/ScenarioSimulatorPage.tsx - Reports
src/pages/ReportsPage.tsx - Settings
src/pages/SettingsPage.tsx
Dashboard Presentation
- App Layout
src/components/layout/AppLayout.tsx - Sidebar and Topbar
src/components/layout/Sidebar.tsx - Charts and Confidence Views
src/components/charts/ChartComponents.tsx - Page and Metric Components
src/components/common - UI Components
src/components/ui
Mock Data and Auth
- Session Auth
src/lib/auth.ts - Mock Metrics and Records
src/data/mockData.ts
Other components
- Operator
Connections 29
- Operator → UI Entry: opens
src/main.tsx - UI Entry → Route App: renders
src/main.tsx - Route App → Landing Page: routes to
src/App.tsx - Route App → Sign In: routes to
src/App.tsx - Route App → Route Guard: protects routes
src/App.tsx - Route App → App Layout: mounts
src/App.tsx - Route App → Executive Dashboard: routes to
src/App.tsx - Route App → Quality Prediction: routes to
src/App.tsx - Route App → Blend Optimization: routes to
src/App.tsx - Route App → Decision Intelligence: routes to
src/App.tsx - Route App → Scenario Simulation: routes to
src/App.tsx - Route App → Reports: routes to
src/App.tsx - Route App → Settings: routes to
src/App.tsx - Route Guard → Session Auth: checks session
src/components/auth/ProtectedRoute.tsx - Sign In → Session Auth: updates session
src/pages/LoginPage.tsx - App Layout → Sidebar and Topbar: renders
src/components/layout/AppLayout.tsx - Executive Dashboard → Mock Metrics and Records: reads
src/pages/DashboardPage.tsx - Quality Prediction → Charts and Confidence Views: renders confidence
src/pages/CoalQualityPredictionPage.tsx - Quality Prediction → Mock Metrics and Records: reads
src/pages/CoalQualityPredictionPage.tsx - Executive Dashboard → Charts and Confidence Views: renders charts
src/pages/DashboardPage.tsx - Blend Optimization → Charts and Confidence Views: renders charts
src/pages/BlendOptimizationPage.tsx - Blend Optimization → Mock Metrics and Records: reads
src/pages/BlendOptimizationPage.tsx - Decision Intelligence → Mock Metrics and Records: reads
src/pages/DecisionIntelligencePage.tsx - Scenario Simulation → Charts and Confidence Views: renders scenarios
src/pages/ScenarioSimulatorPage.tsx - Reports → Mock Metrics and Records: reads
src/pages/ReportsPage.tsx - Settings → Mock Metrics and Records: reads
src/pages/SettingsPage.tsx - Executive Dashboard → Page and Metric Components: uses
src/pages/DashboardPage.tsx - Quality Prediction → Page and Metric Components: uses
src/pages/CoalQualityPredictionPage.tsx - Landing Page → UI Components: uses
src/pages/LandingPage.tsx