| @@ -19,7 +19,6 @@ import { · 18 unmodified lines |
| 19 | isTerminalSplitVerticalShortcut, | 19 | isTerminalSplitVerticalShortcut, |
| 20 | isTerminalToggleShortcut, | 20 | isTerminalToggleShortcut, |
| 21 | resolveShortcutCommand, | 21 | resolveShortcutCommand, |
| 22 | shouldShowModelPickerJumpHints, | | |
| 23 | shouldShowThreadJumpHintsForModifiers, | 22 | shouldShowThreadJumpHintsForModifiers, |
| 24 | shortcutLabelForCommand, | 23 | shortcutLabelForCommand, |
| 25 | terminalDeleteShortcutData, | 24 | terminalDeleteShortcutData, |
| @@ -541,21 +540,6 @@ describe("model picker navigation helpers", () => { · 515 unmodified lines |
| 541 | assert.strictEqual(modelPickerJumpIndexFromCommand("modelPicker.jump.3"), 2); | 540 | assert.strictEqual(modelPickerJumpIndexFromCommand("modelPicker.jump.3"), 2); |
| 542 | assert.isNull(modelPickerJumpIndexFromCommand("thread.jump.1")); | 541 | assert.isNull(modelPickerJumpIndexFromCommand("thread.jump.1")); |
| 543 | }); | 542 | }); |
| 544 | | | |
| 545 | it("shows jump hints only while the model picker context is active", () => { | | |
| 546 | assert.isFalse( | | |
| 547 | shouldShowModelPickerJumpHints(event({ metaKey: true }), DEFAULT_BINDINGS, { | | |
| 548 | platform: "MacIntel", | | |
| 549 | context: { modelPickerOpen: false }, | | |
| 550 | }), | | |
| 551 | ); | | |
| 552 | assert.isTrue( | | |
| 553 | shouldShowModelPickerJumpHints(event({ metaKey: true }), DEFAULT_BINDINGS, { | | |
| 554 | platform: "MacIntel", | | |
| 555 | context: { modelPickerOpen: true }, | | |
| 556 | }), | | |
| 557 | ); | | |
| 558 | }); | | |
| 559 | }); | 543 | }); |
| 560 | | 544 | |
| 561 | describe("chat/editor shortcuts", () => { | 545 | describe("chat/editor shortcuts", () => { |