fix: Removed the Ctrl+K shortcut. The "clear completed" button in the UI still works — no need for a global keyboard shortcut that conflicts with browser/OS defaults.

This commit is contained in:
luccast
2026-01-28 12:03:54 -05:00
parent 186c59fa82
commit 1b6920e94b
-13
View File
@@ -103,19 +103,6 @@ function MonitorPage() {
console.log(`[monitor] cleared ${count} completed execs`)
}, [])
// Keyboard shortcut: Ctrl+K to clear completed
useEffect(() => {
const handleKeyDown = (e: KeyboardEvent) => {
if ((e.ctrlKey || e.metaKey) && e.key === 'k') {
e.preventDefault()
if (completedCount > 0) {
handleClearCompleted()
}
}
}
window.addEventListener('keydown', handleKeyDown)
return () => window.removeEventListener('keydown', handleKeyDown)
}, [completedCount, handleClearCompleted])
// Check connection status and persistence on mount
useEffect(() => {