Skip to content

Commit bf30669

Browse files
easonliang28easonLiangWorldedtech
authored andcommitted
fix(activate): target title-bar commands to their click-origin instance
1 parent 9af61f8 commit bf30669

6 files changed

Lines changed: 411 additions & 73 deletions

File tree

‎packages/types/src/vscode.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ export const commandIds = [
3535
"popoutButtonClicked",
3636
"settingsButtonClicked",
3737

38+
// Editor-tab (popped-out) surface variants of the title-bar buttons. The
39+
// shared ids above target the sidebar click origin, so the tab surface
40+
// needs its own ids (see registerCommands.ts getTabProvider).
41+
"plusButtonClickedInTab",
42+
"settingsButtonClickedInTab",
43+
"marketplaceButtonClickedInTab",
44+
"historyButtonClickedInTab",
45+
3846
"openInNewTab",
3947

4048
"newTask",

0 commit comments

Comments
 (0)