SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
fix(keyboard-shortcut): monaco-editor should not trigger shortcut (#11848)
Vinicius Lourenço4771e30c0364
diff --git a/frontend/src/hooks/hotkeys/useKeyboardHotkeys.tsx b/frontend/src/hooks/hotkeys/useKeyboardHotkeys.tsxindex 4d6147724b..7bd4b151ef 100644--- a/frontend/src/hooks/hotkeys/useKeyboardHotkeys.tsx+++ b/frontend/src/hooks/hotkeys/useKeyboardHotkeys.tsx@@ -84,11 +84,12 @@ export function KeyboardHotkeysProvider({}const target = event.target as HTMLElement;- const isCodeMirrorEditor =- (target as HTMLElement).closest('.cm-editor') !== null;+ const isCodeMirrorEditor = target.closest('.cm-editor') !== null;+ const isMonacoEditor = target.closest('.monaco-editor') !== null;if (- IGNORE_INPUTS.includes((target as HTMLElement).tagName.toLowerCase()) ||- isCodeMirrorEditor+ IGNORE_INPUTS.includes(target.tagName.toLowerCase()) ||+ isCodeMirrorEditor ||+ isMonacoEditor) {return;}