Skip to content

Conversation

@abhraina-aws
Copy link
Contributor

Problem

Added another code setting for show logs.

Solution

Added another code setting for show logs.


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@abhraina-aws abhraina-aws requested a review from a team as a code owner July 24, 2025 00:08
@github-actions
Copy link

  • This pull request implements a feat or fix, so it must include a changelog entry (unless the fix is for an unreleased feature). Review the changelog guidelines.
    • Note: beta or "experiment" features that have active users should announce fixes in the changelog.
    • If this is not a feature or fix, use an appropriate type from the title guidelines. For example, telemetry-only changes should use the telemetry type.

@abhraina-aws abhraina-aws changed the title fix(amazonq): add another setting for the showlogs fix(amazonq): diable SageMakerUnifiedStudio for show logs Jul 24, 2025
ashishrp-aws
ashishrp-aws previously approved these changes Jul 24, 2025
@laileni-aws laileni-aws changed the title fix(amazonq): diable SageMakerUnifiedStudio for show logs fix(amazonq): disable SageMakerUnifiedStudio for show logs Jul 24, 2025
{
"command": "aws.amazonq.showLogs",
"when": "view == aws.amazonq.AmazonQChatView",
"when": "view == aws.amazonq.AmazonQChatView && !aws.isSageMakerUnifiedStudio",
Copy link
Contributor

Choose a reason for hiding this comment

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

"when": "view == aws.amazonq.AmazonQChatView && !aws.isSageMakerUnifiedStudio && aws.codewhisperer.connected"

"title": "%AWS.command.codewhisperer.showLogs%",
"category": "%AWS.amazonq.title%",
"enablement": "aws.codewhisperer.connected"
"enablement": "aws.codewhisperer.connected && !aws.isSageMakerUnifiedStudio"
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't need this If we apply above suggestion.

laileni-aws
laileni-aws previously approved these changes Jul 24, 2025
@abhraina-aws abhraina-aws dismissed stale reviews from laileni-aws and ashishrp-aws via 57ed101 July 24, 2025 17:48
{
"command": "aws.amazonq.showLogs",
"when": "view == aws.amazonq.AmazonQChatView",
"when": "!aws.isSageMakerUnifiedStudio",
Copy link
Contributor

Choose a reason for hiding this comment

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

nit:

view == aws.amazonq.AmazonQChatView

This can stay! as we dont want to show this for other view may be for code issues!

Copy link
Contributor Author

@abhraina-aws abhraina-aws Jul 24, 2025

Choose a reason for hiding this comment

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

Having this doesn't show the log on login window. I tested that configuration also.

Copy link
Contributor

Choose a reason for hiding this comment

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

I see

@abhraina-aws abhraina-aws merged commit 6c79154 into aws:master Jul 24, 2025
28 of 31 checks passed
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