summaryrefslogtreecommitdiff
path: root/makima/frontend/src/components/directives/OverviewTab.tsx
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-02-07 00:01:50 +0000
committersoryu <soryu@soryu.co>2026-02-07 00:01:50 +0000
commitb8d563d45f14a2b1db1f684aa0a8dcd7e5b6ad56 (patch)
tree95543fd150270018e384fbcf9d3df3dc45f052f6 /makima/frontend/src/components/directives/OverviewTab.tsx
parentcececbf326e258211ceae7afce716a5d1e46014f (diff)
downloadsoryu-b8d563d45f14a2b1db1f684aa0a8dcd7e5b6ad56.tar.gz
soryu-b8d563d45f14a2b1db1f684aa0a8dcd7e5b6ad56.zip
Remove directives for reimplementation
Diffstat (limited to 'makima/frontend/src/components/directives/OverviewTab.tsx')
-rw-r--r--makima/frontend/src/components/directives/OverviewTab.tsx73
1 files changed, 0 insertions, 73 deletions
diff --git a/makima/frontend/src/components/directives/OverviewTab.tsx b/makima/frontend/src/components/directives/OverviewTab.tsx
deleted file mode 100644
index 41cd7dc..0000000
--- a/makima/frontend/src/components/directives/OverviewTab.tsx
+++ /dev/null
@@ -1,73 +0,0 @@
-import type { DirectiveWithProgress } from "../../lib/api";
-
-export function OverviewTab({ directive }: { directive: DirectiveWithProgress }) {
- return (
- <div className="space-y-6">
- {/* Goal */}
- <div>
- <h3 className="font-mono text-xs text-[#75aafc] uppercase mb-2">Goal</h3>
- <p className="font-mono text-sm text-[#dbe7ff] whitespace-pre-wrap">
- {directive.goal}
- </p>
- </div>
-
- {/* Progress */}
- <div>
- <h3 className="font-mono text-xs text-[#75aafc] uppercase mb-2">Progress</h3>
- <div className="grid grid-cols-3 gap-4">
- <div className="p-3 bg-[rgba(117,170,252,0.05)] border border-[rgba(117,170,252,0.15)]">
- <div className="font-mono text-2xl text-[#dbe7ff]">
- {directive.chain?.completedSteps || 0}
- </div>
- <div className="font-mono text-[10px] text-[#556677] uppercase">Completed Steps</div>
- </div>
- <div className="p-3 bg-[rgba(117,170,252,0.05)] border border-[rgba(117,170,252,0.15)]">
- <div className="font-mono text-2xl text-[#dbe7ff]">
- {directive.chain?.totalSteps || 0}
- </div>
- <div className="font-mono text-[10px] text-[#556677] uppercase">Total Steps</div>
- </div>
- <div className="p-3 bg-[rgba(117,170,252,0.05)] border border-[rgba(117,170,252,0.15)]">
- <div className="font-mono text-2xl text-[#dbe7ff]">
- {directive.chain?.currentConfidence != null
- ? `${Math.round((directive.chain?.currentConfidence ?? 0) * 100)}%`
- : "-"}
- </div>
- <div className="font-mono text-[10px] text-[#556677] uppercase">Confidence</div>
- </div>
- </div>
- </div>
-
- {/* Configuration */}
- <div>
- <h3 className="font-mono text-xs text-[#75aafc] uppercase mb-2">Configuration</h3>
- <div className="grid grid-cols-2 gap-2 text-sm">
- <div className="flex justify-between">
- <span className="font-mono text-[#556677]">Autonomy Level</span>
- <span className="font-mono text-[#dbe7ff]">{directive.autonomyLevel}</span>
- </div>
- <div className="flex justify-between">
- <span className="font-mono text-[#556677]">Max Rework Cycles</span>
- <span className="font-mono text-[#dbe7ff]">{directive.maxReworkCycles}</span>
- </div>
- <div className="flex justify-between">
- <span className="font-mono text-[#556677]">Green Threshold</span>
- <span className="font-mono text-[#dbe7ff]">{directive.confidenceThresholdGreen}</span>
- </div>
- <div className="flex justify-between">
- <span className="font-mono text-[#556677]">Yellow Threshold</span>
- <span className="font-mono text-[#dbe7ff]">{directive.confidenceThresholdYellow}</span>
- </div>
- </div>
- </div>
-
- {/* Repository */}
- {directive.repositoryUrl && (
- <div>
- <h3 className="font-mono text-xs text-[#75aafc] uppercase mb-2">Repository</h3>
- <p className="font-mono text-sm text-[#9bc3ff]">{directive.repositoryUrl}</p>
- </div>
- )}
- </div>
- );
-}