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 {
|
import {
|
||||||
Home,
|
|
||||||
MessageCircle,
|
|
||||||
FolderOpen,
|
|
||||||
Code,
|
|
||||||
LayoutGrid,
|
|
||||||
Monitor,
|
|
||||||
Globe,
|
|
||||||
Workflow,
|
|
||||||
Music,
|
|
||||||
Activity,
|
Activity,
|
||||||
Radio,
|
Bot,
|
||||||
|
Code,
|
||||||
|
FolderOpen,
|
||||||
GitBranch,
|
GitBranch,
|
||||||
Store,
|
Globe,
|
||||||
|
Home,
|
||||||
|
LayoutGrid,
|
||||||
|
MessageCircle,
|
||||||
|
Monitor,
|
||||||
|
Music,
|
||||||
Puzzle,
|
Puzzle,
|
||||||
Radar,
|
Radar,
|
||||||
|
Radio,
|
||||||
Send,
|
Send,
|
||||||
|
Store,
|
||||||
|
Workflow,
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -176,6 +177,10 @@ export const CORE_DOCK_ITEMS: CoreDockItem[] = [
|
|||||||
{ labelKey: 'nav.files', to: '/files', icon: FolderOpen, color: '#fbbf24' },
|
{ labelKey: 'nav.files', to: '/files', icon: FolderOpen, color: '#fbbf24' },
|
||||||
{ labelKey: 'nav.chat', to: '/chat', icon: MessageCircle, color: '#60a5fa' },
|
{ labelKey: 'nav.chat', to: '/chat', icon: MessageCircle, color: '#60a5fa' },
|
||||||
{ labelKey: 'nav.commandHq', to: '/command-hq', icon: Radar, color: '#f43f5e' },
|
{ 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.editor', to: '/code-editor', icon: Code, color: '#a78bfa' },
|
||||||
{ labelKey: 'nav.jobs', to: '/jobs', icon: Workflow, color: '#14b8a6' },
|
{ labelKey: 'nav.jobs', to: '/jobs', icon: Workflow, color: '#14b8a6' },
|
||||||
{ labelKey: 'nav.terminal', to: '/terminal', icon: Monitor, color: '#f97316' },
|
{ labelKey: 'nav.terminal', to: '/terminal', icon: Monitor, color: '#f97316' },
|
||||||
|
|||||||
@@ -463,6 +463,7 @@
|
|||||||
"files": "Dateien",
|
"files": "Dateien",
|
||||||
"chat": "Chat",
|
"chat": "Chat",
|
||||||
"commandHq": "Command HQ",
|
"commandHq": "Command HQ",
|
||||||
|
"bots": "Bots",
|
||||||
"editor": "Editor",
|
"editor": "Editor",
|
||||||
"jobs": "Jobs",
|
"jobs": "Jobs",
|
||||||
"terminal": "Terminal",
|
"terminal": "Terminal",
|
||||||
|
|||||||
@@ -463,6 +463,7 @@
|
|||||||
"files": "Files",
|
"files": "Files",
|
||||||
"chat": "Chat",
|
"chat": "Chat",
|
||||||
"commandHq": "Command HQ",
|
"commandHq": "Command HQ",
|
||||||
|
"bots": "Bots",
|
||||||
"editor": "Editor",
|
"editor": "Editor",
|
||||||
"jobs": "Jobs",
|
"jobs": "Jobs",
|
||||||
"terminal": "Terminal",
|
"terminal": "Terminal",
|
||||||
|
|||||||
@@ -463,6 +463,7 @@
|
|||||||
"files": "Archivos",
|
"files": "Archivos",
|
||||||
"chat": "Chat",
|
"chat": "Chat",
|
||||||
"commandHq": "Command HQ",
|
"commandHq": "Command HQ",
|
||||||
|
"bots": "Bots",
|
||||||
"editor": "Editor",
|
"editor": "Editor",
|
||||||
"jobs": "Trabajos",
|
"jobs": "Trabajos",
|
||||||
"terminal": "Terminal",
|
"terminal": "Terminal",
|
||||||
|
|||||||
@@ -463,6 +463,7 @@
|
|||||||
"files": "Fichiers",
|
"files": "Fichiers",
|
||||||
"chat": "Chat",
|
"chat": "Chat",
|
||||||
"commandHq": "Command HQ",
|
"commandHq": "Command HQ",
|
||||||
|
"bots": "Bots",
|
||||||
"editor": "Éditeur",
|
"editor": "Éditeur",
|
||||||
"jobs": "Jobs",
|
"jobs": "Jobs",
|
||||||
"terminal": "Terminal",
|
"terminal": "Terminal",
|
||||||
|
|||||||
@@ -463,6 +463,7 @@
|
|||||||
"files": "Ficheiros",
|
"files": "Ficheiros",
|
||||||
"chat": "Chat",
|
"chat": "Chat",
|
||||||
"commandHq": "Command HQ",
|
"commandHq": "Command HQ",
|
||||||
|
"bots": "Bots",
|
||||||
"editor": "Editor",
|
"editor": "Editor",
|
||||||
"jobs": "Trabalhos",
|
"jobs": "Trabalhos",
|
||||||
"terminal": "Terminal",
|
"terminal": "Terminal",
|
||||||
|
|||||||
@@ -463,6 +463,7 @@
|
|||||||
"files": "Filer",
|
"files": "Filer",
|
||||||
"chat": "Chatt",
|
"chat": "Chatt",
|
||||||
"commandHq": "Command HQ",
|
"commandHq": "Command HQ",
|
||||||
|
"bots": "Bots",
|
||||||
"editor": "Editor",
|
"editor": "Editor",
|
||||||
"jobs": "Jobb",
|
"jobs": "Jobb",
|
||||||
"terminal": "Terminal",
|
"terminal": "Terminal",
|
||||||
|
|||||||
Reference in New Issue
Block a user