fmt(js): npm run fix on merge (#68938)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
hermes-seaeye[bot] 2026-07-21 21:41:10 +00:00 committed by GitHub
parent 81f4095bc1
commit 146f4ed07d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 7 deletions

View file

@ -7,11 +7,7 @@ import { closeActiveTerminal, createTerminal, cycleTerminal } from '@/app/right-
import { activateTreeTabSlot, cycleTreeTabInFocusedZone, layoutHasRootSide } from '@/components/pane-shell/tree/store'
import { contributedKeybindHandler, PROFILE_SLOT_COUNT, SESSION_SLOT_COUNT } from '@/lib/keybinds/actions'
import { comboAllowedInInput, comboFromEvent, isEditableTarget } from '@/lib/keybinds/combo'
import {
composerFocusKeysAllowed,
isComposerFocusSoftCombo,
typeToFocusChar
} from '@/lib/keybinds/composer-focus-keys'
import { composerFocusKeysAllowed, isComposerFocusSoftCombo, typeToFocusChar } from '@/lib/keybinds/composer-focus-keys'
import { $repoStatus } from '@/store/coding-status'
import { toggleCommandPalette } from '@/store/command-palette'
import { $capture, $comboIndex, endCapture, setBinding } from '@/store/keybinds'

View file

@ -1,7 +1,7 @@
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
import { $workspaceIsPage } from '@/app/routes'
import { closeSwitcher, $switcherOpen } from '@/store/session-switcher'
import { $switcherOpen, closeSwitcher } from '@/store/session-switcher'
import {
composerFocusBlockedBySurface,

View file

@ -76,7 +76,12 @@ export function composerFocusKeysAllowed(event: KeyboardEvent, combo: string): b
return true
}
if (event.defaultPrevented || event.isComposing || isEditableTarget(event.target) || composerFocusBlockedBySurface()) {
if (
event.defaultPrevented ||
event.isComposing ||
isEditableTarget(event.target) ||
composerFocusBlockedBySurface()
) {
return false
}