@milabench/bujang 0.1.14 → 0.1.15
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/dist/index.js +4327 -4190
- package/dist/index.js.map +1 -1
- package/dist/theme.css +26 -0
- package/dist/types.d.ts +11 -0
- package/dist/views/AgentActivityView.d.ts +2 -1
- package/dist/views/JobsTable.d.ts +54 -0
- package/package.json +1 -1
- package/src/components/SshConnectDialog.tsx +1 -1
- package/src/theme.css +26 -0
- package/src/types.ts +8 -0
- package/src/views/AgentActivityView.tsx +14 -5
- package/src/views/JobLogs.tsx +1 -1
- package/src/views/JobMarks.tsx +1 -1
- package/src/views/JobsTable.tsx +688 -0
- package/src/views/JobsView.tsx +99 -502
- package/src/views/PipelineEditor.tsx +1 -1
- package/src/views/PipelinesView.tsx +3 -0
- package/src/views/ScheduleDialog.tsx +1 -1
- package/src/views/ScheduledJobsView.tsx +2 -2
- package/src/views/SweepDialog.tsx +1 -1
|
@@ -692,7 +692,7 @@ export const PipelineBuilder: React.FC<{
|
|
|
692
692
|
<Dialog.Root open={isOpen} onOpenChange={(details) => { if (!details.open) onClose(); }} size="cover">
|
|
693
693
|
<Dialog.Backdrop />
|
|
694
694
|
<Dialog.Positioner>
|
|
695
|
-
<Dialog.Content maxW="1100px" h="min(760px, 90vh)" display="flex" flexDirection="column">
|
|
695
|
+
<Dialog.Content className="bujang-dialog" maxW="1100px" h="min(760px, 90vh)" display="flex" flexDirection="column">
|
|
696
696
|
<Dialog.Header py={3} px={4} borderBottom="1px solid" borderColor="var(--color-border)">
|
|
697
697
|
<HStack gap={3} w="100%" pr={8} align="flex-start">
|
|
698
698
|
<Input
|
|
@@ -42,6 +42,7 @@ import type {
|
|
|
42
42
|
PipelineRunStep,
|
|
43
43
|
PipelineRunState
|
|
44
44
|
} from '../types';
|
|
45
|
+
import { AgentBadge } from './AgentActivityView';
|
|
45
46
|
import { PipelineBuilder } from './PipelineEditor';
|
|
46
47
|
import type { PipelineTemplateFileData } from './PipelineEditor';
|
|
47
48
|
import { usePageTitle } from '../hooks/usePageTitle';
|
|
@@ -175,6 +176,7 @@ const PipelineRunProgress: React.FC<{ runId: string }> = ({ runId }) => {
|
|
|
175
176
|
<HStack gap={3} flexWrap="wrap">
|
|
176
177
|
<Heading size="md" color="var(--color-text)">{run.name || runId}</Heading>
|
|
177
178
|
<Badge colorPalette={runStateColor(run.status, run.state)} size="lg">{label}</Badge>
|
|
179
|
+
<AgentBadge tag={run.agent} />
|
|
178
180
|
<Text fontFamily="mono" fontSize="sm" color="var(--color-text-muted)">{runId}</Text>
|
|
179
181
|
<Spacer />
|
|
180
182
|
<Text fontSize="xs" color="var(--color-text-muted)">
|
|
@@ -741,6 +743,7 @@ export const PipelineDetailsView: React.FC = () => {
|
|
|
741
743
|
>
|
|
742
744
|
<HStack gap={2}>
|
|
743
745
|
<Badge size="sm" colorPalette={runStateColor(run.status, state ?? undefined)}>{runLabel(run, state)}</Badge>
|
|
746
|
+
<AgentBadge tag={run.agent} />
|
|
744
747
|
<Spacer />
|
|
745
748
|
<Text fontSize="xs" color="var(--color-text-muted)" title={formatStarted(run.started)}>
|
|
746
749
|
{formatAgo(run.started)}
|
|
@@ -32,7 +32,7 @@ const ScheduleDialog: React.FC<ScheduleDialogProps> = ({ onClose, onSave, isSavi
|
|
|
32
32
|
<Dialog.Root open onOpenChange={(details) => { if (!details.open) onClose(); }} size="md">
|
|
33
33
|
<Dialog.Backdrop />
|
|
34
34
|
<Dialog.Positioner>
|
|
35
|
-
<Dialog.Content>
|
|
35
|
+
<Dialog.Content className="bujang-dialog">
|
|
36
36
|
<Dialog.Header py={3} px={4} borderBottom="1px solid" borderColor="var(--color-border)">
|
|
37
37
|
<Dialog.Title fontSize="md" color="var(--color-text)">Schedule this job</Dialog.Title>
|
|
38
38
|
</Dialog.Header>
|
|
@@ -176,7 +176,7 @@ const TemplateSyncDialog: React.FC<{
|
|
|
176
176
|
>
|
|
177
177
|
<Dialog.Backdrop />
|
|
178
178
|
<Dialog.Positioner>
|
|
179
|
-
<Dialog.Content maxW="95vw" maxH="95vh" overflow="hidden" display="flex" flexDirection="column">
|
|
179
|
+
<Dialog.Content className="bujang-dialog" maxW="95vw" maxH="95vh" overflow="hidden" display="flex" flexDirection="column">
|
|
180
180
|
<Dialog.Header>
|
|
181
181
|
<Dialog.Title>
|
|
182
182
|
Update "{job?.name}" from template {job?.source_template ? <Code>{job.source_template}</Code> : null}
|
|
@@ -348,7 +348,7 @@ const EditScheduledJobDialog: React.FC<{
|
|
|
348
348
|
>
|
|
349
349
|
<Dialog.Backdrop />
|
|
350
350
|
<Dialog.Positioner>
|
|
351
|
-
<Dialog.Content maxW="95vw" maxH="95vh" overflow="hidden" display="flex" flexDirection="column">
|
|
351
|
+
<Dialog.Content className="bujang-dialog" maxW="95vw" maxH="95vh" overflow="hidden" display="flex" flexDirection="column">
|
|
352
352
|
<Dialog.Header>
|
|
353
353
|
<Dialog.Title>Edit scheduled job</Dialog.Title>
|
|
354
354
|
<Dialog.CloseTrigger />
|
|
@@ -373,7 +373,7 @@ const SweepDialog: React.FC<SweepDialogProps> = ({
|
|
|
373
373
|
<Dialog.Root open={isOpen} onOpenChange={(details) => { if (!details.open) onClose(); }} size="cover">
|
|
374
374
|
<Dialog.Backdrop />
|
|
375
375
|
<Dialog.Positioner>
|
|
376
|
-
<Dialog.Content maxW="1200px" h="min(760px, 90vh)" display="flex" flexDirection="column">
|
|
376
|
+
<Dialog.Content className="bujang-dialog" maxW="1200px" h="min(760px, 90vh)" display="flex" flexDirection="column">
|
|
377
377
|
<Dialog.Header py={3} px={4} borderBottom="1px solid" borderColor="var(--color-border)">
|
|
378
378
|
<Dialog.Title fontSize="md" color="var(--color-text)">Sweep: a pipeline from this job</Dialog.Title>
|
|
379
379
|
</Dialog.Header>
|