Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

feat(dino): give the New dino game action its own dino icon

enes7b91bbeebaed
diff --git a/src/renderer/canvas/Canvas.tsx b/src/renderer/canvas/Canvas.tsx
index 962f93c19..a070727a5 100644
--- a/src/renderer/canvas/Canvas.tsx
+++ b/src/renderer/canvas/Canvas.tsx
@@ -34,6 +34,7 @@ import {
IconFit,
IconGrid,
IconGroup,
+ IconDino,
IconJump,
IconMarkdown,
IconNote,
@@ -1719,7 +1720,7 @@ export function Canvas() {
})
),
{ label: 'New sticky note', icon: <IconNote />, onClick: () => addSticky(at) },
- { label: 'New dino game', icon: <IconNote />, onClick: () => addDino(at) },
+ { label: 'New dino game', icon: <IconDino />, onClick: () => addDino(at) },
{ label: 'Open file…', icon: <IconEditor />, onClick: () => void openFileDialog(at) },
{
label: 'New remote…',
@@ -2217,7 +2218,7 @@ export function Canvas() {
})
),
{ id: 'new-sticky', label: 'New sticky note', icon: <IconNote />, run: () => addSticky() },
- { id: 'new-dino', label: 'New dino game', icon: <IconNote />, run: () => addDino() },
+ { id: 'new-dino', label: 'New dino game', icon: <IconDino />, run: () => addDino() },
{ id: 'open-file', label: 'Open file…', icon: <IconEditor />, run: () => void openFileDialog() },
...useSshServers.getState().servers.map(
(srv): Command => ({
diff --git a/src/renderer/components/Dock.tsx b/src/renderer/components/Dock.tsx
index a16d01265..1a5b8c24c 100644
--- a/src/renderer/components/Dock.tsx
+++ b/src/renderer/components/Dock.tsx
@@ -89,7 +89,7 @@ export function Dock({
<span>Sticky Note</span>
</button>
<button onClick={pick(onAddDino)}>
- <NoteIcon />
+ <DinoIcon />
<span>Dino Game</span>
</button>
<button onClick={pick(onOpenFile)}>
@@ -213,6 +213,19 @@ function NoteIcon() {
</svg>
)
}
+function DinoIcon() {
+ return (
+ <svg width={18} height={18} viewBox="0 0 24 24" fill="currentColor" stroke="none">
+ <rect x="3" y="11" width="6" height="3" />
+ <rect x="8" y="9" width="11" height="7" />
+ <rect x="14" y="3" width="7" height="7" />
+ <rect x="21" y="7" width="2" height="2" />
+ <rect x="18" y="12" width="2" height="3" />
+ <rect x="9" y="16" width="2" height="5" />
+ <rect x="14" y="16" width="2" height="5" />
+ </svg>
+ )
+}
function EditorIcon() {
return (
<svg {...S}>
diff --git a/src/renderer/components/icons.tsx b/src/renderer/components/icons.tsx
index 31db6e008..1e0f0562a 100644
--- a/src/renderer/components/icons.tsx
+++ b/src/renderer/components/icons.tsx
@@ -24,6 +24,19 @@ export const IconNote = () => (
</svg>
)
+export const IconDino = () => (
+ <svg width={16} height={16} viewBox="0 0 24 24" fill="currentColor" stroke="none">
+ {/* Blocky right-facing T-Rex silhouette (tail, body, head+snout, arm, legs). */}
+ <rect x="3" y="11" width="6" height="3" />
+ <rect x="8" y="9" width="11" height="7" />
+ <rect x="14" y="3" width="7" height="7" />
+ <rect x="21" y="7" width="2" height="2" />
+ <rect x="18" y="12" width="2" height="3" />
+ <rect x="9" y="16" width="2" height="5" />
+ <rect x="14" y="16" width="2" height="5" />
+ </svg>
+)
+
export const IconPlus = () => (
<svg {...S}>
<path d="M12 5v14M5 12h14" />