a dock tile for /bots, which had a screen and no way in
the route, the screen and the list have existed since bots did — `/bots` and `/bots/:sessionId` are both in App.tsx. what was missing was any way to GET there: no entry in CORE_DOCK_ITEMS, so it could not even be added to a dock, and no `nav.bots` label in any of the six locales. placed beside Command HQ, which is the neighbouring idea: a commander runs a job, a bot watches one thing. left as "Bots" in all six locales — a borrowed technical noun, and inventing translations for it would be worse than not. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Officer-Session: 656f5c85-e49a-4f1f-b9f3-042a04b4d043
This commit is contained in:
@@ -142,22 +142,23 @@ export const Dock = ({ items, className, boundaryRef }: DockProps) => {
|
||||
};
|
||||
|
||||
import {
|
||||
Home,
|
||||
MessageCircle,
|
||||
FolderOpen,
|
||||
Code,
|
||||
LayoutGrid,
|
||||
Monitor,
|
||||
Globe,
|
||||
Workflow,
|
||||
Music,
|
||||
Activity,
|
||||
Radio,
|
||||
Bot,
|
||||
Code,
|
||||
FolderOpen,
|
||||
GitBranch,
|
||||
Store,
|
||||
Globe,
|
||||
Home,
|
||||
LayoutGrid,
|
||||
MessageCircle,
|
||||
Monitor,
|
||||
Music,
|
||||
Puzzle,
|
||||
Radar,
|
||||
Radio,
|
||||
Send,
|
||||
Store,
|
||||
Workflow,
|
||||
} from 'lucide-react';
|
||||
|
||||
/**
|
||||
@@ -176,6 +177,10 @@ export const CORE_DOCK_ITEMS: CoreDockItem[] = [
|
||||
{ labelKey: 'nav.files', to: '/files', icon: FolderOpen, color: '#fbbf24' },
|
||||
{ labelKey: 'nav.chat', to: '/chat', icon: MessageCircle, color: '#60a5fa' },
|
||||
{ labelKey: 'nav.commandHq', to: '/command-hq', icon: Radar, color: '#f43f5e' },
|
||||
// Beside Command HQ, which is the neighbouring idea: a commander runs a job, a bot watches one thing.
|
||||
// The route and the screen have existed since bots did; there was simply never a tile, so the only way
|
||||
// to reach /bots was to type it.
|
||||
{ labelKey: 'nav.bots', to: '/bots', icon: Bot, color: '#34d399' },
|
||||
{ labelKey: 'nav.editor', to: '/code-editor', icon: Code, color: '#a78bfa' },
|
||||
{ labelKey: 'nav.jobs', to: '/jobs', icon: Workflow, color: '#14b8a6' },
|
||||
{ labelKey: 'nav.terminal', to: '/terminal', icon: Monitor, color: '#f97316' },
|
||||
|
||||
@@ -463,6 +463,7 @@
|
||||
"files": "Dateien",
|
||||
"chat": "Chat",
|
||||
"commandHq": "Command HQ",
|
||||
"bots": "Bots",
|
||||
"editor": "Editor",
|
||||
"jobs": "Jobs",
|
||||
"terminal": "Terminal",
|
||||
|
||||
@@ -463,6 +463,7 @@
|
||||
"files": "Files",
|
||||
"chat": "Chat",
|
||||
"commandHq": "Command HQ",
|
||||
"bots": "Bots",
|
||||
"editor": "Editor",
|
||||
"jobs": "Jobs",
|
||||
"terminal": "Terminal",
|
||||
|
||||
@@ -463,6 +463,7 @@
|
||||
"files": "Archivos",
|
||||
"chat": "Chat",
|
||||
"commandHq": "Command HQ",
|
||||
"bots": "Bots",
|
||||
"editor": "Editor",
|
||||
"jobs": "Trabajos",
|
||||
"terminal": "Terminal",
|
||||
|
||||
@@ -463,6 +463,7 @@
|
||||
"files": "Fichiers",
|
||||
"chat": "Chat",
|
||||
"commandHq": "Command HQ",
|
||||
"bots": "Bots",
|
||||
"editor": "Éditeur",
|
||||
"jobs": "Jobs",
|
||||
"terminal": "Terminal",
|
||||
|
||||
@@ -463,6 +463,7 @@
|
||||
"files": "Ficheiros",
|
||||
"chat": "Chat",
|
||||
"commandHq": "Command HQ",
|
||||
"bots": "Bots",
|
||||
"editor": "Editor",
|
||||
"jobs": "Trabalhos",
|
||||
"terminal": "Terminal",
|
||||
|
||||
@@ -463,6 +463,7 @@
|
||||
"files": "Filer",
|
||||
"chat": "Chatt",
|
||||
"commandHq": "Command HQ",
|
||||
"bots": "Bots",
|
||||
"editor": "Editor",
|
||||
"jobs": "Jobb",
|
||||
"terminal": "Terminal",
|
||||
|
||||
Reference in New Issue
Block a user