I will explore the project structure to understand what libraries and components are available.
I will check package.json to see what libraries and dependencies are already included in the project.
I will install lucide-react for rich financial & trading icons, recharts for interactive smooth line/bar/donut charts with tooltips, and canvas-confetti for milestone celebration animations.
I will test the build to ensure the new packages are compatible with our setup.
I will read index.html to update the title and check the font and layout styling.
I will check src/index.css to see the Tailwind CSS configuration and any custom styles.
I will update index.html to give the app a proper trading title ("DaniFox FX — Road to $1,000,000 | Institutional Trading Analytics") and import fonts optimized for financial data and trading dashboards.
I will update src/index.css to configure font families, smooth transitions, custom scrollbars, and neon glow utilities for financial metrics.
I will create src/types/forex.ts defining all interfaces for trade tickets, market tickers, KPI cards, filter states, and analytical datasets.
I will create src/data/forexData.ts containing institutional-grade sample data, live ticker quotes, 45 detailed forex trade records, and calculation functions to dynamically compute KPIs and chart data based on active filters.
I will read the top of src/data/forexData.ts to verify the type imports.
I will add TradingSession to the import statement in src/data/forexData.ts.
I will run build_project to verify the type definitions and sample data compile without any issues.
I will create src/context/DashboardContext.tsx to provide global state management for interactive filters, live market ticks, dark mode toggling, and live trade simulation with confetti milestones.
I will test the build to verify DashboardContext.tsx is clean and type-safe.
I will create src/components/layout/Navbar.tsx featuring the live streaming currency ticker with live price flashes, account switcher, dark mode toggle, and live feed indicator.
I will verify the build with Navbar.tsx.
I will create src/components/layout/Sidebar.tsx for navigation across dashboard views, including an embedded quick stats indicator for live Sharpe Ratio and Target Progress.
I will remove unused imports in Sidebar.tsx.
I will test the build to confirm Sidebar.tsx has zero errors.
I will create src/components/dashboard/RoadToMillionBanner.tsx featuring the flagship $1,000,000 milestone progress bar, interactive trade simulation buttons, checkpoint markers, and estimated arrival date.
I will remove unused variables in RoadToMillionBanner.tsx.
I will test the build to ensure RoadToMillionBanner.tsx compiles cleanly.
I will create src/components/dashboard/FilterBar.tsx for real-time segment and date-range filtering that updates every view live.
I will remove the unused Filter import in FilterBar.tsx.
I will test the build to verify FilterBar.tsx.
I will create src/components/dashboard/KpiGrid.tsx to display the 6 institutional KPI cards with trend indicators, status tags, and comparative progress gauges.
I will fix the Lucide icon title prop and unused import in KpiGrid.tsx.
I will restore useMemo and put the title attribute on a wrapper element for HelpCircle.
I will check lines 165-178 of KpiGrid.tsx to locate and adjust the HelpCircle tag.
I will wrap <HelpCircle /> in a span element with the title attribute in KpiGrid.tsx.
I will test the build now that KpiGrid.tsx has been updated.
I will create src/components/dashboard/ChartsSection.tsx with Recharts interactive line, stacked bar, donut, and session performance charts with custom tooltips and smooth animations.
I will fix the typo in the variable name dataPoint and remove unused imports in ChartsSection.tsx.
I will fix the Recharts tooltip formatter type and remove unused imports in ChartsSection.tsx.
I will update the tooltip formatter parameter type to val: any in ChartsSection.tsx.
I will test the build to confirm ChartsSection.tsx is clean.
I will create src/components/modals/TradeDetailModal.tsx to provide an institutional-grade deep dive inspection modal for individual trade tickets.
I will remove the unused imports in TradeDetailModal.tsx.
I will verify the build with TradeDetailModal.tsx.
I will create src/components/dashboard/TradeTable.tsx featuring sortable column headers, pagination controls, CSV export, pips formatting, status badges, and interactive inspection triggers.
I will remove unused imports in TradeTable.tsx.
I will test the build to confirm TradeTable.tsx is clean.
I will create src/components/dashboard/RiskMonitor.tsx featuring institutional risk gauges, drawdown status indicators, and win/loss streak analytics.
I will clean up imports and add Award in RiskMonitor.tsx.
I will verify the build with RiskMonitor.tsx.
I will create src/components/dashboard/MillionCalculator.tsx featuring real-time compound interest projection sliders, target dates, and monthly compounding breakdowns.
I will remove the unused imports in MillionCalculator.tsx.
I will verify the build with MillionCalculator.tsx.
I will create src/components/dashboard/StrategyLab.tsx providing an algorithmic strategy deep dive, backtested win rates, and AI neural model diagnostics.
I will remove the unused imports in StrategyLab.tsx.
Files built: index.html, src/index.css, src/types/forex.ts, src/data/forexData.ts, src/context/DashboardContext.tsx, src/components/layout/Navbar.tsx, src/components/layout/Sidebar.tsx, src/components/dashboard/RoadToMillionBanner.tsx, src/components/dashboard/FilterBar.tsx, src/components/dashboard/KpiGrid.tsx, src/components/dashboard/ChartsSection.tsx, src/components/modals/TradeDetailModal.tsx, src/components/dashboard/TradeTable.tsx, src/components/dashboard/RiskMonitor.tsx, src/components/dashboard/MillionCalculator.tsx, src/components/dashboard/StrategyLab.tsx