Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

feat([issue-713]): collapse sidebar to primary domains + More tail

Adam Eivy785381ffb94b
diff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsx
index ff215fda5d..de36ffa7b5 100644
--- a/client/src/components/Layout.jsx
+++ b/client/src/components/Layout.jsx
@@ -133,6 +133,7 @@ const navItems = [
{ to: '/brain/config', label: 'Config', icon: Settings },
{ to: '/brain/daily-log', label: 'Daily Log', icon: NotebookPen },
{ to: '/brain/digest', label: 'Digest', icon: Calendar },
+ { to: '/messages/drafts', label: 'Drafts', icon: FilePen },
{ to: '/brain/feeds', label: 'Feeds', icon: Rss },
{ to: '/brain/graph', label: 'Graph', icon: Network },
{ to: '/brain/import', label: 'Import', icon: Upload },
@@ -140,10 +141,16 @@ const navItems = [
{ to: '/insights/overview', label: 'Insights', icon: Lightbulb },
{ to: '/brain/links', label: 'Links', icon: Link2 },
{ to: '/brain/memory', label: 'Memory', icon: Database },
+ { to: '/messages/inbox', label: 'Messages', icon: Inbox },
+ { to: '/messages/config', label: 'Messages Config', icon: Settings },
+ { to: '/messages/sync', label: 'Messages Sync', icon: RefreshCw },
{ to: '/brain/notes', label: 'Notes', icon: FileText },
+ { to: '/openclaw', label: 'OpenClaw', icon: MessagesSquare },
{ to: '/rapid-reader', label: 'Rapid Reader', icon: Zap },
- { to: '/brain/trust', label: 'Trust', icon: Shield }
- ]
+ { to: '/agents', label: 'Social Agents', icon: Users },
+ { to: '/brain/trust', label: 'Trust', icon: Shield },
+ { to: '/wiki/overview', label: 'Wiki', icon: BookOpen },
+ ],
},
{
label: 'Calendar',
@@ -156,8 +163,8 @@ const navItems = [
{ to: '/calendar/month', label: 'Month', icon: CalendarDays },
{ to: '/calendar/review', label: 'Review', icon: ClipboardList },
{ to: '/calendar/sync', label: 'Sync', icon: RefreshCw },
- { to: '/calendar/week', label: 'Week', icon: CalendarDays }
- ]
+ { to: '/calendar/week', label: 'Week', icon: CalendarDays },
+ ],
},
{
label: 'Chief of Staff',
@@ -175,22 +182,10 @@ const navItems = [
{ to: '/cos/memory', label: 'Memory', icon: Brain },
{ to: '/cos/schedule', label: 'Schedule', icon: Clock },
{ to: '/cos/productivity', label: 'Streaks', icon: Flame },
+ { to: '/cos/jobs', label: 'System Tasks', icon: Bot },
{ to: '/cos/tasks', label: 'Tasks', icon: FileText },
- { to: '/cos/workflow', label: 'Workflow', icon: WorkflowIcon }
- ]
- },
- {
- label: 'Comms',
- icon: MessagesSquare,
- defaultTo: '/messages/inbox',
- children: [
- { to: '/messages/config', label: 'Config', icon: Settings },
- { to: '/messages/drafts', label: 'Drafts', icon: FilePen },
- { to: '/messages/inbox', label: 'Inbox', icon: Inbox },
- { to: '/openclaw', label: 'OpenClaw', icon: MessagesSquare },
- { to: '/agents', label: 'Social Agents', icon: Users },
- { to: '/messages/sync', label: 'Sync', icon: RefreshCw }
- ]
+ { to: '/cos/workflow', label: 'Workflow', icon: WorkflowIcon },
+ ],
},
{
label: 'Create',
@@ -204,8 +199,8 @@ const navItems = [
{ to: '/sharing', label: 'Sharing', icon: Share2 },
{ to: '/story-builder', label: 'Story Builder', icon: Wand2 },
{ to: '/universes', label: 'Universes', icon: Globe, dynamic: 'universes' },
- { to: '/writers-room', label: 'Writers Room', icon: NotebookPen }
- ]
+ { to: '/writers-room', label: 'Writers Room', icon: NotebookPen },
+ ],
},
{
label: 'Dev Tools',
@@ -213,72 +208,48 @@ const navItems = [
children: [
{ to: '/devtools/agents', label: 'AI Agents', icon: Cpu },
{ to: '/devtools/runs', label: 'AI Runs', icon: Play },
+ { to: '/ambient', label: 'Ambient', icon: Sparkles },
{ href: '//:5560', label: 'Autofixer', icon: Wrench, external: true, dynamicHost: true },
{ to: '/browser', label: 'Browser', icon: Globe },
+ { to: '/capabilities', label: 'Capabilities', icon: Compass },
{ to: '/devtools/runner', label: 'Code', icon: Code2 },
+ { to: '/data', label: 'Data', icon: HardDrive },
{ to: '/devtools/datadog', label: 'DataDog', icon: Dog },
{ to: '/feature-agents', label: 'Feature Agents', icon: Wand2 },
{ to: '/devtools/github', label: 'GitHub', icon: Github },
{ to: '/devtools/history', label: 'History', icon: History },
{ to: '/devtools/image-clean', label: 'Image Cleaner', icon: Eraser },
+ { to: '/instances', label: 'Instances', icon: Network },
{ to: '/devtools/jira', label: 'JIRA', icon: Ticket },
{ to: '/devtools/jira/reports', label: 'JIRA Reports', icon: FileText },
+ { to: '/loops', label: 'Loops', icon: RefreshCw },
+ { to: '/devtools/processes', label: 'Processes', icon: Activity },
+ { to: '/security', label: 'Security', icon: Camera },
{ to: '/shell', label: 'Shell', icon: SquareTerminal },
{ to: '/devtools/submodules', label: 'Submodules', icon: GitBranch },
- { to: '/devtools/usage', label: 'Usage', icon: BarChart3 }
- ]
+ { to: '/system-health', label: 'System Health', icon: Activity },
+ { to: '/uploads', label: 'Uploads', icon: Upload },
+ { to: '/devtools/usage', label: 'Usage', icon: BarChart3 },
+ ],
},
+ { to: '/goals/list', label: 'Goals', icon: Target, single: true },
{
- label: 'Digital Twin',
+ label: 'Health',
icon: Heart,
- defaultTo: '/digital-twin/overview',
- children: [
- { to: '/digital-twin/accounts', label: 'Accounts', icon: Globe },
- { to: '/ask', label: 'Ask Yourself', icon: MessageCircle },
- { to: '/digital-twin/autobiography', label: 'Autobiography', icon: PenLine },
- { to: '/character', label: 'Character', icon: Swords },
- { to: '/digital-twin/documents', label: 'Documents', icon: FileText },
- { to: '/digital-twin/enrich', label: 'Enrich', icon: Sparkles },
- { to: '/digital-twin/export', label: 'Export', icon: Download },
- { to: '/goals/list', label: 'Goals', icon: Target },
- { to: '/digital-twin/identity', label: 'Identity', icon: Fingerprint },
- { to: '/digital-twin/import', label: 'Import', icon: Upload },
- { to: '/digital-twin/interview', label: 'Interview', icon: MessageSquare },
- { to: '/digital-twin/overview', label: 'Overview', icon: Heart },
- { to: '/digital-twin/taste', label: 'Taste', icon: Palette },
- { to: '/digital-twin/test', label: 'Test', icon: CheckCircle },
- { to: '/digital-twin/time-capsule', label: 'Time Capsule', icon: Archive }
- ]
- },
- {
- label: 'MeatSpace',
- icon: Skull,
defaultTo: '/meatspace/overview',
children: [
{ to: '/meatspace/age', label: 'Age', icon: Clock },
{ to: '/meatspace/alcohol', label: 'Alcohol', icon: Activity },
{ to: '/meatspace/blood', label: 'Blood', icon: HeartPulse },
{ to: '/meatspace/body', label: 'Body', icon: Scale },
+ { to: '/meatspace/health', label: 'Body Health', icon: Heart },
{ to: '/meatspace/export', label: 'Export', icon: FileText },
{ to: '/meatspace/genome', label: 'Genome', icon: Dna },
- { to: '/meatspace/health', label: 'Body Health', icon: Heart },
{ to: '/meatspace/lifestyle', label: 'Lifestyle', icon: ClipboardList },
{ to: '/meatspace/nicotine', label: 'Nicotine', icon: Cigarette },
{ to: '/meatspace/overview', label: 'Overview', icon: Activity },
- { to: '/meatspace/settings', label: 'Settings', icon: Settings }
- ]
- },
- {
- label: 'POST',
- icon: Zap,
- defaultTo: '/post/launcher',
- children: [
- { to: '/post/config', label: 'Config', icon: Settings },
- { to: '/post/history', label: 'History', icon: History },
- { to: '/post/launcher', label: 'Launcher', icon: Play },
- { to: '/post/memory', label: 'Memory', icon: Brain },
- { to: '/post/wordplay', label: 'Wordplay', icon: MessageCircle },
- ]
+ { to: '/meatspace/settings', label: 'Settings', icon: Settings },
+ ],
},
{
label: 'Settings',
@@ -296,35 +267,43 @@ const navItems = [
{ to: '/settings/security', label: 'Security', icon: Lock },
{ to: '/settings/sharing', label: 'Sharing', icon: Share2 },
{ to: '/settings/telegram', label: 'Telegram', icon: MessageSquare },
- { to: '/settings/voice', label: 'Voice', icon: Mic }
- ]
+ { to: '/settings/voice', label: 'Voice', icon: Mic },
+ ],
},
+ { moreLabel: true },
{
- label: 'System',
- icon: HardDrive,
- defaultTo: '/data',
+ label: 'Identity',
+ icon: Fingerprint,
+ defaultTo: '/digital-twin/overview',
children: [
- { to: '/capabilities', label: 'Capabilities', icon: Compass },
- { to: '/data', label: 'Data', icon: HardDrive },
- { to: '/instances', label: 'Instances', icon: Network },
- { to: '/loops', label: 'Loops', icon: RefreshCw },
- { to: '/devtools/processes', label: 'Processes', icon: Activity },
- { to: '/security', label: 'Security', icon: Camera },
- { to: '/cos/jobs', label: 'System Tasks', icon: Bot },
- { to: '/uploads', label: 'Uploads', icon: Upload }
- ]
+ { to: '/digital-twin/accounts', label: 'Accounts', icon: Globe },
+ { to: '/ask', label: 'Ask Yourself', icon: MessageCircle },
+ { to: '/digital-twin/autobiography', label: 'Autobiography', icon: PenLine },
+ { to: '/character', label: 'Character', icon: Swords },
+ { to: '/digital-twin/documents', label: 'Documents', icon: FileText },
+ { to: '/digital-twin/enrich', label: 'Enrich', icon: Sparkles },
+ { to: '/digital-twin/export', label: 'Export', icon: Download },
+ { to: '/digital-twin/identity', label: 'Identity', icon: Fingerprint },
+ { to: '/digital-twin/import', label: 'Import', icon: Upload },
+ { to: '/digital-twin/interview', label: 'Interview', icon: MessageSquare },
+ { to: '/digital-twin/overview', label: 'Overview', icon: Heart },
+ { to: '/digital-twin/taste', label: 'Taste', icon: Palette },
+ { to: '/digital-twin/test', label: 'Test', icon: CheckCircle },
+ { to: '/digital-twin/time-capsule', label: 'Time Capsule', icon: Archive },
+ ],
},
{
- label: 'Wiki',
- icon: BookOpen,
+ label: 'POST',
+ icon: Zap,
+ defaultTo: '/post/launcher',
children: [
- { to: '/wiki/overview', label: 'Overview', icon: BarChart3 },
- { to: '/wiki/browse', label: 'Browse', icon: FileText },
- { to: '/wiki/graph', label: 'Graph', icon: Network },
- { to: '/wiki/log', label: 'Log', icon: Activity },
- { to: '/wiki/search', label: 'Search', icon: Search }
- ]
- }
+ { to: '/post/config', label: 'Config', icon: Settings },
+ { to: '/post/history', label: 'History', icon: History },
+ { to: '/post/launcher', label: 'Launcher', icon: Play },
+ { to: '/post/memory', label: 'Memory', icon: Brain },
+ { to: '/post/wordplay', label: 'Wordplay', icon: MessageCircle },
+ ],
+ },
];
const SIDEBAR_KEY = 'portos-sidebar-collapsed';
@@ -590,6 +569,11 @@ export default function Layout() {
);
}
+ // "More" section divider (Task 5 will add pin/recent logic here)
+ if (item.moreLabel) {
+ return <div key="more-label" className="mx-4 mt-3 mb-1 pt-2 border-t border-port-border text-[10px] font-semibold uppercase tracking-wide text-gray-500">More</div>;
+ }
+
const Icon = item.icon;
// External link