fix: dashboard and omnibar route to /assistant chat, not /pilot guided flow
Aligns with copilot-first GTM direction — the dashboard chat input and CommandPalette "Troubleshoot with FlowPilot" now launch the conversational AI chat (/assistant), not the structured diagnostic flow (/pilot). Guided flows remain accessible from the sidebar "Flows" section. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -44,7 +44,7 @@ export function StartSessionInput() {
|
|||||||
if (logContent.trim()) {
|
if (logContent.trim()) {
|
||||||
state.logs = logContent.trim()
|
state.logs = logContent.trim()
|
||||||
}
|
}
|
||||||
navigate('/pilot', { state })
|
navigate('/assistant', { state })
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleKeyDown = (e: React.KeyboardEvent) => {
|
const handleKeyDown = (e: React.KeyboardEvent) => {
|
||||||
@@ -55,7 +55,7 @@ export function StartSessionInput() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const handleSuggestionClick = (suggestion: string) => {
|
const handleSuggestionClick = (suggestion: string) => {
|
||||||
navigate('/pilot', { state: { prefill: suggestion } })
|
navigate('/assistant', { state: { prefill: suggestion } })
|
||||||
}
|
}
|
||||||
|
|
||||||
// ── File handling ──────────────────────────────
|
// ── File handling ──────────────────────────────
|
||||||
|
|||||||
@@ -177,7 +177,7 @@ export function CommandPalette({ open, onClose }: CommandPaletteProps) {
|
|||||||
group: 'flowpilot',
|
group: 'flowpilot',
|
||||||
title: 'Troubleshoot with FlowPilot',
|
title: 'Troubleshoot with FlowPilot',
|
||||||
subtitle: trimmed,
|
subtitle: trimmed,
|
||||||
path: '/pilot',
|
path: '/assistant',
|
||||||
icon: 'sparkles',
|
icon: 'sparkles',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user