History

refactor(execution-history): remove unused Badge import and KeyValue component

Saatvik Arya committed 7 months ago

Commit d6c6b941 parent 8cf0b301 file · +0 −8Browse files

Unified · Split

plugins/execution-history/react/components.tsx+0−8
@@ -8,7 +8,6 @@ import { · 7 unmodified lines
8 useExecutions,8 useExecutions,
9} from "@executor/react";9} from "@executor/react";
10import {10import {
11 Badge,
12 Button,11 Button,
13 cn,12 cn,
14 Dialog,13 Dialog,
@@ -111,13 +110,6 @@ const statusColor = (status: ExecutionStatus): string => { · 96 unmodified lines
111 110
112// ── Execution Row ────────────────────────────────────────────────────────111// ── Execution Row ────────────────────────────────────────────────────────
113 112
114const KeyValue = (props: { k: string; v: string; vClass?: string }) => (
115 <>
116 <span className="text-muted-foreground/60">{props.k}:</span>{" "}
117 <span className={props.vClass ?? "text-emerald-400"}>{props.v}</span>{" "}
118 </>
119);
120
121const ExecutionRow = (props: {113const ExecutionRow = (props: {
122 execution: Execution;114 execution: Execution;
123 isSelected: boolean;115 isSelected: boolean;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t