Skip to content

Commit 1b82a19

Browse files
sessions: animate active sidebar chat spinner (#311440)
sessions: animate active sidebar chat icons Render the existing spinning loading icon for in-progress sessions in the sidebar list so active chats match the rest of the sessions app. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3aeae51 commit 1b82a19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/sessions/contrib/sessions/browser/views/sessionsList.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ class SessionItemRenderer implements ITreeRenderer<SessionListItem, FuzzyScore,
457457

458458
private getStatusIcon(status: SessionStatus, isRead: boolean, isArchived: boolean, pullRequestIcon?: ThemeIcon): ThemeIcon {
459459
switch (status) {
460-
case SessionStatus.InProgress: return { ...Codicon.sessionInProgress, color: themeColorFromId('textLink.foreground') };
460+
case SessionStatus.InProgress: return { ...ThemeIcon.modify(Codicon.loading, 'spin'), color: themeColorFromId('textLink.foreground') };
461461
case SessionStatus.NeedsInput: return { ...Codicon.circleFilled, color: themeColorFromId('list.warningForeground') };
462462
case SessionStatus.Error: return { ...Codicon.error, color: themeColorFromId('errorForeground') };
463463
default:

0 commit comments

Comments
 (0)