Skip to content

Commit 5652f94

Browse files
authored
Updated Amazon Q status bar icon states (#4458)
1 parent 449ecd9 commit 5652f94

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "feature",
3+
"description" : "Amazon Q: Updated status bar icons including an explicit icon for an unconnected state"
4+
}

plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/codewhisperer/status/CodeWhispererStatusBarWidget.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ class CodeWhispererStatusBarWidget(project: Project) :
115115
override fun getIcon(): Icon =
116116
if (isQExpired(project)) {
117117
AllIcons.General.BalloonWarning
118+
} else if (!isQConnected(project)) {
119+
AllIcons.RunConfigurations.TestState.Run
118120
} else if (CodeWhispererInvocationStatus.getInstance().hasExistingInvocation()) {
119121
// AnimatedIcon can't serialize over remote host
120122
if (!AppMode.isRemoteDevHost()) {
@@ -123,7 +125,7 @@ class CodeWhispererStatusBarWidget(project: Project) :
123125
AllIcons.Actions.Download
124126
}
125127
} else {
126-
AllIcons.General.InspectionsOK
128+
AllIcons.Debugger.ThreadStates.Idle
127129
}
128130

129131
companion object {

0 commit comments

Comments
 (0)