Skip to content

Commit f5e0525

Browse files
roomote[bot]roomotemrubens
authored
feat: rename Account tab to Cloud tab (#7558)
Co-authored-by: Roo Code <[email protected]> Co-authored-by: Matt Rubens <[email protected]>
1 parent fad219e commit f5e0525

Some content is hidden

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

49 files changed

+114
-109
lines changed

packages/types/src/vscode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const commandIds = [
3535
"historyButtonClicked",
3636
"marketplaceButtonClicked",
3737
"popoutButtonClicked",
38-
"accountButtonClicked",
38+
"cloudButtonClicked",
3939
"settingsButtonClicked",
4040

4141
"openInNewTab",

src/activate/registerCommands.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,16 @@ export const registerCommands = (options: RegisterCommandOptions) => {
7474

7575
const getCommandsMap = ({ context, outputChannel, provider }: RegisterCommandOptions): Record<CommandId, any> => ({
7676
activationCompleted: () => {},
77-
accountButtonClicked: () => {
77+
cloudButtonClicked: () => {
7878
const visibleProvider = getVisibleProviderOrLog(outputChannel)
7979

8080
if (!visibleProvider) {
8181
return
8282
}
8383

84-
TelemetryService.instance.captureTitleButtonClicked("account")
84+
TelemetryService.instance.captureTitleButtonClicked("cloud")
8585

86-
visibleProvider.postMessageToWebview({ type: "action", action: "accountButtonClicked" })
86+
visibleProvider.postMessageToWebview({ type: "action", action: "cloudButtonClicked" })
8787
},
8888
plusButtonClicked: async () => {
8989
const visibleProvider = getVisibleProviderOrLog(outputChannel)

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1395,7 +1395,7 @@ export class ClineProvider
13951395
// Check MDM compliance and send user to account tab if not compliant
13961396
// Only redirect if there's an actual MDM policy requiring authentication
13971397
if (this.mdmService?.requiresCloudAuth() && !this.checkMdmCompliance()) {
1398-
await this.postMessageToWebview({ type: "action", action: "accountButtonClicked" })
1398+
await this.postMessageToWebview({ type: "action", action: "cloudButtonClicked" })
13991399
}
14001400
}
14011401

src/core/webview/webviewMessageHandler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2028,9 +2028,9 @@ export const webviewMessageHandler = async (
20282028
await provider.postStateToWebview()
20292029
break
20302030
}
2031-
case "accountButtonClicked": {
2032-
// Navigate to the account tab.
2033-
provider.postMessageToWebview({ type: "action", action: "accountButtonClicked" })
2031+
case "cloudButtonClicked": {
2032+
// Navigate to the cloud tab.
2033+
provider.postMessageToWebview({ type: "action", action: "cloudButtonClicked" })
20342034
break
20352035
}
20362036
case "rooCloudSignIn": {

src/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@
101101
"icon": "$(link-external)"
102102
},
103103
{
104-
"command": "roo-cline.accountButtonClicked",
105-
"title": "%command.account.title%",
106-
"icon": "$(account)"
104+
"command": "roo-cline.cloudButtonClicked",
105+
"title": "%command.cloud.title%",
106+
"icon": "$(cloud)"
107107
},
108108
{
109109
"command": "roo-cline.settingsButtonClicked",
@@ -234,7 +234,7 @@
234234
"when": "view == roo-cline.SidebarProvider"
235235
},
236236
{
237-
"command": "roo-cline.accountButtonClicked",
237+
"command": "roo-cline.cloudButtonClicked",
238238
"group": "navigation@4",
239239
"when": "view == roo-cline.SidebarProvider"
240240
},
@@ -276,7 +276,7 @@
276276
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
277277
},
278278
{
279-
"command": "roo-cline.accountButtonClicked",
279+
"command": "roo-cline.cloudButtonClicked",
280280
"group": "navigation@4",
281281
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
282282
},

src/package.nls.ca.json

Lines changed: 1 addition & 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: 1 addition & 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: 1 addition & 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: 1 addition & 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: 1 addition & 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)