Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"firestore": {
"indexes": "firestore.indexes.json"
},
"hosting": {
"public": "dist",
"ignore": [
Expand Down
13 changes: 13 additions & 0 deletions firestore.indexes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"indexes": [
{
"collectionGroup": "estimations",
"queryScope": "COLLECTION",
"fields": [
{ "fieldPath": "userId", "order": "ASCENDING" },
{ "fieldPath": "createdAt", "order": "DESCENDING" }
]
}
],
"fieldOverrides": []
}
38 changes: 13 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"dependencies": {
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.1",
"@google/generative-ai": "^0.24.1",
"@mui/icons-material": "7.3.5",
"@mui/material": "7.3.5",
"@popperjs/core": "2.11.8",
Expand Down Expand Up @@ -63,8 +64,8 @@
"react-hook-form": "7.55.0",
"react-popper": "2.3.0",
"react-resizable-panels": "2.1.7",
"react-router-dom": "^6.23.1",
"react-responsive-masonry": "2.7.1",
"react-router-dom": "^6.23.1",
"react-slick": "0.31.0",
"recharts": "2.15.2",
"sonner": "2.0.3",
Expand Down Expand Up @@ -107,4 +108,4 @@
"vite": "6.3.5"
}
}
}
}
4 changes: 4 additions & 0 deletions src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import { UpdatesFeed } from "../dashboard/pages/UpdatesFeed";
import { PaymentManagement } from "../dashboard/pages/PaymentManagement";
import { InvoiceManagement } from "../dashboard/pages/InvoiceManagement";
import { ProjectResources } from "../dashboard/pages/ProjectResources";
import { ProjectEstimation } from "../dashboard/pages/ProjectEstimation";
import { PricingConfig } from "../dashboard/pages/PricingConfig";

const REVEAL_EASE: [number, number, number, number] = [0.4, 0, 0.2, 1];

Expand Down Expand Up @@ -138,6 +140,8 @@ export default function App() {
<Route path="payments" element={<PaymentManagement />} />
<Route path="invoices" element={<InvoiceManagement />} />
<Route path="resources" element={<ProjectResources />} />
<Route path="estimation" element={<ProjectEstimation />} />
<Route path="pricing-config" element={<PricingConfig />} />
</Route>
<Route path="*" element={<NotFound />} />
</Routes>
Expand Down
4 changes: 4 additions & 0 deletions src/dashboard/components/DashboardLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import {
Menu,
X,
Home,
Sparkles,
Settings2,
} from "lucide-react";
import { Avatar, AvatarFallback, AvatarImage } from "../../app/components/ui/avatar";
import { Button } from "../../app/components/ui/button";
Expand All @@ -27,6 +29,8 @@ const NAV_ITEMS = [
{ to: "/dashboard/payments", icon: CreditCard, label: "Payments" },
{ to: "/dashboard/invoices", icon: FileText, label: "Invoices" },
{ to: "/dashboard/resources", icon: FolderOpen, label: "Resources" },
{ to: "/dashboard/estimation", icon: Sparkles, label: "AI Estimate" },
{ to: "/dashboard/pricing-config", icon: Settings2, label: "Pricing Config" },
];

function NavLink({
Expand Down
Loading
Loading