Skip to content
TheChatArchiveThe Chat Archive
Qwenqwen3.6-plus-v1-webdev· Alibaba (Qwen)Hugging Face Arena WebDev Preferences (2026)

create a dashboard fully offiline and local in webpage html standalone for the tracking…

  1. User

    create a dashboard fully offiline and local in webpage html standalone for the tracking of earning for food delivery driver. where i can track daily trips, total earned amount, monthly and daily summary. currency is SAR. Add option for multiple Apps and IDs . main one is jahez. add daily, weekly and monthly tragets, fuel costs, suppliers fee etc.

  2. Qwen Assistant

    I'll build a comprehensive offline food delivery driver earnings dashboard with React, Tailwind CSS, and localStorage persistence. Let me start by exploring the project structure and then building it out.

    Now let me create the application. I'll start with the types and storage layer.

    Now let me create the sidebar component.

    Now let me create the main App component:

    The build is successful. Let me add mobile responsiveness with a collapsible sidebar:

    The build is successful. Here's a summary of what I built:

    🚚 Delivery Driver Dashboard - Earning Tracker

    Features:

    1. 📊 Dashboard Overview

      • Daily earnings with progress bar toward daily target
      • Quick stats: trips, tips, expenses, weekly target
      • 7-day earnings bar chart (earnings vs expenses)
      • Earnings by app pie chart
      • Recent trips table
    2. 🚗 Trip Management

      • Add trips with date, app, order ID, fare, tip, distance, notes
      • Filter by app and date
      • Delete trips
      • Full table with all trip details
    3. 💸 Expense Tracking

      • 8 expense categories: Fuel, Suppliers Fee, Insurance, Maintenance, Phone/Data, Food, Parking, Other
      • Category summary cards with totals
      • Add and delete expenses
    4. 📋 Summary & Reports

      • Daily / Weekly / Monthly tabs
      • Detailed stats: earnings, expenses, net, trip count, avg/day, avg/trip
      • Monthly trend chart (6 months)
      • Daily earnings line chart for the selected month
      • Expense breakdown by category with percentages
    5. 🎯 Targets & Goals

      • Set daily, weekly, and monthly earning targets (in SAR)
      • Visual progress bars with color coding
      • Monthly target shows days remaining and daily average needed
    6. 📱 Multiple App Management

      • Default: Jahez (main app)
      • Add custom apps with name, icon, and color
      • Activate/deactivate apps
      • Per-app trip & earnings breakdown
      • Apps: Jahez, Hunger Station, ToYou, Careem (pre-configured)
    7. ⚙️ Settings

      • Data overview (total trips, earnings, expenses, net profit)
      • Export data as JSON backup
      • Import data from JSON backup
      • Clear all data with confirmation

    Technical Details:

    • 100% Offline - All data stored in localStorage
    • Currency: SAR (Saudi Riyal)
    • Week starts: Saturday (Saudi calendar)
    • Mobile responsive with collapsible sidebar
    • Charts using Recharts

    Files built: src/types.ts, src/store.ts, src/context/AppContext.tsx, src/utils/stats.ts, src/components/Sidebar.tsx, src/components/Dashboard.tsx, src/components/Trips.tsx, src/components/Expenses.tsx, src/components/Summary.tsx, src/components/Targets.tsx, src/components/AppManager.tsx, src/components/Settings.tsx, src/App.tsx, index.html