mirror of
https://github.com/Zproger/Aurum.git
synced 2026-10-21 23:16:50 +07:00
feat: add category management page (create/edit/delete)
The backend already had full category CRUD but nothing in the UI exposed it — categories could only be viewed inside charts. Adds a Categories nav item and page with icon/color pickers, grouped by expense/income, backed by new create/update/delete mutations. Also expands icons.tsx's ICON_MAP, which was missing 14 icon keys already in use by real category data and silently falling back to a wallet glyph everywhere they render. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -9,6 +9,7 @@ import { AccountsPage } from "@/pages/AccountsPage";
|
||||
import { AdvicePage } from "@/pages/AdvicePage";
|
||||
import { BudgetPage } from "@/pages/BudgetPage";
|
||||
import { CashFlowPage } from "@/pages/CashFlowPage";
|
||||
import { CategoriesPage } from "@/pages/CategoriesPage";
|
||||
import { DashboardPage } from "@/pages/DashboardPage";
|
||||
import { GoalsPage } from "@/pages/GoalsPage";
|
||||
import { NetWorthPage } from "@/pages/NetWorthPage";
|
||||
@@ -46,6 +47,7 @@ export default function App() {
|
||||
<Route path="/net-worth" element={<NetWorthPage />} />
|
||||
<Route path="/roi" element={<RoiPage />} />
|
||||
<Route path="/accounts" element={<AccountsPage />} />
|
||||
<Route path="/categories" element={<CategoriesPage />} />
|
||||
<Route path="/cash-flow" element={<CashFlowPage />} />
|
||||
<Route path="/transactions" element={<TransactionsPage />} />
|
||||
<Route path="/reports" element={<ReportsPage />} />
|
||||
|
||||
Reference in New Issue
Block a user