From 9f32d7de0960d2159a6bf4dc478577c33de11d2f Mon Sep 17 00:00:00 2001 From: Tony Salomone <dadmobile@gmail.com> Date: Thu, 11 Jul 2024 15:37:40 -0400 Subject: [PATCH] Add an info icon to training jobs history --- .../components/Experiment/Train/TrainLoRA.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/renderer/components/Experiment/Train/TrainLoRA.tsx b/src/renderer/components/Experiment/Train/TrainLoRA.tsx index 4811e514..e6ec0f8c 100644 --- a/src/renderer/components/Experiment/Train/TrainLoRA.tsx +++ b/src/renderer/components/Experiment/Train/TrainLoRA.tsx @@ -25,9 +25,9 @@ import { ClockIcon, FileTextIcon, GraduationCapIcon, + InfoIcon, LineChartIcon, Plug2Icon, - PlusCircleIcon, PlusIcon, Trash2Icon, } from 'lucide-react'; @@ -318,7 +318,7 @@ export default function TrainLoRA({ experimentInfo }) { <Table> <thead> <tr> - <th style={{ width: 80}}>ID</th> + <th style={{ width: 60}}>ID</th> <th>Details</th> <th style={{ width: 200}}>Status</th> <th style={{ width: 260}}></th> @@ -330,7 +330,13 @@ export default function TrainLoRA({ experimentInfo }) { return ( <tr key={job.id}> <td> - <b>{job.id}</b> + <b>{job.id}</b><br /> + + <InfoIcon + onClick={() => { + alert(job?.job_data?.config); + }} + /> </td> <td>{formatJobConfig(job)}</td> <td> -- GitLab