[eric] dock: drop the New-chat tile (the always-present spawn pill already owns that action)

This commit is contained in:
ciregenz
2026-07-29 19:59:27 -07:00
parent 776f4068f3
commit 5b9d0dcce6
2 changed files with 1 additions and 6 deletions
@@ -296,7 +296,6 @@ const DashboardCanvas: React.FC<DashboardCanvasProps> = ({
onHighlightCard?.(cardId);
}}
onApplications={() => setAppsWindowOpen((v) => !v)}
onNewAgent={onNewAgent}
onAddBrowser={onAddBrowser}
onAddNote={onAddNote}
/>
@@ -3,7 +3,6 @@ import Box from '@mui/material/Box';
import Tooltip from '@mui/material/Tooltip';
import Typography from '@mui/material/Typography';
import LanguageIcon from '@mui/icons-material/Language';
import ChatBubbleOutlineIcon from '@mui/icons-material/ChatBubbleOutline';
import EventRepeatIcon from '@mui/icons-material/EventRepeat';
import StickyNote2OutlinedIcon from '@mui/icons-material/StickyNote2Outlined';
import HistoryIcon from '@mui/icons-material/History';
@@ -35,7 +34,6 @@ interface DesktopDockProps {
selectedIds: string[];
onFocusCard: (id: string, rect: CardRect) => void;
onApplications: () => void;
onNewAgent: () => void;
onAddBrowser: () => void;
onAddNote: () => void;
}
@@ -55,7 +53,6 @@ function DesktopDock({
selectedIds,
onFocusCard,
onApplications,
onNewAgent,
onAddBrowser,
onAddNote,
}: DesktopDockProps): React.ReactElement | null {
@@ -205,9 +202,8 @@ function DesktopDock({
{entries.length > 0 && (
<Box sx={{ width: TILE - 8, height: '1px', background: 'rgba(255,255,255,0.14)' }} />
)}
{/* The og toolbar's actions, dock-resident: chat, browser, workflow, note, history, then settings + apps below their own divider. */}
{/* The og toolbar's actions, dock-resident: browser, workflow, note, history, then settings + apps below their own divider. No New-chat tile; the spawn pill at the bottom is always there. */}
{([
{ label: 'New chat', icon: <ChatBubbleOutlineIcon sx={{ fontSize: 16, color: '#e8e8ee' }} />, act: onNewAgent },
{ label: 'New browser', icon: <LanguageIcon sx={{ fontSize: 17, color: '#e8e8ee' }} />, act: onAddBrowser },
{ label: 'Workflows', icon: <EventRepeatIcon sx={{ fontSize: 16, color: '#e8e8ee' }} />, act: () => dispatch(openWorkflowsApp()) },
{ label: 'New note', icon: <StickyNote2OutlinedIcon sx={{ fontSize: 16, color: '#e8e8ee' }} />, act: onAddNote },