Skip to content

Commit bad001a

Browse files
Merge master into feature/amazonqLSP
2 parents 17d8422 + f004173 commit bad001a

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
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": "Notifications: 'Dismiss' command visible in command palette."
4+
}

packages/amazonq/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
{
199199
"id": "aws.amazonq.notifications",
200200
"name": "%AWS.notifications.title%",
201-
"when": "!isCloud9 && !aws.isSageMaker && aws.amazonq.notifications.show"
201+
"when": "!(isCloud9 || aws.isSageMaker) && aws.amazonq.notifications.show"
202202
},
203203
{
204204
"type": "webview",
@@ -496,7 +496,7 @@
496496
"command": "_aws.amazonq.notifications.dismiss",
497497
"title": "%AWS.generic.dismiss%",
498498
"category": "%AWS.amazonq.title%",
499-
"enablement": "isCloud9 || !aws.isWebExtHost",
499+
"enablement": "view == aws.amazonq.notifications",
500500
"icon": "$(remove-close)"
501501
},
502502
{
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": "Notifications: 'Dismiss' command visible in command palette."
4+
}

packages/toolkit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@
736736
{
737737
"id": "aws.toolkit.notifications",
738738
"name": "%AWS.notifications.title%",
739-
"when": "!isCloud9 && !aws.isSageMaker && aws.toolkit.notifications.show"
739+
"when": "!(isCloud9 || aws.isSageMaker) && aws.toolkit.notifications.show"
740740
},
741741
{
742742
"id": "aws.amazonq.codewhisperer",
@@ -2235,7 +2235,7 @@
22352235
"command": "_aws.toolkit.notifications.dismiss",
22362236
"title": "%AWS.generic.dismiss%",
22372237
"category": "%AWS.title%",
2238-
"enablement": "isCloud9 || !aws.isWebExtHost",
2238+
"enablement": "view == aws.toolkit.notifications",
22392239
"icon": "$(remove-close)"
22402240
},
22412241
{

0 commit comments

Comments
 (0)