Skip to content

Commit 06bc3ed

Browse files
author
Bhargava Varadharajan
committed
fix(q): Remove Q Show Logs options from non Q views
**Description** Noticed that if Q extension is installed alongside AWS Toolkit, the Show Logs option redirecting to Q logs were showing up in the toolkit views as well. This does not make sense, especially for SMUS as it is misleading. Change now shows this only for amazonq views similar to the learn more option. **Motivation** Remove misleading show logs option from non Q views **Testing Done** Tested locally that it no longer shows up in Toolkit but shows in Q.
1 parent 7442e21 commit 06bc3ed

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Remove show logs menu item for non Q views"
4+
}

packages/amazonq/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@
415415
},
416416
{
417417
"command": "aws.amazonq.showLogs",
418-
"when": "!aws.isSageMakerUnifiedStudio",
418+
"when": "(view =~ /^aws\\.amazonq/) && !aws.isSageMakerUnifiedStudio",
419419
"group": "1_amazonQ@5"
420420
},
421421
{

0 commit comments

Comments
 (0)