Skip to content

Commit 774af28

Browse files
committed
Add WANDB Run URL button for jobs in tasks
1 parent 4c17438 commit 774af28

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/renderer/components/Experiment/Tasks/JobsList.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
InfoIcon,
99
LineChartIcon,
1010
WaypointsIcon,
11+
LineChartIcon,
1112
} from 'lucide-react';
1213
import JobProgress from './JobProgress';
1314

@@ -93,6 +94,19 @@ const JobsList: React.FC<JobsListProps> = ({
9394
</Button>
9495
)}
9596

97+
{job?.job_data?.wandb_run_url && (
98+
<Button
99+
size="sm"
100+
variant="plain"
101+
onClick={() => {
102+
window.open(job.job_data.wandb_run_url, '_blank');
103+
}}
104+
startDecorator={<LineChartIcon />}
105+
>
106+
W&B Tracking
107+
</Button>
108+
)}
109+
96110
<Button
97111
size="sm"
98112
variant="plain"

0 commit comments

Comments
 (0)