Skip to content

armgit / crm

Public Imported from GitHub
0

Comp AI CRM is an open source, CRM designed for AI agents. Agentic-first CRM.

TypeScript

fix(app): move chat beneath overview in icon rail (#83)

github-actions[bot]b63497d07c5c
diff --git a/.gitignore b/.gitignore
index d63a6329..4bef1b57 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,6 +28,7 @@ dist
# Debug
+/.logs/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
diff --git a/apps/app/components/app-icon-rail.tsx b/apps/app/components/app-icon-rail.tsx
index 290842de..bb5b9063 100644
--- a/apps/app/components/app-icon-rail.tsx
+++ b/apps/app/components/app-icon-rail.tsx
@@ -1,8 +1,8 @@
"use client";
-import Bot from "@carbon/icons-react/es/Bot";
import Building from "@carbon/icons-react/es/Building";
import type { CarbonIconType } from "@carbon/icons-react/es/CarbonIcon";
+import Chat from "@carbon/icons-react/es/Chat";
import Close from "@carbon/icons-react/es/Close";
import Dashboard from "@carbon/icons-react/es/Dashboard";
import Partnership from "@carbon/icons-react/es/Partnership";
@@ -40,6 +40,13 @@ type RailItem = {
const ITEMS: RailItem[] = [
{ title: "Overview", href: "/", icon: Dashboard, match: "exact" },
+ {
+ title: "Chat",
+ href: "/chat",
+ icon: Chat,
+ match: "prefix",
+ related: ["/agents"],
+ },
{ title: "Companies", href: "/companies", icon: Building, match: "prefix" },
{
title: "Contacts",
@@ -48,13 +55,6 @@ const ITEMS: RailItem[] = [
match: "prefix",
},
{ title: "Deals", href: "/deals", icon: Partnership, match: "prefix" },
- {
- title: "Chat",
- href: "/chat",
- icon: Bot,
- match: "prefix",
- related: ["/agents"],
- },
{ title: "Settings", href: "/settings", icon: Settings, match: "prefix" },
];