From 6ab93f08bea0753fa8aa58c2f27ffa78b8cf4a3b Mon Sep 17 00:00:00 2001 From: Roo Code Date: Mon, 12 Jan 2026 08:47:43 +0000 Subject: [PATCH] feat: add tooltip text to activity indicator progress Adds "Roo is working..." tooltip text to the progress indicator on the sidebar icon. This provides accessible context when hovering over the progress indicator. Also adds a test to verify the tooltip text is included in the progress options. --- src/core/webview/ActivityIndicator.ts | 1 + src/core/webview/__tests__/ActivityIndicator.spec.ts | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/src/core/webview/ActivityIndicator.ts b/src/core/webview/ActivityIndicator.ts index 20e161cd4e..3dccb4a4d6 100644 --- a/src/core/webview/ActivityIndicator.ts +++ b/src/core/webview/ActivityIndicator.ts @@ -32,6 +32,7 @@ export class ActivityIndicator { vscode.window.withProgress( { location: { viewId: ActivityIndicator.VIEW_ID }, + title: "Roo is working...", }, () => { return new Promise((resolve) => { diff --git a/src/core/webview/__tests__/ActivityIndicator.spec.ts b/src/core/webview/__tests__/ActivityIndicator.spec.ts index 97188aa67c..f625d8720e 100644 --- a/src/core/webview/__tests__/ActivityIndicator.spec.ts +++ b/src/core/webview/__tests__/ActivityIndicator.spec.ts @@ -36,6 +36,17 @@ describe("ActivityIndicator", () => { ) }) + it("should include tooltip text in progress options", () => { + indicator.show() + + expect(mockWithProgress).toHaveBeenCalledWith( + expect.objectContaining({ + title: "Roo is working...", + }), + expect.any(Function), + ) + }) + it("should only call withProgress once when shown multiple times", () => { indicator.show() indicator.show()