Skip to content

Commit b93b0ca

Browse files
committed
removed chat feature
1 parent c2d7bed commit b93b0ca

File tree

7 files changed

+0
-536
lines changed

7 files changed

+0
-536
lines changed

frontend/src/app/(app)/projects/[projectId]/page.tsx

-15
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ import AssetUploadModal from "@/components/AssetUploadModal";
4040
import { AssetData } from "@/interfaces/assets";
4141
import AssetViewer from "@/components/AssetViewer";
4242
import Tooltip from "@/components/ui/Tooltip";
43-
import ChatBox from "@/components/ChatBox";
4443
import { BASE_STORAGE_URL } from "@/constants";
4544
import PageLoader from "@/components/ui/PageLoader";
4645
import toast from "react-hot-toast";
@@ -71,10 +70,6 @@ export default function Project() {
7170
const [uploadedFiles, setUploadedFiles] = useState<[string, Date][]>([]);
7271
const [openUploadModal, setOpenUploadModal] = useState<boolean>(false);
7372
const scrollRef = useRef<HTMLDivElement>(null);
74-
const [messages, setMessages] = useState<
75-
Array<{ sender: string; text: string; timestamp: Date }>
76-
>([]);
77-
const [chatEnabled, setChatEnabled] = useState<boolean>(false);
7873
const [processType, setProcessType] = useState<string | null>(null);
7974
const { ref, inView } = useInView();
8075

@@ -136,7 +131,6 @@ export default function Project() {
136131
const projectTabs = [
137132
{ id: "assets", label: "Docs" },
138133
{ id: "processes", label: "Processes" },
139-
{ id: "chat", label: "Chat", badge: "beta" },
140134
];
141135

142136
const breadcrumbItems = [
@@ -441,15 +435,6 @@ export default function Project() {
441435
{activeTab === "processes" && (
442436
<ProcessesList projectId={project?.id} />
443437
)}
444-
{activeTab == "chat" && (
445-
<ChatBox
446-
project_id={project?.id}
447-
messages={messages}
448-
setMessages={setMessages}
449-
chatEnabled={chatEnabled}
450-
setChatEnabled={setChatEnabled}
451-
/>
452-
)}
453438

454439
<Drawer
455440
isOpen={currentAssetPreview !== null}

frontend/src/components/ChatBox.tsx

-180
This file was deleted.

frontend/src/components/ChatLoader.tsx

-16
This file was deleted.

frontend/src/components/ChatReferenceDrawer.tsx

-43
This file was deleted.

0 commit comments

Comments
 (0)