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

fix: alphabetize sidebar navigation items and document convention

Adam Eivy630e6c35ebc9
diff --git a/CLAUDE.md b/CLAUDE.md
index 57c8db8cb2..224b846632 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -77,6 +77,7 @@ When CoS agents or AI tools work on managed apps outside PortOS, all research, p
- **Zod validation** - all route inputs validated via `lib/validation.js`
- **Command allowlist** - shell execution restricted to approved commands only
- **No hardcoded localhost** - use `window.location.hostname` for URLs; app accessed via Tailscale remotely
+- **Alphabetical navigation** - sidebar nav items in `Layout.jsx` are alphabetically ordered after the Dashboard+CyberCity top section and separator; children within collapsible sections are also alphabetical
- **Single-line logging** - use emoji prefixes and string interpolation, never log full JSON blobs or arrays
```js
console.log(`🚀 Server started on port ${PORT}`);
diff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsx
index 8e7d9f4827..665293f548 100644
--- a/client/src/components/Layout.jsx
+++ b/client/src/components/Layout.jsx
@@ -59,25 +59,23 @@ const navItems = [
]
},
{ to: '/apps', label: 'Apps', icon: Package, single: true },
- { to: '/instances', label: 'Instances', icon: Network, single: true },
{ href: '//:5560', label: 'Autofixer', icon: Wrench, external: true, dynamicHost: true },
{ to: '/browser', label: 'Browser', icon: Globe, single: true },
- { to: '/jira', label: 'JIRA', icon: Ticket, single: true },
{
label: 'Chief of Staff',
icon: Crown,
showBadge: true,
children: [
- { to: '/cos/briefing', label: 'Briefing', icon: Newspaper },
- { to: '/cos/tasks', label: 'Tasks', icon: FileText },
{ to: '/cos/agents', label: 'Agents', icon: Cpu },
- { to: '/cos/scripts', label: 'Scripts', icon: Terminal },
- { to: '/cos/schedule', label: 'Schedule', icon: Clock },
+ { to: '/cos/briefing', label: 'Briefing', icon: Newspaper },
+ { to: '/cos/config', label: 'Config', icon: Settings },
{ to: '/cos/digest', label: 'Digest', icon: Calendar },
+ { to: '/cos/health', label: 'Health', icon: Activity },
{ to: '/cos/learning', label: 'Learning', icon: GraduationCap },
{ to: '/cos/memory', label: 'Memory', icon: Brain },
- { to: '/cos/health', label: 'Health', icon: Activity },
- { to: '/cos/config', label: 'Config', icon: Settings }
+ { to: '/cos/schedule', label: 'Schedule', icon: Clock },
+ { to: '/cos/scripts', label: 'Scripts', icon: Terminal },
+ { to: '/cos/tasks', label: 'Tasks', icon: FileText }
]
},
{
@@ -101,6 +99,8 @@ const navItems = [
{ to: '/digital-twin', label: 'Digital Twin', icon: Heart }
]
},
+ { to: '/instances', label: 'Instances', icon: Network, single: true },
+ { to: '/jira', label: 'JIRA', icon: Ticket, single: true },
{ to: '/security', label: 'Security', icon: Camera, single: true },
{ to: '/shell', label: 'Shell', icon: SquareTerminal, single: true },
{ to: '/uploads', label: 'Uploads', icon: Upload, single: true }