You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Chat panel: nodespace:// link click should open new tab, Cmd+click new pane #1038
When clicking nodespace:// links in AI chat responses, the current behavior replaces the chat tab content with the node viewer, which loses the chat conversation. The expected behavior:
Regular click → Open node in a new tab (same pane), keeping the chat tab
Cmd+Click → Open node in a new pane (split view)
Current Behavior
Regular click: Replaces the active (chat) tab with the node viewer — chat conversation is lost
Cmd+Click: Opens in new tab (works correctly)
Root Cause
The global click handler in app-shell.svelte calls navigateToNode(nodeId, openInNewTab) where openInNewTab is only true when modifier keys are pressed. For a regular click from the chat panel, it updates the current tab content, replacing the chat.
Acceptance Criteria
Regular click on nodespace:// link in chat opens node in a new tab (same pane)
Cmd+Click opens node in a new pane (split view)
Chat tab remains open and conversation is preserved
Behavior only applies to clicks originating from the chat panel (other viewers keep existing behavior)
Implementation Notes
The global handler in app-shell.svelte:378 could check if the click originated from within a chat panel (e.g., target.closest('.chat-panel')) and adjust the navigation behavior accordingly. Or the chat-markdown component could handle clicks locally with the correct behavior.
Files
packages/desktop-app/src/lib/components/layout/app-shell.svelte — global click handler
Activity
WIP: ACP integration complete, local LLM integration next
feat: Complete AI chat integration — ACP agents + local LLM with tool…
malibio commentedon Apr 5, 2026
Baseline: 124 test files passed, 3849 tests passed (Duration 34.48s)
feat: Chat panel links open new tab on click, new pane on Cmd+click (c…
feat: Complete AI chat integration — ACP agents + local LLM with tool…
Chat panel: nodespace:// link click should open new tab, Cmd+click ne…