Merge pull request #56 from Lum1104/copilot/fix-hide-bottom-bar-issue-55

fix: remove redundant CodeViewer bottom bar on node selection
This commit is contained in:
Sreeram N R
2026-03-30 00:26:53 +05:30
committed by GitHub
Unverified
@@ -480,7 +480,6 @@ function GraphViewInner() {
const navigationLevel = useDashboardStore((s) => s.navigationLevel);
const activeLayerId = useDashboardStore((s) => s.activeLayerId);
const selectNode = useDashboardStore((s) => s.selectNode);
const openCodeViewer = useDashboardStore((s) => s.openCodeViewer);
const drillIntoLayer = useDashboardStore((s) => s.drillIntoLayer);
const focusNodeId = useDashboardStore((s) => s.focusNodeId);
const setFocusNode = useDashboardStore((s) => s.setFocusNode);
@@ -523,10 +522,9 @@ function GraphViewInner() {
drillIntoLayer(targetLayerId);
} else {
selectNode(node.id);
openCodeViewer(node.id);
}
},
[navigationLevel, drillIntoLayer, selectNode, openCodeViewer],
[navigationLevel, drillIntoLayer, selectNode],
);
const onPaneClick = useCallback(() => {