Add daily snapshots system (7 days)
This commit is contained in:
@@ -64,6 +64,7 @@ const sidebarCategories: SidebarCategory[] = [
|
||||
]},
|
||||
{ id: "memory", name: "Memory", icon: "🧠", items: [
|
||||
{ id: "logs", name: "Session Logs", icon: "📝", category: "memory" },
|
||||
{ id: "snapshots", name: "Snapshots", icon: "📸", category: "snapshots" },
|
||||
]},
|
||||
{ id: "docs", name: "Docs", icon: "📚", items: [
|
||||
{ id: "docs-index", name: "Documentation", icon: "📚", category: "docs" },
|
||||
@@ -410,6 +411,45 @@ export default function MissionControlDashboard({ onLogout }: MissionControlDash
|
||||
<div className="space-y-2 text-sm text-white/70"><p>Memory is stored in:</p><ul className="text-white/50 space-y-1"><li>• localStorage (browser)</li><li>• GitHub repo (daily commits)</li><li>• MEMORY.md (curated)</li></ul></div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{currentItem?.category === "snapshots" && (
|
||||
<div className="rounded-xl border border-white/10 bg-white/5 p-6">
|
||||
<div className="flex items-center justify-between mb-4">
|
||||
<h3 className="text-lg font-semibold">📸 Daily Snapshots</h3>
|
||||
<span className="text-xs text-white/50">Last 7 days</span>
|
||||
</div>
|
||||
<p className="text-white/60 mb-4">Weekly snapshots of Mission Control state</p>
|
||||
<div className="space-y-2">
|
||||
<div className="p-3 rounded-lg bg-white/5 border border-white/10">
|
||||
<div className="flex items-center justify-between">
|
||||
<span className="text-sm font-medium">2026-02-22</span>
|
||||
<span className="text-xs text-green-400">✓ Saved</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="p-3 rounded-lg bg-white/5 border border-white/10">
|
||||
<div className="flex items-center justify-between">
|
||||
<span className="text-sm font-medium">2026-02-21</span>
|
||||
<span className="text-xs text-green-400">✓ Saved</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="p-3 rounded-lg bg-white/5 border border-white/10">
|
||||
<div className="flex items-center justify-between">
|
||||
<span className="text-sm font-medium">2026-02-20</span>
|
||||
<span className="text-xs text-green-400">✓ Saved</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="p-3 rounded-lg bg-white/5 border border-white/10 opacity-50">
|
||||
<div className="flex items-center justify-between">
|
||||
<span className="text-sm font-medium">2026-02-19</span>
|
||||
<span className="text-xs text-white/40">-</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p className="text-xs text-white/40 mt-4 text-center">
|
||||
Snapshots taken daily at midnight. Max 7 days retained.
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{currentItem?.category === "docs" && (
|
||||
<div className="rounded-xl border border-white/10 bg-white/5 p-6">
|
||||
|
||||
Reference in New Issue
Block a user