Skip to content

Conversation

LiGaCu
Copy link
Contributor

@LiGaCu LiGaCu commented Jul 10, 2025

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

We need to support client-side opt-out for internal users who have workspace context server running by default.

Tested together with the aws/language-servers change:

image

Checklist

  • My code follows the code style of this project
  • I have added tests to cover my changes
  • A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

ToolkitConnectionManagerListener.TOPIC,
object : ToolkitConnectionManagerListener {
override fun activeConnectionChanged(newConnection: ToolkitConnection?) {
enabled(isCodeWhispererEnabled(project))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
enabled(isCodeWhispererEnabled(project))
enabled(isCodeWhispererEnabled(project))
visibleIf(isInternalUser)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested the proposed changes and it doesn't work actually. That would always make the checkbox showing up no matter logging in with internal user identity or other identities.

@rli rli merged commit 3467e45 into aws:main Aug 14, 2025
14 of 15 checks passed
BlakeLazarine pushed a commit to BlakeLazarine/aws-toolkit-jetbrains that referenced this pull request Aug 15, 2025
…5894)

We need to support client-side opt-out for internal users who have workspace context server running by default.
manodnyab pushed a commit that referenced this pull request Aug 26, 2025
…alter behavior of explain and fix buttons (#5970)

* feat(amazonq): add support for CodeReview and DisplayFindings tools, alter behavior of explain and fix buttons

* fix(amazonq): remove commented lines

* feat(amazonq): add support for CodeReview and DisplayFindings tools, alter behavior of explain and fix buttons

* fix(amazonq): remove commented lines

* fix(amazonq): general code quality fixes for CodeReview and DisplayFindings tools

* fix(amazonq): Prevents Q UriError : Validate file URI and fallback to Path.toUri() for WSL (#5960)

Fix repeated UriError when Amazon Q starts with a WSL-backed workspace. We now validate the constructed file: URI and fallback to JDK’s Path.toUri() if the URI violates Rule (no authority while the path begins with //, maybe RFC 3986). This keeps legacy behavior where it’s safe, and prevents Q from rejecting the workspace folder URI

* feat(amazonq): show the opt-in checkbox for server-side context (#5894)

We need to support client-side opt-out for internal users who have workspace context server running by default.

* fix(amazonq): delete AwsServerCapabilitiesProvider (#5833)

It is not actually needed; we can read the values from AmazonQLspService

* feat(amazonq): add support for CodeReview and DisplayFindings tools, alter behavior of explain and fix buttons

* Revert "feat(amazonq): add support for CodeReview and DisplayFindings tools, alter behavior of explain and fix buttons"

This reverts commit f21c028.

* fix(amazonq): fix formatting issues

* fix(amazonq): fix more formatting issues

* fix(amazonq): fix build failures

* fix(amazonq): undo unrelated change

* fix(amazonq): address codeReview comments

* fix(amazonq): fixing detekt errors

* feat(amazonq): emit telemetry events for explainIssue and applyFix commands

* feat(amazonq): add unit tests for parseFindingsMessage

* fix(amazonq): fix detekt errors

* fix(amazonq): fix re-direct of /review action

* fix(amazonq): improve handling of case where messageId is null

* fix(amazonq): Add changelog, code quality improvements

* fix(amazonq): address comments

* fix(amazonq): remove unused import

---------

Co-authored-by: Blake Lazarine <[email protected]>
Co-authored-by: Lee Won Jun <[email protected]>
Co-authored-by: Jiatong Li <[email protected]>
Co-authored-by: Richard Li <[email protected]>
Co-authored-by: Laxman Reddy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants