How ed-roh/react-admin-dashboard works
This is a React admin dashboard: users navigate between an overview and management, data-visualization, and utility pages. App owns the routes and shared shell; pages render their own tables, forms, calendars, FAQs, and charts. Chart components use bundled mock datasets and theme tokens, rather than a demonstrated backend or persistent store. The graph follows imports and routes in the excerpts and SOURCE INDEX; several page implementations are unsampled, so their internal behavior is not expanded.
Main entry points: App.js Routes and shell · Header.jsx Page header · components Chart components · index.jsx Dashboard overview
Components 22
Application shell
- Routes and shell
src/App.js - Theme and color mode
src/theme.js - Sidebar navigation
src/scenes/global/Sidebar.jsx - Topbar
src/scenes/global/Topbar.jsx
Admin pages
- Team directory
src/scenes/team/index.jsx - Contacts directory
src/scenes/contacts/index.jsx - Invoices
src/scenes/invoices/index.jsx - User form
src/scenes/form/index.jsx - FAQ
src/scenes/faq/index.jsx - Calendar
src/scenes/calendar/calendar.jsx
Analytics pages
- Dashboard overview
src/scenes/dashboard/index.jsx - Bar analysis
src/scenes/bar/index.jsx - Line analysis
src/scenes/line/index.jsx - Pie analysis
src/scenes/pie/index.jsx - Geography analysis
src/scenes/geography/index.jsx
Shared UI and data
- Page header
src/components/Header.jsx - Chart components
src/components - Stat box
src/components/StatBox.jsx - Progress circle
src/components/ProgressCircle.jsx - Mock dashboard data
src/data/mockData.js - Geographic features
src/data/mockGeoFeatures.js
Other components
- Dashboard user
Connections 43
- Dashboard user → Routes and shell: opens dashboard
README.md - Routes and shell → Sidebar navigation: renders
src/App.js - Routes and shell → Topbar: renders
src/App.js - Routes and shell → Theme and color mode: provides theme
src/App.js - Routes and shell → Dashboard overview: routes to
src/App.js - Routes and shell → Team directory: routes to
src/App.js - Routes and shell → Contacts directory: routes to
src/App.js - Routes and shell → Invoices: routes to
src/App.js - Routes and shell → User form: routes to
src/App.js - Routes and shell → FAQ: routes to
src/App.js - Routes and shell → Calendar: routes to
src/App.js - Routes and shell → Bar analysis: routes to
src/App.js - Routes and shell → Line analysis: routes to
src/App.js - Routes and shell → Pie analysis: routes to
src/App.js - Routes and shell → Geography analysis: routes to
src/App.js - Dashboard overview → Page header: renders
src/scenes/dashboard/index.jsx - Dashboard overview → Chart components: renders charts
src/scenes/dashboard/index.jsx - Dashboard overview → Stat box: renders
src/scenes/dashboard/index.jsx - Dashboard overview → Progress circle: renders
src/scenes/dashboard/index.jsx - Team directory → Page header: renders
src/scenes/team/index.jsx - Team directory → Mock dashboard data: reads team data
src/scenes/team/index.jsx - Contacts directory → Page header: renders
src/scenes/contacts/index.jsx - Contacts directory → Mock dashboard data: reads data
src/scenes/contacts/index.jsx - Invoices → Page header: renders
src/scenes/invoices/index.jsx - Invoices → Mock dashboard data: reads data
src/scenes/invoices/index.jsx - User form → Page header: renders
src/scenes/form/index.jsx - FAQ → Page header: renders
src/scenes/faq/index.jsx - Calendar → Page header: renders
src/scenes/calendar/calendar.jsx - Bar analysis → Page header: renders
src/scenes/bar/index.jsx - Bar analysis → Chart components: renders chart
src/scenes/bar/index.jsx - Line analysis → Page header: renders
src/scenes/line/index.jsx - Line analysis → Chart components: renders chart
src/scenes/line/index.jsx - Pie analysis → Page header: renders
src/scenes/pie/index.jsx - Pie analysis → Chart components: renders chart
src/scenes/pie/index.jsx - Geography analysis → Page header: renders
src/scenes/geography/index.jsx - Geography analysis → Chart components: renders map
src/scenes/geography/index.jsx - Chart components → Mock dashboard data: uses datasets
src/components/BarChart.jsx - Chart components → Geographic features: uses features
src/components/GeographyChart.jsx - Chart components → Theme and color mode: reads color tokens
src/components/BarChart.jsx - Page header → Theme and color mode: reads color tokens
src/components/Header.jsx - Stat box → Progress circle: renders
src/components/StatBox.jsx - Sidebar navigation → Theme and color mode: reads color tokens
src/scenes/global/Sidebar.jsx - Topbar → Theme and color mode: reads color tokens
src/scenes/global/Topbar.jsx