I will begin by exploring the current files in the workspace to understand the project structure and determine which files exist. I will use the glob_files tool to see what files are in the repository.
I will inspect the package.json file to check the installed dependencies and see if we have helper packages like lucide-react, recharts, or if we should install them. I'll read lines 1 to 50 of package.json.
I will install lucide-react to provide professional, sleek icons that fit the "tech bro" aesthetic (e.g., crypto, index funds, options trading, caffeine, tech equipment, server costs). I will use the install_npm_packages tool.
I will read src/App.tsx using the read_file tool to understand its current structure so that I can replace it with the new dashboard code.
I will read the index.html file using read_file to see its current content so I can update the title to "Vesting & Vests // Tech Bro Finance Dashboard".
I will edit index.html to give the dashboard a thematic, modern title suited for our tech-focused application ("Silicon Finance // Ultimate TC & RSU Analytics"). I will use the edit_file tool.
I will create src/utils/dataGenerator.ts to manage high-fidelity mock data and live calculation logic. This includes dynamic RSU vesting, daily net worth history, and transactions categorized by tech-bro tropes (like Blue Bottle coffee, Patagonia vests, Equinox, and OpenAI API credits). The data responds in real-time to stock and crypto price sliders, giving a truly live, responsive experience across all charts and metrics. I will use the create_file tool.
I will now edit and completely replace the src/App.tsx file with a premium, responsive, interactive tech-bro personal finance dashboard.
The dashboard includes:
- Dynamic TC & Net Worth Scaling: Real-time sliders for "Stock Market Multiplier" (NVDA, AAPL, PLTR) and "Crypto Multiplier" (BTC, SOL, BONK). Adjusting these updates the KPI cards, Net Worth charts, and transactions instantly.
- Interactive KPI Summary Cards: Complete with trend indicators, absolute values, and interactive sub-metrics (Runway, Burn Rate, Vesting progress).
- Smooth Custom SVG Charts:
- Net Worth & Asset Allocation Line/Area Chart: Fully interactive. Hovering anywhere on the chart draws a high-precision vertical tracking crosshair and updates a modern floating tooltip with values for Liquid Cash, Equity, and Crypto.
- Monthly Cash Flow Bar Chart: Visualizes Income vs. Burn with interactive hover cards.
- Burn Breakdown Donut Chart: Hovering segments displays tooltips, and clicking a segment filters the transaction ledger instantly.
- Interactive Vesting Roadmap: Tracks future NVDA/AAPL/PLTR RSU vestings and dynamically updates projected values based on the slider.
- Sortable & Filterable Ledger: Offers real-time search, sorting, income/expense filtering, and a fully functional "Add Custom Transaction" form.
- Dual Mode / Tech Bro Aesthetics: Switch between SOMA Midnight (Dark Mode) and Sand Hill Cream (Light Mode) seamlessly.
I will use the create_file tool to write this code.
I will now edit src/App.tsx using edit_file to remove the unused imports and variables, and resolve the TypeScript warnings (like the optional undefined bounds on the chart max/min). This will ensure a clean, warning-free build.
I will now clean up the remaining unused state variables (hoveredIndex and groupGap) and provide fallback default values for netWorthChartPaths.maxNW and netWorthChartPaths.minNW so that TypeScript is fully satisfied. I will use the edit_file tool.
I will edit the mouse movement handlers for the line chart in src/App.tsx to remove setHoveredIndex, and clean up groupGap as well. I will use the edit_file tool.
I will now edit the horizontal grid line calculations and remove the unused groupGap variable in src/App.tsx. I will use the edit_file tool.
I will now edit src/App.tsx using the edit_file tool to remove the unused groupGap variable in the Bar Chart rendering block.
I will build the project using the build_project tool to verify everything is 100% complete, fully functional, type-safe, and builds cleanly.
I have created an interactive analytics dashboard for personal finance tailored to the "tech bro" demographic.
Key Highlights of Your Dashboard
-
Portfolio Scenario Tuning (Live Interactive Sliders):
- Stock Price Multiplier (NVDA, PLTR, AAPL): Real-time slider (0.5x to 2.5x) simulating stock crashes or megabull runs. Adjusting this instantly recalculates future RSU vestings, net worth history, KPI values, and matching ledger events.
- Crypto Market Multiplier (SOL, ETH, MEMES): Real-time slider (0.1x to 6.0x) simulating crypto winters or supercycles, instantly adjusting crypto portfolio values and harvest income across the interface.
-
Thematic "Tech Bro" Financial KPIs:
- Total Net Worth Card: Tracks total combined valuation of Cash, RSUs, and Crypto with interactive trend indicators representing growth/decline since the beginning of the selected window.
- Liquid Cash & Runway Card: Computes how many months of survival remain if laid off based on current liquid buffer and active burn rates.
- Projected Unvested RSUs Card: Tracks vesting completion ratio with an interactive progress bar.
- Caffeine Efficiency Index: A fun metric measuring total gross income earned per single-origin Blue Bottle latte purchased.
-
Interactive & Smooth SVG Charts (No External Dependencies, React 19 Native):
- Portfolio & Asset Allocation Line/Area Chart: Fully interactive. Hovering your cursor over the chart draws a high-precision vertical tracking crosshair and renders a floating, responsive tooltip showing exact, real-time asset splits (Cash, Stock, Crypto, Net Worth) on that date.
- Monthly Cash Flow Bar Chart: Visualizes Gross Income vs. Burn side-by-side with hover cards displaying detailed totals.
- Burn Breakdown Donut Chart: Rendered dynamically with hover segment enhancements, central absolute spending figures, and responsive click handlers. Clicking on a donut segment filters the transaction ledger instantly.
-
Interactive Vesting Roadmap:
- Tracks future RSU vesting events for tickers like
NVDA, PLTR, and AAPL, updating shares and dynamic projected values instantly based on slider actions.
-
Advanced Transaction Ledger & Form:
- Full Search: Filter down transactions by description, category, or segment instantly.
- Sortable Fields: Click table headers to sort transactions dynamically by Date, Category, or Amount.
Files built: index.html, src/utils/dataGenerator.ts, src/App.tsx