I will check the existing files in the project to understand the layout and available packages.
I will read package.json to check which dependencies and UI libraries are already installed in the project.
I will now install lucide-react, recharts, framer-motion, canvas-confetti, and @types/canvas-confetti for icons, interactive animations, and responsive charting.
I will read src/index.css and index.html to check the styling setup and current title.
I will check index.html to update the title and ensure proper viewport and font setup.
I will update index.html with an appropriate title "FinPulse // Личные финансы — Аналитическая панель" and add Google Fonts for modern typography.
I will update src/index.css to add custom font rules, sleek scrollbars, glassmorphism utilities, and smooth transition styling.
I will create src/types/finance.ts containing TypeScript interfaces for transactions, accounts, financial goals, budgets, filter states, and AI insights.
I will create src/data/mockData.ts with realistic financial sample data for Russian personal finance, including accounts, over 100 categorized transactions, budgets, financial goals, subscriptions, and AI insights.
I will create src/utils/financeCalculations.ts with analytical engine functions to compute live KPIs, trend badges, category aggregations, and time-series datasets for Recharts.
I will edit src/utils/financeCalculations.ts to remove the unused import AccountSegmentType.
I will create src/components/common/IconRenderer.tsx to dynamically render Lucide React icons based on category and account names with smooth styling.
I will create src/components/common/Header.tsx with branding, live status indicator, currency switcher (RUB/USD/EUR), data export tools, dark mode toggle, and a quick transaction action button.
I will remove the unused totalBalanceRUB variable in Header.tsx.
I will edit Header.tsx to display the formatted total balance from accounts right in the header for quick awareness.
I will create src/components/common/FilterBar.tsx containing live interactive date-range selector pills, account segment tabs, quick search input, and category filters.
I will create src/components/dashboard/KPICards.tsx displaying 5 interactive KPI summary cards with trend badges, hover tooltips, glowing gradient borders, and responsive grid layout.
I will create src/components/dashboard/ChartsSection.tsx with responsive Recharts visualizations including smooth Area charts for cash flow trends, interactive Donut charts for expense categorization, Grouped Bar charts for period comparison, and custom Russian tooltips.
I will create src/components/dashboard/TransactionTable.tsx featuring a sortable and filterable transaction history table with color-coded amounts, pagination, status badges, and transaction management actions.
I will create src/components/dashboard/GoalsAndBudgets.tsx featuring interactive financial goals with progress trackers, budget vs actual comparisons with status warnings, and a calendar of subscriptions and recurring bills.
I will create src/components/dashboard/AIAdvisor.tsx providing automated smart insights, warnings, and an interactive AI financial assistant chat where users can ask custom financial questions.
I will create src/components/modals/AddTransactionModal.tsx allowing the user to add new income, expense, or investment transactions with instant live state updates across all dashboard components.
I will now replace src/App.tsx with our complete dashboard implementation, integrating state management, live reactivity across date ranges and account segments, interactive charts, sortable table, goals, budgets, and the AI advisor.
I will clean up unused imports in src/App.tsx.
I will now run build_project to verify that all modules, Recharts, TypeScript types, and styling compile cleanly without errors.
I have created an interactive personal finance analytics dashboard: FinPulse // Личные финансы для меня.
What Was Built:
-
KPI Summary Cards with Trend Indicators:
- Чистый капитал (Net Worth), Доход (Income), Расходы (Expenses), Норма сбережений (Savings Rate %), and Инвест-портфель (Investment Assets).
- Live trend indicators (e.g.,
+12.4% к прошлому периоду) with smart color coding and hover animations.
-
Visual Analytics Engine (Recharts):
- Динамика денежного потока (Area/Line Chart): Tracks income vs. expenses over time with smooth dual-gradient curves and custom Russian tooltips.
- Структура расходов (Donut Chart): Breaks down category spending with interactive hover drill-downs and percentage shares.
- Сравнение по периодам (Grouped Bar Chart): Compares period-over-period financial flows.
- Структура капитала (Pie/Radial Chart): Shows asset distribution across accounts (Тинькофф, Сбер, Райффайзен, Т-Инвестиции, Крипто, Наличные).
- Interactive view selector tabs to view all charts simultaneously or focus on individual views.
-
Sortable & Filterable Transactions Table:
- Sortable columns (Date, Category & Description, Account, Amount) with sort arrows (
▲/▼).
- Color-coded amounts (
+ in emerald for income, − in rose for expenses, ♦ in cyan for investments).
- Pagination controls with customizable rows per page (10, 15, 25, 50).
- Quick action buttons to delete or add transactions.
-
Live Date-Range & Account Segment Filters:
- Date range selector:
7 дней, 30 дней, Этот месяц, 3 месяца, Этот год, Всё время.
- Account segments:
Все счета, Карты & Банки, Инвестиции, Крипто & Валюта.
- Live Search bar and category dropdowns that filter and recalculate every KPI and chart instantly.
-
Personal Finance Management:
- Финансовые цели 2026 (Goals Tracker): Interactive progress bars for purchasing an apartment, emergency funds, vacations, and new tech. Includes a "+ Пополнить" (Contribute) button that updates progress live and triggers celebratory confetti!
Files built: index.html, src/index.css, src/types/finance.ts, src/data/mockData.ts, src/utils/financeCalculations.ts, src/components/common/IconRenderer.tsx, src/components/common/Header.tsx, src/components/common/FilterBar.tsx, src/components/dashboard/KPICards.tsx, src/components/dashboard/ChartsSection.tsx, src/components/dashboard/TransactionTable.tsx, src/components/dashboard/GoalsAndBudgets.tsx, src/components/dashboard/AIAdvisor.tsx, src/components/modals/AddTransactionModal.tsx, src/App.tsx