ELNOR REPO READER TEXT MIRROR Original path: Design Mockups/DOC23 Mockups/Q_TASK_EVALUATOR_EXTRACTOR_V4.jsx Source repo: /Users/OpenClaw1/Elnor/Elnor Specs Git branch: main Git commit: dbaa25962edc11ab30e8d4ca1715f9ae5bf77331 Generated: 2026-06-09T01:23:58.539Z --- import React, { useState } from "react"; // ═══════════════════════════════════════════════════════════════ // EVALUATOR — V4 // Major changes from V3: // • Sidebar gone (moved to slide-out settings drawer) // • No pipeline indicator, no verdict banner — replaced with one-line status // • No destination picker in outcomes — routing IS the canvas wiring; // the outcome configures only RECOVERY ACTIONS the agent tries before // firing failed_out // • New "Feedback to next module" section — explicit output shape // • One accent color; status colors only (green/red/amber) // • Outcomes visible immediately, three short paragraphs per outcome // • Meta-outcome has no special visual treatment (just a tag) // ═══════════════════════════════════════════════════════════════ const c = { bg:"#0f1117", bgCard:"#161920", bgHover:"#1c1f2a", bgPanel:"#131620", border:"#262a36", borderSoft:"#1f232e", text:"#e2e4ea", textSec:"#8b8fa3", textTer:"#5d6178", accent:"#5b8af5", green:"#34d399", red:"#f87171", amber:"#fbbf24", }; const sans = "-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"; const mono = "'SF Mono','Cascadia Code','Fira Code', monospace"; // ─── Helpers ─── const Btn = ({children, primary, ghost, sm, onClick}) => { const styles = primary ? {background:c.accent,color:"#fff",border:"none"} : ghost ? {background:"transparent",color:c.textSec,border:"none"} : {background:c.bgHover,color:c.text,border:`1px solid ${c.border}`}; return ; }; const Input = ({value, w, onChange, placeholder}) => ( {})} style={{width:w||"100%",background:c.bg,border:`1px solid ${c.border}`,borderRadius:3,padding:"4px 8px",fontSize:11,color:c.text,fontFamily:sans,outline:"none"}} /> ); const Textarea = ({value, h, placeholder, onChange}) => (