Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/core/webview/__tests__/diagnosticsHandler.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ describe("generateErrorDiagnostics", () => {
const [writtenPath, writtenContent] = vi.mocked(fs.writeFile).mock.calls[0]
// taskId.slice(0, 8) = "test-tas" from "test-task-id"
expect(String(writtenPath)).toContain("roo-diagnostics-test-tas")
expect(String(writtenContent)).toContain(
"// Please share this file with Roo Code Support (support@roocode.com) to diagnose the issue faster",
)
expect(String(writtenContent)).toContain("// This file contains error diagnostics for troubleshooting.")
expect(String(writtenContent)).toContain('"error":')
expect(String(writtenContent)).toContain('"history":')
expect(String(writtenContent)).toContain('"version": "1.2.3"')
Expand Down
2 changes: 1 addition & 1 deletion src/core/webview/diagnosticsHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export async function generateErrorDiagnostics(params: GenerateDiagnosticsParams

// Prepend human-readable guidance comments before the JSON payload
const headerComment =
"// Please share this file with Roo Code Support (support@roocode.com) to diagnose the issue faster\n" +
"// This file contains error diagnostics for troubleshooting.\n" +
"// Just make sure you're OK sharing the contents of the conversation below.\n\n"
const jsonContent = JSON.stringify(diagnostics, null, 2)
const fullContent = headerComment + jsonContent
Expand Down
2 changes: 0 additions & 2 deletions webview-ui/src/components/chat/ChatRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1141,8 +1141,6 @@ export const ChatRowContent = ({
} else {
// Non-HTTP-status-code error message - store full text as errorDetails
body = t("chat:apiRequest.errorMessage.unknown")
docsURL =
"mailto:support@roocode.com?subject=Unknown API Error&body=[Please include full error details]"
}
}

Expand Down
11 changes: 2 additions & 9 deletions webview-ui/src/components/settings/About.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { HTMLAttributes } from "react"
import { useAppTranslation } from "@/i18n/TranslationContext"
import { Trans } from "react-i18next"
import { Download, Upload, TriangleAlert, Bug, Lightbulb, Shield, MessageCircle, MessagesSquare } from "lucide-react"
import { Download, Upload, TriangleAlert, Bug, Lightbulb, Shield, MessagesSquare } from "lucide-react"
import { VSCodeCheckbox, VSCodeLink } from "@vscode/webview-ui-toolkit/react"

import type { TelemetrySetting } from "@roo-code/types"
Expand Down Expand Up @@ -60,7 +60,7 @@ export const About = ({ telemetrySetting, setTelemetrySetting, debug, setDebug,
</Section>

<Section className="space-y-0">
<h3>{t("settings:about.contactAndCommunity")}</h3>
<h3>{t("settings:about.communityHeader")}</h3>
<div className="flex flex-col gap-3">
<div className="flex items-start gap-2">
<Bug className="size-4 text-vscode-descriptionForeground shrink-0" />
Expand Down Expand Up @@ -89,13 +89,6 @@ export const About = ({ telemetrySetting, setTelemetrySetting, debug, setDebug,
</VSCodeLink>
</span>
</div>
<div className="flex items-start gap-2">
<MessageCircle className="size-4 text-vscode-descriptionForeground shrink-0" />
<span>
{t("settings:about.contact.label")}{" "}
<VSCodeLink href="mailto:support@roocode.com">support@roocode.com</VSCodeLink>
</span>
</div>
<div className="flex items-start gap-2">
<MessagesSquare className="size-4 text-vscode-descriptionForeground shrink-0" />
<span>
Expand Down
10 changes: 0 additions & 10 deletions webview-ui/src/components/settings/__tests__/About.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,6 @@ describe("About", () => {
expect(screen.getByText("settings:about.securityIssue.link")).toBeInTheDocument()
})

it("renders the contact section with label and email", () => {
render(
<TranslationProvider>
<About {...defaultProps} />
</TranslationProvider>,
)
expect(screen.getByText("settings:about.contact.label")).toBeInTheDocument()
expect(screen.getByText("support@roocode.com")).toBeInTheDocument()
})

it("renders export, import, and reset buttons", () => {
render(
<TranslationProvider>
Expand Down
2 changes: 1 addition & 1 deletion webview-ui/src/i18n/locales/ca/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions webview-ui/src/i18n/locales/ca/settings.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webview-ui/src/i18n/locales/de/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions webview-ui/src/i18n/locales/de/settings.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webview-ui/src/i18n/locales/en/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
"docs": "Docs",
"goToSettings": "Settings",
"connection": "Connection error. Make sure you have a working internet connection.",
"unknown": "Unknown API error. Please contact Roo Code support.",
"unknown": "Unknown API error.",
"claudeCodeNotAuthenticated": "You need to sign in to use Claude Code. Go to Settings and click \"Sign in to Claude Code\" to authenticate."
}
},
Expand Down
5 changes: 1 addition & 4 deletions webview-ui/src/i18n/locales/en/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,8 @@
"label": "Discovered a vulnerability?",
"link": "Follow our disclosure process"
},
"contact": {
"label": "Need to talk to us? Write"
},
"community": "Want tips or to just hang out with other Roo Code users? Join <redditLink>reddit.com/r/RooCode</redditLink> or <discordLink>discord.gg/roocode</discordLink>",
"contactAndCommunity": "Contact & Community",
"communityHeader": "Community",
"manageSettings": "Manage Settings",
"debugMode": {
"label": "Enable debug mode",
Expand Down
2 changes: 1 addition & 1 deletion webview-ui/src/i18n/locales/es/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions webview-ui/src/i18n/locales/es/settings.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webview-ui/src/i18n/locales/fr/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions webview-ui/src/i18n/locales/fr/settings.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webview-ui/src/i18n/locales/hi/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions webview-ui/src/i18n/locales/hi/settings.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webview-ui/src/i18n/locales/id/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions webview-ui/src/i18n/locales/id/settings.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webview-ui/src/i18n/locales/it/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions webview-ui/src/i18n/locales/it/settings.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webview-ui/src/i18n/locales/ja/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions webview-ui/src/i18n/locales/ja/settings.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webview-ui/src/i18n/locales/ko/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions webview-ui/src/i18n/locales/ko/settings.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webview-ui/src/i18n/locales/nl/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions webview-ui/src/i18n/locales/nl/settings.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webview-ui/src/i18n/locales/pl/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions webview-ui/src/i18n/locales/pl/settings.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webview-ui/src/i18n/locales/pt-BR/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions webview-ui/src/i18n/locales/pt-BR/settings.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading