fix: do not auto-open artifacts from the sidebar chat hover preview (#27773)

This commit is contained in:
G30
2026-07-31 17:58:02 -04:00
committed by GitHub
parent 78ed5a0235
commit b67804f2b6
@@ -148,6 +148,7 @@
if (
($settings?.detectArtifacts ?? true) &&
!compactPreview &&
isArtifact &&
hasClosingCodeFence(raw) &&
!autoOpenedArtifactIds.has(artifactId) &&