diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 36bb7b5..9623eff 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -57,7 +57,7 @@ "react-dropzone": "14.2.3", "react-hook-form": "7.53.0", "react-icons": "^5.2.1", - "react-resizable-panels": "^2.0.20", + "react-resizable-panels": "^2.1.1", "react-router-dom": "^6.26.0", "tailwind-merge": "^2.4.0", "tailwindcss-animate": "^1.0.7", diff --git a/apps/desktop/src/pages/Boot/index.tsx b/apps/desktop/src/pages/Boot/index.tsx index 09fa6dc..b08fa23 100644 --- a/apps/desktop/src/pages/Boot/index.tsx +++ b/apps/desktop/src/pages/Boot/index.tsx @@ -15,8 +15,13 @@ import { ToastAction } from "@/components/ui/toast"; import { useToast } from "@/components/ui/use-toast"; import { RocketIcon } from "@radix-ui/react-icons"; import { useLocation } from "react-router-dom"; -import { Terminal } from "lucide-react"; -import { Badge } from "@/components/ui/badge"; +import { SparkleIcon, Terminal } from "lucide-react"; +import { + ResizableHandle, + ResizablePanel, + ResizablePanelGroup, +} from "@/components/ui/resizable"; + import { Card, CardContent, @@ -34,6 +39,7 @@ import { CarouselPrevious, } from "@/components/ui/carousel"; import { Series } from "../Datasource/SeriesTable"; +import { ScrollArea } from "@/components/ui/scroll-area"; interface ScanProgress { percentage: number; @@ -178,78 +184,71 @@ const Boot = () => { className="h-full" >
- {/* */} -
-
- - - Heads up! - 海量dicom,一键自动测量 - -
-
- - -
-
- - - {selectDicoms.map((item: Series, index: number) => ( - - - - {item.PatientName} - - {item.PatientAge}, {item.PatientSex},{" "} - {item.filePaths.length} 张 - - - - - {index + 1} - - - - - - + + +
+ +
+ {selectDicoms.map((dicom: Series, index: number) => ( + +
+
+
+
+ {dicom.PatientName} +
+ +
+
+ {dicom.PatientSex} +
+
+
+ {dicom.PatientAge} +
+
+
+ 这里是一些额外的信息,如果可以增加一些AI的判断结果,根据metadata扔给大语言模型,理想情况可以自动鉴别出能够使用哪些模型,优化掉用户手动选择分析的过程 +
+
+
+ 主动脉瓣 +
+
+ 二尖瓣 +
+
+ 外周入路 +
+
- - ))} - - - - -
- {current} / {count} + ))} +
+ +
+ +
-
-
进度
-
- {/* card */} -
-
-
{flaskInfo}
-
-
-
- -
-
+ + + +
+ 分析进度将会呈现在这里 +
+
+
{/* 导入数据dialog */} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8bae5e0..74ac5b8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -149,7 +149,7 @@ importers: specifier: ^5.2.1 version: 5.3.0(react@18.3.1) react-resizable-panels: - specifier: ^2.0.20 + specifier: ^2.1.1 version: 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react-router-dom: specifier: ^6.26.0