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
Clarify focus manager isolation design for multi-pane editing #644
If Pane A focuses node-5, Pane B might also try to focus node-5
Unclear if this is intended (synchronized focus) or a bug
Question to Resolve
Should focus be synchronized across panes or isolated per-pane?
Option A: Synchronized Focus (Current)
Clicking node in any pane focuses it everywhere
Pro: Consistent editing experience
Con: Can't edit different nodes in different panes simultaneously
Option B: Isolated Focus (Per-Pane)
Each pane has independent focus state
Pro: Edit different nodes in split view simultaneously
Con: More complex focus management
Acceptance Criteria
Document the intended design decision (synchronized vs isolated)
If synchronized: Add code comments explaining this is intentional
If isolated: Implement per-pane focus state
Add focus isolation tests
Test Case
Open split panes (left/right)
Left pane: Click on node-5 → editing
Right pane: Viewing different tree
Expected (isolated): Right pane does NOT enter edit mode for node-5
Expected (synchronized): Right pane also shows node-5 as editing
Priority
LOW - Design clarification needed but not blocking functionality
This has been addressed through refactoring. The focusManager now tracks editingPaneId alongside editingNodeId, and components check both values before entering edit mode. This implements Option B (Isolated Focus) - each pane has independent focus state.
Activity
Add follow-up issue links to multi-tab investigation doc
Investigate multi-tab/pane reactivity with LIVE SELECT updates (#637)
malibio commentedon Dec 4, 2025
This has been addressed through refactoring. The focusManager now tracks
editingPaneIdalongsideeditingNodeId, and components check both values before entering edit mode. This implements Option B (Isolated Focus) - each pane has independent focus state.Investigate multi-tab/pane reactivity with LIVE SELECT updates (#637)
Investigate multi-tab/pane reactivity with LIVE SELECT updates (#637)