diff --git a/webview-ui/src/components/common/CodeAccordian.tsx b/webview-ui/src/components/common/CodeAccordian.tsx index 2f0cffd862..ec39e1704a 100644 --- a/webview-ui/src/components/common/CodeAccordian.tsx +++ b/webview-ui/src/components/common/CodeAccordian.tsx @@ -2,6 +2,7 @@ import { memo, useMemo } from "react" import { getLanguageFromPath } from "@src/utils/getLanguageFromPath" import CodeBlock, { CODE_BLOCK_BG_COLOR } from "./CodeBlock" import { ToolProgressStatus } from "@roo/shared/ExtensionMessage" +import { VSCodeProgressRing } from "@vscode/webview-ui-toolkit/react" interface CodeAccordianProps { code?: string @@ -69,7 +70,9 @@ const CodeAccordian = ({ MozUserSelect: "none", msUserSelect: "none", }} + className={`${isLoading ? "animate-pulse" : ""}`} onClick={isLoading ? undefined : onToggleExpand}> + {isLoading && } {isFeedback || isConsoleLogs ? (