How munira0111/adminpanel works
Anonna Mart is a React admin dashboard UI for managing a demo e-commerce store. An administrator enters the dashboard, selects a domain view, and reviews or edits the corresponding catalog, order, customer, marketing, analytics, or store data. The sampled context initializes data from mock datasets and exposes state/actions to the views; the evidence does not show a backend or durable storage. The README documents capabilities beyond the excerpts, so those branches are represented at their documented module paths; their internal wiring is not inferred.
Main entry points: App.jsx Dashboard app · StoreContext.jsx Store state and actions · ProductListView.jsx Product catalog · OrderListView.jsx Order management
Components 22
Dashboard shell
- Dashboard app
src/App.jsx - Sidebar navigation
src/components/layout/Sidebar.jsx - Header and search
src/components/layout/TopHeader.jsx - Command search
src/components/common/SearchPalette.jsx
Commerce operations
- Product catalog
src/components/products/ProductListView.jsx - Product editor
src/components/products/AddProductModal.jsx - Order management
src/components/orders/OrderListView.jsx - Order details
src/components/orders/OrderDetailModal.jsx - Tax invoice
src/components/orders/InvoicePrintModal.jsx - Customer directory
src/components/customers/CustomerListView.jsx - Store settings
src/components/settings/StoreSettingsView.jsx
Marketing and insights
- Executive dashboard
src/components/dashboard/DashboardOverview.jsx - Dashboard charts
src/components/common/ChartComponents.jsx - Promotional center
src/components/marketing/MarketingManagement.jsx - Banner editor
src/components/marketing/BannerEditModal.jsx - Coupon creator
src/components/marketing/CreateCouponModal.jsx - Commercial analytics
src/components/analytics/DetailedAnalyticsView.jsx
Shared state and UI
- Store state and actions
src/context/StoreContext.jsx - Initial demo data
src/data/mockData.js - CSV and print helpers
src/utils/exportHelpers.js - Display formatters
src/utils/formatters.js
Other components
- Store administrator
Connections 30
- Store administrator → Dashboard app: uses
README.md - Dashboard app → Sidebar navigation: renders
src/App.jsx - Dashboard app → Header and search: renders
src/App.jsx - Dashboard app → Command search: renders
src/App.jsx - Dashboard app → Executive dashboard: routes to
src/App.jsx - Dashboard app → Product catalog: routes to
src/App.jsx - Dashboard app → Order management: routes to
src/App.jsx - Dashboard app → Customer directory: routes to
src/App.jsx - Dashboard app → Promotional center: routes to
src/App.jsx - Dashboard app → Commercial analytics: routes to
src/App.jsx - Dashboard app → Store settings: routes to
src/App.jsx - Dashboard app → Store state and actions: provides state
src/App.jsx - Dashboard app → Product editor: renders
src/App.jsx - Dashboard app → Order details: renders
src/App.jsx - Dashboard app → Tax invoice: renders
src/App.jsx - Dashboard app → Banner editor: renders
src/App.jsx - Dashboard app → Coupon creator: renders
src/App.jsx - Executive dashboard → Store state and actions: reads data
src/components/dashboard/DashboardOverview.jsx - Executive dashboard → Dashboard charts: renders
src/components/dashboard/DashboardOverview.jsx - Product catalog → Store state and actions: uses actions
src/components/products/ProductListView.jsx - Product editor → Store state and actions: updates catalog
src/components/products/AddProductModal.jsx - Order management → Store state and actions: reads data
src/components/orders/OrderListView.jsx - Customer directory → Store state and actions: reads data
src/components/customers/CustomerListView.jsx - Customer directory → CSV and print helpers: exports CSV
src/components/customers/CustomerListView.jsx - Promotional center → Store state and actions: uses actions
src/components/marketing/MarketingManagement.jsx - Commercial analytics → Store state and actions: reads data
src/components/analytics/DetailedAnalyticsView.jsx - Commercial analytics → CSV and print helpers: exports reports
src/components/analytics/DetailedAnalyticsView.jsx - Store state and actions → Initial demo data: initializes from
src/context/StoreContext.jsx - Order management → Display formatters: formats display
src/components/orders/OrderListView.jsx - Product catalog → Display formatters: formats display
src/components/products/ProductListView.jsx