From aaaea589f69fe44153161e4221234b3f46988170 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Fri, 14 Aug 2026 23:56:11 -0700 Subject: [PATCH] test+style: align session.new binding pin with #76185 and eslint --fix --- apps/desktop/src/app/settings/config-settings.tsx | 2 +- apps/desktop/src/lib/keybinds/contributed-actions.test.ts | 4 +++- contributors/emails/baslam@users.noreply.github.com | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src/app/settings/config-settings.tsx b/apps/desktop/src/app/settings/config-settings.tsx index d2d0adb66c..a3feb4611a 100644 --- a/apps/desktop/src/app/settings/config-settings.tsx +++ b/apps/desktop/src/app/settings/config-settings.tsx @@ -18,8 +18,8 @@ import { refreshDataUrlReadMaxMb, setDataUrlReadMaxMb } from '@/store/data-url-read-max' -import { $keepAwake, setKeepAwake } from '@/store/keep-awake' import { $disableF12, setDisableF12 } from '@/store/disable-f12' +import { $keepAwake, setKeepAwake } from '@/store/keep-awake' import { notify, notifyError } from '@/store/notifications' import { repoDiscoveryPolicyFromConfig, repoDiscoveryPolicySignature, scanAndRecordRepos } from '@/store/projects' import type { ConfigFieldSchema, HermesConfigRecord } from '@/types/hermes' diff --git a/apps/desktop/src/lib/keybinds/contributed-actions.test.ts b/apps/desktop/src/lib/keybinds/contributed-actions.test.ts index 0b82242789..74e20cb061 100644 --- a/apps/desktop/src/lib/keybinds/contributed-actions.test.ts +++ b/apps/desktop/src/lib/keybinds/contributed-actions.test.ts @@ -54,7 +54,9 @@ describe('contributed keybind actions', () => { // The built-in keeps its own combo and its own (i18n) label — the // contribution is filtered out rather than overriding core. - expect(bindingsFor('session.new')).toEqual(['mod+n', 'shift+n']) + // (bare shift+n was removed from session.new defaults — it hijacked + // typing a capital N into focused inputs, #76185) + expect(bindingsFor('session.new')).toEqual(['mod+n']) expect(allKeybindActions().filter(a => a.id === 'session.new')).toHaveLength(1) dispose() diff --git a/contributors/emails/baslam@users.noreply.github.com b/contributors/emails/baslam@users.noreply.github.com index e05b7484f5..2a9f8340d6 100644 --- a/contributors/emails/baslam@users.noreply.github.com +++ b/contributors/emails/baslam@users.noreply.github.com @@ -1 +1 @@ -baslam +hkfiberlaser-svg \ No newline at end of file