-
Notifications
You must be signed in to change notification settings - Fork 272
fix(amazonq): make q chat unavalable in IDE version 2024.2.1 #5788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
98b2e05
40ba27a
48dbc5e
e136fcd
03140c0
c00de08
59626c6
2211e22
1d93c3f
bfeb122
9616d51
1a292e0
b040be7
0d7d479
3924492
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
|
||
package software.aws.toolkits.jetbrains.services.amazonq | ||
|
||
import com.intellij.openapi.application.ApplicationInfo | ||
import com.intellij.openapi.project.Project | ||
import com.intellij.openapi.util.SystemInfo | ||
import software.amazon.awssdk.services.codewhispererruntime.model.IdeCategory | ||
|
@@ -52,3 +53,7 @@ | |
.ideVersion(it.awsVersion) | ||
.build() | ||
} | ||
|
||
fun isQSupportedInThisVersion(): Boolean = ApplicationInfo.getInstance().build.asStringWithoutProductCode() !in unSupportedIdeVersionInQ | ||
|
||
val unSupportedIdeVersionInQ = listOf("242.21829.142") | ||
Check warning on line 59 in plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/QUtils.kt
|
||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -1656,7 +1656,7 @@ q.session_configuration=Extend your IDE sessions | |||||
q.session_configuration.description=Your maximum session length for Amazon Q can be extended to 90 days by your administrator. For more information, refer to How to extend the session duration for Amazon Q in the IDE in the IAM Identity Center User Guide. | ||||||
q.sign.in=Get Started | ||||||
q.ui.prompt.transform=/transform | ||||||
q.unavailable=\ Not supported in v2023.2.0 | ||||||
q.unavailable=\ Q Chat not supported in v2024.2.1 | ||||||
|
q.unavailable=\ Q Chat not supported in v2024.2.1 | |
q.unavailable=\ Amazon Q Chat not supported in v2024.2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesnt this prevent the panel from being available at all?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only added this because I saw it here: https://github.com/aws/aws-toolkit-jetbrains-staging/pull/1769/files
but you're right when its true it removes the Q chat panel completely. Too confusing for cxs.