{node.memberCount.toLocaleString()} symbols
- {node.change && node.change !== "unchanged" && ( -Select to inspect exact changes
- )} - > +{node.memberCount.toLocaleString()} symbols
) : ( <> {node.language &&Language: {node.language}
} @@ -54,6 +53,19 @@ export function NodeHoverCard({ {node.signature &&{node.signature}}
>
)}
+ {activation.type !== "none" && (
+ + {activation.type === "community" + ? + : } + + Double-click{" "} + {activation.type === "community" + ? "to open community subgraph" + : "to open source code"} + +
+ )} ); } diff --git a/packages/compass-viewer/src/theme.css b/packages/compass-viewer/src/theme.css index 246f31d..883cd92 100644 --- a/packages/compass-viewer/src/theme.css +++ b/packages/compass-viewer/src/theme.css @@ -1479,8 +1479,25 @@ button:not(:disabled), } .compass-hover-hint { + display: flex !important; + align-items: center; + gap: 7px; + margin-top: 2px; + padding-top: 9px; + border-top: 1px solid var(--compass-line); color: var(--vscode-textLink-foreground, var(--compass-focus)); - font-weight: 600; + font-size: 11px; +} + +.compass-hover-hint svg { + width: 14px; + height: 14px; + flex: 0 0 auto; +} + +.compass-hover-hint strong { + color: var(--vscode-editorHoverWidget-foreground, var(--foreground)); + font-weight: 650; } .compass-section-heading,