Skip to content

Commit 098c965

Browse files
brunobergherPeterDaveHello
authored andcommitted
ux: improve worktree selector and creation UX (RooCodeInc#10940)
* Delete modal * Restructured * Much more prominent * UI * i18n * Fixes i18n * Remove mergeresultmodel * i18n * tests * knip * code review
1 parent 70e6627 commit 098c965

24 files changed

Lines changed: 1 addition & 38 deletions

packages/types/src/vscode-extension-host.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ export interface ExtensionMessage {
118118
| "historyButtonClicked"
119119
| "marketplaceButtonClicked"
120120
| "cloudButtonClicked"
121-
| "worktreesButtonClicked"
122121
| "didBecomeVisible"
123122
| "focusInput"
124123
| "switchTab"

packages/types/src/vscode.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export const commandIds = [
3535
"popoutButtonClicked",
3636
"cloudButtonClicked",
3737
"settingsButtonClicked",
38-
"worktreesButtonClicked",
3938

4039
"openInNewTab",
4140

src/activate/registerCommands.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,6 @@ const getCommandsMap = ({ context, outputChannel, provider }: RegisterCommandOpt
134134
if (!visibleProvider) return
135135
visibleProvider.postMessageToWebview({ type: "action", action: "marketplaceButtonClicked" })
136136
},
137-
worktreesButtonClicked: () => {
138-
const visibleProvider = getVisibleProviderOrLog(outputChannel)
139-
if (!visibleProvider) return
140-
TelemetryService.instance.captureTitleButtonClicked("worktrees")
141-
visibleProvider.postMessageToWebview({ type: "action", action: "worktreesButtonClicked" })
142-
},
143137
newTask: handleNewTask,
144138
setCustomStoragePath: async () => {
145139
const { promptForCustomStoragePath } = await import("../utils/storage")

src/package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,6 @@
100100
"title": "%command.settings.title%",
101101
"icon": "$(settings-gear)"
102102
},
103-
{
104-
"command": "roo-cline.worktreesButtonClicked",
105-
"title": "%command.worktrees.title%",
106-
"icon": "$(git-branch)"
107-
},
108103
{
109104
"command": "roo-cline.openInNewTab",
110105
"title": "%command.openInNewTab.title%",

src/package.nls.ca.json

Lines changed: 0 additions & 1 deletion
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: 0 additions & 1 deletion
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: 0 additions & 1 deletion
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: 0 additions & 1 deletion
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: 0 additions & 1 deletion
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: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)