@milabench/bujang 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/api.d.ts +65 -1
- package/dist/context.d.ts +5 -10
- package/dist/index.d.ts +8 -3
- package/dist/index.js +4750 -2910
- package/dist/index.js.map +1 -1
- package/dist/paths.d.ts +8 -1
- package/dist/routes.d.ts +1 -1
- package/dist/types.d.ts +332 -0
- package/dist/views/AgentActivityView.d.ts +2 -0
- package/dist/views/JobArtifacts.d.ts +9 -0
- package/dist/views/JobDataOverview.d.ts +9 -0
- package/dist/views/JobMarks.d.ts +17 -0
- package/dist/views/PipelineEditor.d.ts +24 -0
- package/dist/views/PipelineGraph.d.ts +49 -0
- package/dist/views/PipelinesView.d.ts +3 -0
- package/dist/views/SettingsView.d.ts +3 -0
- package/package.json +7 -1
- package/src/api.ts +206 -0
- package/src/context.tsx +7 -13
- package/src/index.ts +8 -3
- package/src/paths.ts +22 -6
- package/src/routes.tsx +5 -2
- package/src/types.ts +307 -0
- package/src/views/AgentActivityView.tsx +115 -5
- package/src/views/JobArtifacts.tsx +89 -0
- package/src/views/JobDataOverview.tsx +594 -0
- package/src/views/JobDetails.tsx +3 -0
- package/src/views/JobLogs.tsx +47 -162
- package/src/views/JobMarks.tsx +233 -0
- package/src/views/JobSubmit.tsx +4 -4
- package/src/views/JobsView.tsx +245 -54
- package/src/views/PipelineEditor.tsx +779 -0
- package/src/views/PipelineGraph.tsx +197 -0
- package/src/views/PipelinesView.tsx +363 -1087
- package/src/views/SettingsView.tsx +910 -0
package/src/views/JobsView.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Link, useNavigate } from 'react-router-dom';
|
|
2
|
+
import { Link, useNavigate, useSearchParams } from 'react-router-dom';
|
|
3
3
|
import { useBujangPaths } from '../context';
|
|
4
4
|
import {
|
|
5
5
|
Box,
|
|
@@ -14,6 +14,8 @@ import {
|
|
|
14
14
|
Spinner,
|
|
15
15
|
Alert,
|
|
16
16
|
IconButton,
|
|
17
|
+
Group,
|
|
18
|
+
NativeSelect,
|
|
17
19
|
} from '@chakra-ui/react';
|
|
18
20
|
import { toaster } from '../toast';
|
|
19
21
|
import { Tooltip } from '../components/tooltip';
|
|
@@ -23,9 +25,11 @@ import {
|
|
|
23
25
|
LuTrash2,
|
|
24
26
|
LuRefreshCw,
|
|
25
27
|
LuInfo,
|
|
28
|
+
LuStar,
|
|
26
29
|
LuCircleCheck,
|
|
27
30
|
LuTriangleAlert,
|
|
28
31
|
LuClock,
|
|
32
|
+
LuTimer,
|
|
29
33
|
} from 'react-icons/lu';
|
|
30
34
|
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
|
|
31
35
|
import {
|
|
@@ -34,8 +38,12 @@ import {
|
|
|
34
38
|
cancelSlurmJob,
|
|
35
39
|
rerunSlurmJob,
|
|
36
40
|
getSlurmClusterStatus,
|
|
41
|
+
getOrganizers,
|
|
42
|
+
getSyncStatus,
|
|
43
|
+
syncNow,
|
|
37
44
|
} from '../api';
|
|
38
|
-
import
|
|
45
|
+
import { JobImportantStar } from './JobMarks';
|
|
46
|
+
import type { SlurmJob, PersitedJobInfo, ApiError, OrganizerGroups, SyncStatus } from '../types';
|
|
39
47
|
import { usePageTitle } from '../hooks/usePageTitle';
|
|
40
48
|
import { AgentBadge } from './AgentActivityView';
|
|
41
49
|
import { NO_JOB_ID, NO_JOB_STATE, NO_JR_JOB_ID } from '../constants';
|
|
@@ -83,6 +91,69 @@ const getStatusIcon = (status: string) => {
|
|
|
83
91
|
}
|
|
84
92
|
};
|
|
85
93
|
|
|
94
|
+
const AUTO_REFRESH_KEY = 'bujang-jobs-auto-refresh';
|
|
95
|
+
const AUTO_REFRESH_MS = 30_000;
|
|
96
|
+
|
|
97
|
+
function readAutoRefresh(): boolean {
|
|
98
|
+
try {
|
|
99
|
+
return localStorage.getItem(AUTO_REFRESH_KEY) === '1';
|
|
100
|
+
} catch {
|
|
101
|
+
return false;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/** "12s ago", "3 min ago" */
|
|
106
|
+
const ago = (ts: number | null | undefined, now: number): string => {
|
|
107
|
+
if (!ts) return 'never';
|
|
108
|
+
const s = Math.max(0, Math.round(now / 1000 - ts));
|
|
109
|
+
if (s < 60) return `${s}s ago`;
|
|
110
|
+
if (s < 3600) return `${Math.round(s / 60)} min ago`;
|
|
111
|
+
return `${Math.round(s / 3600)} h ago`;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
/** "clusters" -> "cluster": the label of an organizer's filter */
|
|
115
|
+
const filterLabel = (name: string) => (name.length > 3 && name.endsWith('s') ? name.slice(0, -1) : name);
|
|
116
|
+
|
|
117
|
+
/** One dropdown per organizer folder (clusters, experiments, ...) with its values; the choice is in the URL */
|
|
118
|
+
const OrganizerFilters: React.FC<{
|
|
119
|
+
organizers: OrganizerGroups[];
|
|
120
|
+
selected: Record<string, string>;
|
|
121
|
+
onChange: (name: string, value: string) => void;
|
|
122
|
+
onClear: () => void;
|
|
123
|
+
}> = ({ organizers, selected, onChange, onClear }) => {
|
|
124
|
+
const shown = organizers.filter((o) => o.groups.length > 0 || selected[o.name]);
|
|
125
|
+
if (shown.length === 0) return null;
|
|
126
|
+
return (
|
|
127
|
+
<HStack gap={4} flexWrap="wrap">
|
|
128
|
+
{shown.map((o) => (
|
|
129
|
+
<HStack key={o.name} gap={2}>
|
|
130
|
+
<Text fontSize="sm" color="var(--color-text-muted)">{filterLabel(o.name)}:</Text>
|
|
131
|
+
<NativeSelect.Root size="sm" w="auto" minW="140px">
|
|
132
|
+
<NativeSelect.Field
|
|
133
|
+
value={selected[o.name] ?? ''}
|
|
134
|
+
onChange={(e) => onChange(o.name, e.target.value)}
|
|
135
|
+
aria-label={`Filter by ${filterLabel(o.name)}`}
|
|
136
|
+
borderColor={selected[o.name] ? 'var(--color-primary)' : undefined}
|
|
137
|
+
>
|
|
138
|
+
<option value="">all</option>
|
|
139
|
+
{o.groups.map((g) => (
|
|
140
|
+
<option key={g.value} value={g.value}>{g.value} ({g.jobs.length})</option>
|
|
141
|
+
))}
|
|
142
|
+
{selected[o.name] && !o.groups.some((g) => g.value === selected[o.name]) && (
|
|
143
|
+
<option value={selected[o.name]}>{selected[o.name]} (0)</option>
|
|
144
|
+
)}
|
|
145
|
+
</NativeSelect.Field>
|
|
146
|
+
<NativeSelect.Indicator />
|
|
147
|
+
</NativeSelect.Root>
|
|
148
|
+
</HStack>
|
|
149
|
+
))}
|
|
150
|
+
{Object.keys(selected).length > 0 && (
|
|
151
|
+
<Button size="xs" variant="ghost" onClick={onClear} color="var(--color-text-muted)">Clear filters</Button>
|
|
152
|
+
)}
|
|
153
|
+
</HStack>
|
|
154
|
+
);
|
|
155
|
+
};
|
|
156
|
+
|
|
86
157
|
export const JobsView: React.FC<JobsViewProps> = () => {
|
|
87
158
|
usePageTitle('Jobs');
|
|
88
159
|
|
|
@@ -102,12 +173,24 @@ export const JobsView: React.FC<JobsViewProps> = () => {
|
|
|
102
173
|
};
|
|
103
174
|
|
|
104
175
|
|
|
176
|
+
const [autoRefresh, setAutoRefresh] = React.useState(readAutoRefresh);
|
|
177
|
+
const toggleAutoRefresh = (on: boolean) => {
|
|
178
|
+
try {
|
|
179
|
+
localStorage.setItem(AUTO_REFRESH_KEY, on ? '1' : '0');
|
|
180
|
+
} catch {
|
|
181
|
+
// private mode: for this page only
|
|
182
|
+
}
|
|
183
|
+
setAutoRefresh(on);
|
|
184
|
+
};
|
|
185
|
+
const refetchInterval = autoRefresh ? AUTO_REFRESH_MS : false;
|
|
186
|
+
|
|
105
187
|
// Queries
|
|
106
188
|
const { data: activeJobsData, isLoading: activeJobsLoading, error: activeJobsError } = useQuery({
|
|
107
189
|
queryKey: ['slurm-jobs'],
|
|
108
190
|
queryFn: getSlurmJobs,
|
|
109
191
|
refetchOnWindowFocus: false,
|
|
110
192
|
staleTime: 30000, // Consider data fresh for 30 seconds
|
|
193
|
+
refetchInterval,
|
|
111
194
|
});
|
|
112
195
|
|
|
113
196
|
const { data: persistedJobsData, isLoading: persistedJobsLoading, error: persistedJobsError } = useQuery<PersitedJobInfo[]>({
|
|
@@ -115,6 +198,44 @@ export const JobsView: React.FC<JobsViewProps> = () => {
|
|
|
115
198
|
queryFn: getSlurmPersistedJobs,
|
|
116
199
|
refetchOnWindowFocus: false,
|
|
117
200
|
staleTime: 30000, // Consider data fresh for 30 seconds
|
|
201
|
+
refetchInterval,
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
const { data: sync } = useQuery<SyncStatus>({
|
|
205
|
+
queryKey: ['bujang-sync'],
|
|
206
|
+
queryFn: getSyncStatus,
|
|
207
|
+
refetchOnWindowFocus: false,
|
|
208
|
+
refetchInterval: 10_000,
|
|
209
|
+
retry: false,
|
|
210
|
+
});
|
|
211
|
+
// re-render the "synced 12s ago" every few seconds
|
|
212
|
+
const [now, setNow] = React.useState(() => Date.now());
|
|
213
|
+
React.useEffect(() => {
|
|
214
|
+
const timer = window.setInterval(() => setNow(Date.now()), 5000);
|
|
215
|
+
return () => window.clearInterval(timer);
|
|
216
|
+
}, []);
|
|
217
|
+
|
|
218
|
+
const refresh = useMutation({
|
|
219
|
+
mutationFn: syncNow,
|
|
220
|
+
onSettled: () => {
|
|
221
|
+
queryClient.invalidateQueries({ queryKey: ['slurm-jobs'] });
|
|
222
|
+
queryClient.invalidateQueries({ queryKey: ['slurm-persisted-jobs'] });
|
|
223
|
+
queryClient.invalidateQueries({ queryKey: ['slurm-cluster-status'] });
|
|
224
|
+
queryClient.invalidateQueries({ queryKey: ['bujang-organizers'] });
|
|
225
|
+
queryClient.invalidateQueries({ queryKey: ['bujang-sync'] });
|
|
226
|
+
},
|
|
227
|
+
onError: (error: ApiError) => {
|
|
228
|
+
toaster.create({ title: 'Sync failed', description: error.message, type: 'error', duration: 6000 });
|
|
229
|
+
},
|
|
230
|
+
});
|
|
231
|
+
|
|
232
|
+
const { data: organizers = [] } = useQuery<OrganizerGroups[]>({
|
|
233
|
+
queryKey: ['bujang-organizers'],
|
|
234
|
+
queryFn: getOrganizers,
|
|
235
|
+
refetchOnWindowFocus: false,
|
|
236
|
+
staleTime: 30000,
|
|
237
|
+
refetchInterval,
|
|
238
|
+
retry: false,
|
|
118
239
|
});
|
|
119
240
|
|
|
120
241
|
const { data: clusterStatus, isLoading: clusterStatusLoading } = useQuery({
|
|
@@ -126,9 +247,49 @@ export const JobsView: React.FC<JobsViewProps> = () => {
|
|
|
126
247
|
retry: false, // Don't retry on error to avoid excessive requests when cluster is down
|
|
127
248
|
});
|
|
128
249
|
|
|
250
|
+
// ?clusters=mila&experiments=lr-sweep: the jobs under every chosen value
|
|
251
|
+
const [params, setParams] = useSearchParams();
|
|
252
|
+
const organizerNames = React.useMemo(() => organizers.map((o) => o.name), [organizers]);
|
|
253
|
+
const selected = React.useMemo(() => {
|
|
254
|
+
const out: Record<string, string> = {};
|
|
255
|
+
for (const name of organizerNames) {
|
|
256
|
+
const value = params.get(name);
|
|
257
|
+
if (value) out[name] = value;
|
|
258
|
+
}
|
|
259
|
+
return out;
|
|
260
|
+
}, [params, organizerNames]);
|
|
261
|
+
const allowed = React.useMemo(() => {
|
|
262
|
+
const sets = Object.entries(selected).map(([name, value]) => {
|
|
263
|
+
const group = organizers.find((o) => o.name === name)?.groups.find((g) => g.value === value);
|
|
264
|
+
return new Set<string>(group?.jobs ?? []);
|
|
265
|
+
});
|
|
266
|
+
if (sets.length === 0) return null;
|
|
267
|
+
const [first, ...rest] = sets;
|
|
268
|
+
return new Set<string>([...first].filter((id) => rest.every((set) => set.has(id))));
|
|
269
|
+
}, [selected, organizers]);
|
|
270
|
+
const setFilter = (name: string, value: string) => {
|
|
271
|
+
const next = new URLSearchParams(params);
|
|
272
|
+
if (value) next.set(name, value);
|
|
273
|
+
else next.delete(name);
|
|
274
|
+
setParams(next, { replace: true });
|
|
275
|
+
};
|
|
276
|
+
const clearFilters = () => {
|
|
277
|
+
const next = new URLSearchParams(params);
|
|
278
|
+
organizerNames.forEach((name) => next.delete(name));
|
|
279
|
+
next.delete('important');
|
|
280
|
+
setParams(next, { replace: true });
|
|
281
|
+
};
|
|
282
|
+
|
|
129
283
|
// Separate active jobs and persisted jobs
|
|
130
|
-
const
|
|
131
|
-
const
|
|
284
|
+
const allActiveJobs = activeJobsData || [];
|
|
285
|
+
const allPersistedJobs = persistedJobsData || [];
|
|
286
|
+
const activeJobs = allowed ? allActiveJobs.filter((job: SlurmJob) => !!job.jr_job_id && allowed.has(job.jr_job_id)) : allActiveJobs;
|
|
287
|
+
const importantOnly = params.get('important') === '1';
|
|
288
|
+
const persistedJobs = allPersistedJobs.filter(
|
|
289
|
+
(job) => (!allowed || allowed.has(job.name)) && (!importantOnly || job.important),
|
|
290
|
+
);
|
|
291
|
+
const countLabel = (shown: number, total: number) =>
|
|
292
|
+
`${allowed ? `${shown} of ${total}` : shown} ${total === 1 ? 'job' : 'jobs'}`;
|
|
132
293
|
|
|
133
294
|
|
|
134
295
|
|
|
@@ -255,7 +416,7 @@ export const JobsView: React.FC<JobsViewProps> = () => {
|
|
|
255
416
|
)}
|
|
256
417
|
</HStack>
|
|
257
418
|
|
|
258
|
-
<HStack gap={
|
|
419
|
+
<HStack gap={3}>
|
|
259
420
|
<Button
|
|
260
421
|
onClick={() => navigate(paths.submitJob())}
|
|
261
422
|
size="sm"
|
|
@@ -268,24 +429,70 @@ export const JobsView: React.FC<JobsViewProps> = () => {
|
|
|
268
429
|
Submit New Job
|
|
269
430
|
</Button>
|
|
270
431
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
432
|
+
{/* Refresh and its auto refresh toggle as one control; the sync time hangs below it
|
|
433
|
+
(absolute: it does not move the buttons) */}
|
|
434
|
+
<Box position="relative">
|
|
435
|
+
<Group attached>
|
|
436
|
+
<Button
|
|
437
|
+
variant="outline"
|
|
438
|
+
onClick={() => refresh.mutate()}
|
|
439
|
+
title="rsync the clusters with active jobs now"
|
|
440
|
+
loading={refresh.isPending || activeJobsLoading || persistedJobsLoading || clusterStatusLoading}
|
|
441
|
+
size="sm"
|
|
442
|
+
fontWeight="medium"
|
|
443
|
+
>
|
|
444
|
+
<LuRefreshCw style={{ marginRight: '4px', fontSize: '16px' }} />
|
|
445
|
+
Refresh
|
|
446
|
+
</Button>
|
|
447
|
+
<Button
|
|
448
|
+
variant={autoRefresh ? 'solid' : 'outline'}
|
|
449
|
+
bg={autoRefresh ? 'var(--color-primary)' : undefined}
|
|
450
|
+
color={autoRefresh ? 'var(--color-primary-text)' : 'var(--color-text-muted)'}
|
|
451
|
+
_hover={autoRefresh ? { bg: 'var(--color-primary-hover)' } : undefined}
|
|
452
|
+
onClick={() => toggleAutoRefresh(!autoRefresh)}
|
|
453
|
+
aria-pressed={autoRefresh}
|
|
454
|
+
aria-label="Auto refresh every 30 seconds"
|
|
455
|
+
title={autoRefresh ? 'Auto refresh is on (every 30s): click to stop' : 'Refresh the jobs every 30 seconds'}
|
|
456
|
+
size="sm"
|
|
457
|
+
px={2}
|
|
458
|
+
fontWeight="medium"
|
|
459
|
+
>
|
|
460
|
+
<LuTimer style={{ fontSize: '16px' }} />
|
|
461
|
+
30s
|
|
462
|
+
</Button>
|
|
463
|
+
</Group>
|
|
464
|
+
{sync && (
|
|
465
|
+
<Text
|
|
466
|
+
position="absolute"
|
|
467
|
+
top="100%"
|
|
468
|
+
right={0}
|
|
469
|
+
mt={0.5}
|
|
470
|
+
fontSize="xs"
|
|
471
|
+
color="var(--color-text-muted)"
|
|
472
|
+
whiteSpace="nowrap"
|
|
473
|
+
title={sync.interval ? `The server syncs the clusters with active jobs every ${sync.interval}s` : undefined}
|
|
474
|
+
>
|
|
475
|
+
synced {ago(sync.last ?? sync.scanned, now)}
|
|
476
|
+
</Text>
|
|
477
|
+
)}
|
|
478
|
+
</Box>
|
|
285
479
|
</HStack>
|
|
286
480
|
</HStack>
|
|
287
481
|
</Box>
|
|
288
482
|
|
|
483
|
+
<HStack gap={4} flexWrap="wrap">
|
|
484
|
+
<Button
|
|
485
|
+
size="sm"
|
|
486
|
+
variant={importantOnly ? 'solid' : 'outline'}
|
|
487
|
+
colorPalette="yellow"
|
|
488
|
+
onClick={() => setFilter('important', importantOnly ? '' : '1')}
|
|
489
|
+
title="Only the jobs marked important"
|
|
490
|
+
>
|
|
491
|
+
<LuStar fill={importantOnly ? 'currentColor' : 'none'} /> Important
|
|
492
|
+
</Button>
|
|
493
|
+
<OrganizerFilters organizers={organizers} selected={selected} onChange={setFilter} onClear={clearFilters} />
|
|
494
|
+
</HStack>
|
|
495
|
+
|
|
289
496
|
{/* Active Jobs Table */}
|
|
290
497
|
<Card.Root
|
|
291
498
|
bg="var(--color-bg-card)"
|
|
@@ -314,7 +521,7 @@ export const JobsView: React.FC<JobsViewProps> = () => {
|
|
|
314
521
|
px={2}
|
|
315
522
|
py={1}
|
|
316
523
|
>
|
|
317
|
-
{activeJobs.length
|
|
524
|
+
{countLabel(activeJobs.length, allActiveJobs.length)}
|
|
318
525
|
</Badge>
|
|
319
526
|
</HStack>
|
|
320
527
|
</Card.Header>
|
|
@@ -412,22 +619,6 @@ export const JobsView: React.FC<JobsViewProps> = () => {
|
|
|
412
619
|
</Table.Cell>
|
|
413
620
|
<Table.Cell>
|
|
414
621
|
<HStack gap={2}>
|
|
415
|
-
<Tooltip
|
|
416
|
-
positioning={{ placement: 'top', offset: { mainAxis: 8 } }}
|
|
417
|
-
content="View Details"
|
|
418
|
-
>
|
|
419
|
-
<Link
|
|
420
|
-
to={paths.jobDetails(job.job_id || NO_JOB_ID, typeof job.jr_job_id === 'string' ? job.jr_job_id : NO_JR_JOB_ID)}
|
|
421
|
-
>
|
|
422
|
-
<IconButton
|
|
423
|
-
aria-label="View job details"
|
|
424
|
-
size="md"
|
|
425
|
-
variant="ghost"
|
|
426
|
-
>
|
|
427
|
-
<LuInfo />
|
|
428
|
-
</IconButton>
|
|
429
|
-
</Link>
|
|
430
|
-
</Tooltip>
|
|
431
622
|
<Tooltip
|
|
432
623
|
positioning={{ placement: 'top', offset: { mainAxis: 8 } }}
|
|
433
624
|
content="View Logs"
|
|
@@ -506,7 +697,7 @@ export const JobsView: React.FC<JobsViewProps> = () => {
|
|
|
506
697
|
px={2}
|
|
507
698
|
py={1}
|
|
508
699
|
>
|
|
509
|
-
{persistedJobs.length
|
|
700
|
+
{countLabel(persistedJobs.length, allPersistedJobs.length)}
|
|
510
701
|
</Badge>
|
|
511
702
|
</HStack>
|
|
512
703
|
</Card.Header>
|
|
@@ -643,7 +834,23 @@ export const JobsView: React.FC<JobsViewProps> = () => {
|
|
|
643
834
|
</Text>
|
|
644
835
|
</Table.Cell>
|
|
645
836
|
<Table.Cell>
|
|
646
|
-
<
|
|
837
|
+
<HStack gap={2} flexWrap="wrap">
|
|
838
|
+
<JobImportantStar jrJobId={jrJobId} important={!!persistedJobInfo.important} />
|
|
839
|
+
<Text color="var(--color-text)">{jobName}<AgentBadge tag={persistedJobInfo.agent} /></Text>
|
|
840
|
+
{(persistedJobInfo.groups || []).map((g) => (
|
|
841
|
+
<Badge
|
|
842
|
+
key={g}
|
|
843
|
+
size="sm"
|
|
844
|
+
variant="subtle"
|
|
845
|
+
colorPalette="purple"
|
|
846
|
+
cursor="pointer"
|
|
847
|
+
title={`Only the jobs of the group ${g}`}
|
|
848
|
+
onClick={() => setFilter('groups', g)}
|
|
849
|
+
>
|
|
850
|
+
{g}
|
|
851
|
+
</Badge>
|
|
852
|
+
))}
|
|
853
|
+
</HStack>
|
|
647
854
|
</Table.Cell>
|
|
648
855
|
<Table.Cell>
|
|
649
856
|
<HStack gap={2}>
|
|
@@ -667,22 +874,6 @@ export const JobsView: React.FC<JobsViewProps> = () => {
|
|
|
667
874
|
</Table.Cell>
|
|
668
875
|
<Table.Cell>
|
|
669
876
|
<HStack gap={2}>
|
|
670
|
-
<Tooltip
|
|
671
|
-
positioning={{ placement: 'top', offset: { mainAxis: 8 } }}
|
|
672
|
-
content="View Details"
|
|
673
|
-
>
|
|
674
|
-
<Link
|
|
675
|
-
to={paths.jobDetails(jobId, jrJobId)}
|
|
676
|
-
>
|
|
677
|
-
<IconButton
|
|
678
|
-
aria-label="View job details"
|
|
679
|
-
size="sm"
|
|
680
|
-
variant="ghost"
|
|
681
|
-
>
|
|
682
|
-
<LuInfo />
|
|
683
|
-
</IconButton>
|
|
684
|
-
</Link>
|
|
685
|
-
</Tooltip>
|
|
686
877
|
<Tooltip
|
|
687
878
|
positioning={{ placement: 'top', offset: { mainAxis: 8 } }}
|
|
688
879
|
content="View Logs"
|