From 421e7425904ea0b63620d63c31af643a048ca5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Thu, 27 Aug 2026 17:05:50 +0100 Subject: [PATCH] a dock tile for /bots, which had a screen and no way in MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Officer-Session: 656f5c85-e49a-4f1f-b9f3-042a04b4d043 --- .../Screens/Dashboard/Layout/Dock.tsx | 27 +++++++++++-------- src/apps/officer-web/locales/de-DE.json | 1 + src/apps/officer-web/locales/en-GB.json | 1 + src/apps/officer-web/locales/es-ES.json | 1 + src/apps/officer-web/locales/fr-FR.json | 1 + src/apps/officer-web/locales/pt-PT.json | 1 + src/apps/officer-web/locales/sv-SE.json | 1 + 7 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/apps/officer-web/Screens/Dashboard/Layout/Dock.tsx b/src/apps/officer-web/Screens/Dashboard/Layout/Dock.tsx index 3efb187a..750d7fa0 100644 --- a/src/apps/officer-web/Screens/Dashboard/Layout/Dock.tsx +++ b/src/apps/officer-web/Screens/Dashboard/Layout/Dock.tsx @@ -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' }, diff --git a/src/apps/officer-web/locales/de-DE.json b/src/apps/officer-web/locales/de-DE.json index b0a5d800..fc58daf9 100644 --- a/src/apps/officer-web/locales/de-DE.json +++ b/src/apps/officer-web/locales/de-DE.json @@ -463,6 +463,7 @@ "files": "Dateien", "chat": "Chat", "commandHq": "Command HQ", + "bots": "Bots", "editor": "Editor", "jobs": "Jobs", "terminal": "Terminal", diff --git a/src/apps/officer-web/locales/en-GB.json b/src/apps/officer-web/locales/en-GB.json index f9f84934..6e8f8582 100644 --- a/src/apps/officer-web/locales/en-GB.json +++ b/src/apps/officer-web/locales/en-GB.json @@ -463,6 +463,7 @@ "files": "Files", "chat": "Chat", "commandHq": "Command HQ", + "bots": "Bots", "editor": "Editor", "jobs": "Jobs", "terminal": "Terminal", diff --git a/src/apps/officer-web/locales/es-ES.json b/src/apps/officer-web/locales/es-ES.json index eedfc4fb..917e6392 100644 --- a/src/apps/officer-web/locales/es-ES.json +++ b/src/apps/officer-web/locales/es-ES.json @@ -463,6 +463,7 @@ "files": "Archivos", "chat": "Chat", "commandHq": "Command HQ", + "bots": "Bots", "editor": "Editor", "jobs": "Trabajos", "terminal": "Terminal", diff --git a/src/apps/officer-web/locales/fr-FR.json b/src/apps/officer-web/locales/fr-FR.json index 7989ae4c..1ae943f7 100644 --- a/src/apps/officer-web/locales/fr-FR.json +++ b/src/apps/officer-web/locales/fr-FR.json @@ -463,6 +463,7 @@ "files": "Fichiers", "chat": "Chat", "commandHq": "Command HQ", + "bots": "Bots", "editor": "Éditeur", "jobs": "Jobs", "terminal": "Terminal", diff --git a/src/apps/officer-web/locales/pt-PT.json b/src/apps/officer-web/locales/pt-PT.json index a354278e..399d9001 100644 --- a/src/apps/officer-web/locales/pt-PT.json +++ b/src/apps/officer-web/locales/pt-PT.json @@ -463,6 +463,7 @@ "files": "Ficheiros", "chat": "Chat", "commandHq": "Command HQ", + "bots": "Bots", "editor": "Editor", "jobs": "Trabalhos", "terminal": "Terminal", diff --git a/src/apps/officer-web/locales/sv-SE.json b/src/apps/officer-web/locales/sv-SE.json index 25946f80..c895fd27 100644 --- a/src/apps/officer-web/locales/sv-SE.json +++ b/src/apps/officer-web/locales/sv-SE.json @@ -463,6 +463,7 @@ "files": "Filer", "chat": "Chatt", "commandHq": "Command HQ", + "bots": "Bots", "editor": "Editor", "jobs": "Jobb", "terminal": "Terminal",