Skip to content

Commit 49aad85

Browse files
ux: Toolbar cleanup and settings consolidation (#9710)
Co-authored-by: Roo Code <[email protected]>
1 parent f26d5a4 commit 49aad85

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1053
-1128
lines changed

apps/vscode-e2e/src/suite/extension.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ suite("Roo Code Extension", function () {
1515
"SidebarProvider.removeView",
1616
"activationCompleted",
1717
"plusButtonClicked",
18-
"mcpButtonClicked",
19-
"promptsButtonClicked",
2018
"popoutButtonClicked",
2119
"openInNewTab",
2220
"settingsButtonClicked",

packages/types/src/vscode.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ export const commandIds = [
3030
"activationCompleted",
3131

3232
"plusButtonClicked",
33-
"promptsButtonClicked",
34-
"mcpButtonClicked",
3533
"historyButtonClicked",
3634
"marketplaceButtonClicked",
3735
"popoutButtonClicked",

src/activate/registerCommands.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -101,28 +101,6 @@ const getCommandsMap = ({ context, outputChannel, provider }: RegisterCommandOpt
101101
// This ensures the focus happens after the view has switched
102102
await visibleProvider.postMessageToWebview({ type: "action", action: "focusInput" })
103103
},
104-
mcpButtonClicked: () => {
105-
const visibleProvider = getVisibleProviderOrLog(outputChannel)
106-
107-
if (!visibleProvider) {
108-
return
109-
}
110-
111-
TelemetryService.instance.captureTitleButtonClicked("mcp")
112-
113-
visibleProvider.postMessageToWebview({ type: "action", action: "mcpButtonClicked" })
114-
},
115-
promptsButtonClicked: () => {
116-
const visibleProvider = getVisibleProviderOrLog(outputChannel)
117-
118-
if (!visibleProvider) {
119-
return
120-
}
121-
122-
TelemetryService.instance.captureTitleButtonClicked("prompts")
123-
124-
visibleProvider.postMessageToWebview({ type: "action", action: "promptsButtonClicked" })
125-
},
126104
popoutButtonClicked: () => {
127105
TelemetryService.instance.captureTitleButtonClicked("popout")
128106

src/package.json

Lines changed: 8 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,6 @@
7575
"title": "%command.newTask.title%",
7676
"icon": "$(edit)"
7777
},
78-
{
79-
"command": "roo-cline.promptsButtonClicked",
80-
"title": "%command.prompts.title%",
81-
"icon": "$(organization)"
82-
},
83-
{
84-
"command": "roo-cline.mcpButtonClicked",
85-
"title": "%command.mcpServers.title%",
86-
"icon": "$(server)"
87-
},
8878
{
8979
"command": "roo-cline.historyButtonClicked",
9080
"title": "%command.history.title%",
@@ -229,17 +219,17 @@
229219
"when": "view == roo-cline.SidebarProvider"
230220
},
231221
{
232-
"command": "roo-cline.marketplaceButtonClicked",
222+
"command": "roo-cline.settingsButtonClicked",
233223
"group": "navigation@2",
234224
"when": "view == roo-cline.SidebarProvider"
235225
},
236226
{
237-
"command": "roo-cline.settingsButtonClicked",
227+
"command": "roo-cline.cloudButtonClicked",
238228
"group": "navigation@3",
239229
"when": "view == roo-cline.SidebarProvider"
240230
},
241231
{
242-
"command": "roo-cline.cloudButtonClicked",
232+
"command": "roo-cline.marketplaceButtonClicked",
243233
"group": "navigation@4",
244234
"when": "view == roo-cline.SidebarProvider"
245235
},
@@ -248,19 +238,9 @@
248238
"group": "overflow@1",
249239
"when": "view == roo-cline.SidebarProvider"
250240
},
251-
{
252-
"command": "roo-cline.promptsButtonClicked",
253-
"group": "overflow@2",
254-
"when": "view == roo-cline.SidebarProvider"
255-
},
256-
{
257-
"command": "roo-cline.mcpButtonClicked",
258-
"group": "overflow@3",
259-
"when": "view == roo-cline.SidebarProvider"
260-
},
261241
{
262242
"command": "roo-cline.popoutButtonClicked",
263-
"group": "overflow@4",
243+
"group": "overflow@2",
264244
"when": "view == roo-cline.SidebarProvider"
265245
}
266246
],
@@ -271,17 +251,17 @@
271251
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
272252
},
273253
{
274-
"command": "roo-cline.marketplaceButtonClicked",
254+
"command": "roo-cline.settingsButtonClicked",
275255
"group": "navigation@2",
276256
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
277257
},
278258
{
279-
"command": "roo-cline.settingsButtonClicked",
259+
"command": "roo-cline.cloudButtonClicked",
280260
"group": "navigation@3",
281261
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
282262
},
283263
{
284-
"command": "roo-cline.cloudButtonClicked",
264+
"command": "roo-cline.marketplaceButtonClicked",
285265
"group": "navigation@4",
286266
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
287267
},
@@ -290,19 +270,9 @@
290270
"group": "overflow@1",
291271
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
292272
},
293-
{
294-
"command": "roo-cline.promptsButtonClicked",
295-
"group": "overflow@2",
296-
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
297-
},
298-
{
299-
"command": "roo-cline.mcpButtonClicked",
300-
"group": "overflow@3",
301-
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
302-
},
303273
{
304274
"command": "roo-cline.popoutButtonClicked",
305-
"group": "overflow@4",
275+
"group": "overflow@2",
306276
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
307277
}
308278
]

src/package.nls.ca.json

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/package.nls.de.json

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/package.nls.es.json

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/package.nls.fr.json

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/package.nls.hi.json

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/package.nls.id.json

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)