mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
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.
This commit is contained in:
parent
55d8cd30e7
commit
6ab93f08be
2 changed files with 12 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ export class ActivityIndicator {
|
|||
vscode.window.withProgress(
|
||||
{
|
||||
location: { viewId: ActivityIndicator.VIEW_ID },
|
||||
title: "Roo is working...",
|
||||
},
|
||||
() => {
|
||||
return new Promise<void>((resolve) => {
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue