feat: add Drawfast to toolbar (dev only)

Added Drawfast button to toolbar between VideoGen and Map.
Only visible in development mode.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2025-12-26 17:03:44 -05:00
parent bf9c9fad93
commit 0273133e0a
1 changed files with 9 additions and 0 deletions

View File

@ -21,6 +21,7 @@ import WorkflowPalette from "../components/workflow/WorkflowPalette"
const IS_PRODUCTION = import.meta.env.PROD const IS_PRODUCTION = import.meta.env.PROD
const ENABLE_WORKFLOW = !IS_PRODUCTION // Workflow blocks - dev only const ENABLE_WORKFLOW = !IS_PRODUCTION // Workflow blocks - dev only
const ENABLE_CALENDAR = !IS_PRODUCTION // Calendar - dev only const ENABLE_CALENDAR = !IS_PRODUCTION // Calendar - dev only
const ENABLE_DRAWFAST = !IS_PRODUCTION // Drawfast - dev only
import { getFathomApiKey, saveFathomApiKey, removeFathomApiKey, isFathomApiKeyConfigured } from "../lib/fathomApiKey" import { getFathomApiKey, saveFathomApiKey, removeFathomApiKey, isFathomApiKeyConfigured } from "../lib/fathomApiKey"
import { getMyConnections, updateEdgeMetadata, createConnection, removeConnection, updateTrustLevel } from "../lib/networking/connectionService" import { getMyConnections, updateEdgeMetadata, createConnection, removeConnection, updateTrustLevel } from "../lib/networking/connectionService"
import { TRUST_LEVEL_COLORS, type TrustLevel, type UserConnectionWithProfile, type EdgeMetadata } from "../lib/networking/types" import { TRUST_LEVEL_COLORS, type TrustLevel, type UserConnectionWithProfile, type EdgeMetadata } from "../lib/networking/types"
@ -770,6 +771,14 @@ export function CustomToolbar() {
isSelected={tools["VideoGen"].id === editor.getCurrentToolId()} isSelected={tools["VideoGen"].id === editor.getCurrentToolId()}
/> />
)} )}
{ENABLE_DRAWFAST && tools["Drawfast"] && (
<TldrawUiMenuItem
{...tools["Drawfast"]}
icon="blob"
label="Drawfast (AI Sketch)"
isSelected={tools["Drawfast"].id === editor.getCurrentToolId()}
/>
)}
{/* Terminal (Multmux) - temporarily hidden until in better working state {/* Terminal (Multmux) - temporarily hidden until in better working state
{tools["Multmux"] && ( {tools["Multmux"] && (
<TldrawUiMenuItem <TldrawUiMenuItem