From 0ba8ff2e242a3a5bbc46e50a182658014e9270ce Mon Sep 17 00:00:00 2001 From: Woody Date: Fri, 24 Apr 2026 15:56:21 +0800 Subject: [PATCH] feat(frontend): remove IngestPanel from LTT page (sub-phase 2.1) Remove redundant upload panel from LTT page. Upload functionality lives on the RAG Database page. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- frontend/src/pages/LTTPage.tsx | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/frontend/src/pages/LTTPage.tsx b/frontend/src/pages/LTTPage.tsx index 1b4ad32..86d26d9 100644 --- a/frontend/src/pages/LTTPage.tsx +++ b/frontend/src/pages/LTTPage.tsx @@ -1,10 +1,9 @@ import React from 'react' import { Film } from 'lucide-react' -import { useQueryDocument, useIngestDocument } from '../lib/queries' +import { useQueryDocument } from '../lib/queries' import { QueryInput } from '../components/QueryInput' import { KeywordsDisplay } from '../components/KeywordsDisplay' import { ResponsePanel } from '../components/ResponsePanel' -import { IngestPanel } from '../components/IngestPanel' const VideoPlaceholder: React.FC = () => { return ( @@ -19,16 +18,11 @@ const VideoPlaceholder: React.FC = () => { export const LTTPage: React.FC = () => { const queryMutation = useQueryDocument() - const ingestMutation = useIngestDocument() const handleQuerySubmit = (question: string): void => { queryMutation.mutate({ question }) } - const handleFileUpload = (file: File): void => { - ingestMutation.mutate(file) - } - return (
@@ -37,12 +31,6 @@ export const LTTPage: React.FC = () => {
-