Add Daily Feedback system to Council tab

This commit is contained in:
root
2026-02-22 14:53:22 +00:00
parent 83dc1507da
commit be82f40dc7
@@ -55,6 +55,7 @@ const sidebarCategories: SidebarCategory[] = [
{ id: "council", name: "Council", icon: "🏛️", items: [
{ id: "teams", name: "Agent Teams", icon: "👥", category: "council" },
{ id: "golden-notes", name: "Golden Notes", icon: "🔥", category: "golden-notes" },
{ id: "daily-feedback", name: "Daily Feedback", icon: "📝", category: "daily-feedback" },
{ id: "ai-settings", name: "AI Settings", icon: "🤖", category: "council-settings" },
]},
{ id: "calendar", name: "Calendar", icon: "📅", items: [
@@ -303,6 +304,85 @@ export default function MissionControlDashboard({ onLogout }: MissionControlDash
</div>
)}
{currentItem?.category === "daily-feedback" && (
<div className="rounded-xl border border-blue-500/30 bg-gradient-to-br from-[#1a1625] to-[#1a2a3d] p-6">
<div className="flex items-center justify-between mb-4">
<div className="flex items-center gap-2">
<span className="text-blue-400 text-2xl">📝</span>
<h3 className="font-bold text-blue-400 text-xl">Daily Feedback</h3>
</div>
<span className="text-xs text-white/50">{new Date().toLocaleDateString()}</span>
</div>
<p className="text-white/60 mb-4">End-of-day insights from all agents. Select notes to promote to Golden.</p>
<div className="space-y-4 mb-6">
<div className="p-4 rounded-lg bg-white/5 border border-blue-500/20">
<div className="flex items-center justify-between mb-2">
<div className="flex items-center gap-2">
<span className="text-amber-400">👁️</span>
<span className="font-semibold">HORUS</span>
</div>
<label className="flex items-center gap-2 text-xs cursor-pointer">
<input type="checkbox" className="w-4 h-4 rounded accent-brand-pink" />
<span className="text-white/60">Promote to Golden</span>
</label>
</div>
<textarea className="w-full bg-white/5 border border-white/10 rounded-lg p-3 text-sm text-white/80 resize-none" rows={3} placeholder="What did you learn today?" />
</div>
<div className="p-4 rounded-lg bg-white/5 border border-blue-500/20">
<div className="flex items-center justify-between mb-2">
<div className="flex items-center gap-2">
<span className="text-blue-400">👁️</span>
<span className="font-semibold">THOTH</span>
</div>
<label className="flex items-center gap-2 text-xs cursor-pointer">
<input type="checkbox" className="w-4 h-4 rounded accent-brand-pink" />
<span className="text-white/60">Promote to Golden</span>
</label>
</div>
<textarea className="w-full bg-white/5 border border-white/10 rounded-lg p-3 text-sm text-white/80 resize-none" rows={3} placeholder="What did you learn today?" />
</div>
<div className="p-4 rounded-lg bg-white/5 border border-blue-500/20">
<div className="flex items-center justify-between mb-2">
<div className="flex items-center gap-2">
<span className="text-green-400">🏗️</span>
<span className="font-semibold">PTAH</span>
</div>
<label className="flex items-center gap-2 text-xs cursor-pointer">
<input type="checkbox" className="w-4 h-4 rounded accent-brand-pink" />
<span className="text-white/60">Promote to Golden</span>
</label>
</div>
<textarea className="w-full bg-white/5 border border-white/10 rounded-lg p-3 text-sm text-white/80 resize-none" rows={3} placeholder="What did you learn today?" />
</div>
<div className="p-4 rounded-lg bg-white/5 border border-blue-500/20">
<div className="flex items-center justify-between mb-2">
<div className="flex items-center gap-2">
<span className="text-purple-400">🐺</span>
<span className="font-semibold">ANUBIS</span>
</div>
<label className="flex items-center gap-2 text-xs cursor-pointer">
<input type="checkbox" className="w-4 h-4 rounded accent-brand-pink" />
<span className="text-white/60">Promote to Golden</span>
</label>
</div>
<textarea className="w-full bg-white/5 border border-white/10 rounded-lg p-3 text-sm text-white/80 resize-none" rows={3} placeholder="What did you learn today?" />
</div>
</div>
<button className="w-full py-3 bg-brand-pink hover:bg-[#ff7bc0] rounded-lg font-medium transition">
💾 Save & Promote Selected
</button>
<p className="text-xs text-white/40 mt-4 text-center">
Feedback auto-generates at 9pm CET. Edit and promote what matters.
</p>
</div>
)}
{currentItem?.category === "trading" && <TradingPanel />}
{currentItem?.category === "calendar" && (