|
4 | 4 | *--------------------------------------------------------------------------------------------*/ |
5 | 5 |
|
6 | 6 | import { $, append } from '../../../../../../base/browser/dom.js'; |
| 7 | +import { IRenderedMarkdown, renderAsPlaintext } from '../../../../../../base/browser/markdownRenderer.js'; |
7 | 8 | import { alert } from '../../../../../../base/browser/ui/aria/aria.js'; |
8 | 9 | import { Codicon } from '../../../../../../base/common/codicons.js'; |
9 | 10 | import { MarkdownString, type IMarkdownString } from '../../../../../../base/common/htmlContent.js'; |
| 11 | +import { stripIcons } from '../../../../../../base/common/iconLabels.js'; |
10 | 12 | import { Disposable, DisposableStore, MutableDisposable } from '../../../../../../base/common/lifecycle.js'; |
11 | 13 | import { ThemeIcon } from '../../../../../../base/common/themables.js'; |
12 | 14 | import { IMarkdownRenderer } from '../../../../../../platform/markdown/browser/markdownRenderer.js'; |
13 | | -import { IRenderedMarkdown } from '../../../../../../base/browser/markdownRenderer.js'; |
14 | 15 | import { IInstantiationService } from '../../../../../../platform/instantiation/common/instantiation.js'; |
15 | 16 | import { localize } from '../../../../../../nls.js'; |
16 | 17 | import { IChatProgressMessage, IChatTask, IChatTaskSerialized, IChatToolInvocation, IChatToolInvocationSerialized } from '../../../common/chatService/chatService.js'; |
@@ -61,10 +62,9 @@ export class ChatProgressContentPart extends Disposable implements IChatContentP |
61 | 62 | return; |
62 | 63 | } |
63 | 64 |
|
64 | | - if (this.showSpinner && !this.configurationService.getValue(AccessibilityWorkbenchSettingId.VerboseChatProgressUpdates)) { |
65 | | - // TODO@roblourens is this the right place for this? |
| 65 | + if (this.showSpinner && this.configurationService.getValue(AccessibilityWorkbenchSettingId.VerboseChatProgressUpdates)) { |
66 | 66 | // this step is in progress, communicate it to SR users |
67 | | - alert(progress.content.value); |
| 67 | + alert(stripIcons(renderAsPlaintext(progress.content))); |
68 | 68 | } |
69 | 69 | const isLoadingIcon = icon && ThemeIcon.isEqual(icon, ThemeIcon.modify(Codicon.loading, 'spin')); |
70 | 70 | // Even if callers request shimmer, only the active (spinner-visible) progress row should animate. |
|
0 commit comments