Skip to content

Commit deaefee

Browse files
fix(amazonq): fix to remove notification pop-up for data sharing toggle (aws#8099)
## Problem We need to remove the notifcation pop-up for data sharing toggle in Amazon Q settings ## Solution - removed the toggle https://github.com/user-attachments/assets/6a56de02-26a0-4d28-8190-88d238740e22 --- - 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](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). - License: I confirm that my contribution is made under the terms of the Apache 2.0 license. Co-authored-by: Tai Lai <[email protected]>
1 parent da8fc99 commit deaefee

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

packages/core/src/codewhisperer/activation.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -157,21 +157,6 @@ export async function activate(context: ExtContext): Promise<void> {
157157
}
158158
}
159159

160-
if (configurationChangeEvent.affectsConfiguration('amazonQ.shareContentWithAWS')) {
161-
if (auth.isEnterpriseSsoInUse()) {
162-
await vscode.window
163-
.showInformationMessage(
164-
CodeWhispererConstants.ssoConfigAlertMessageShareData,
165-
CodeWhispererConstants.settingsLearnMore
166-
)
167-
.then(async (resp) => {
168-
if (resp === CodeWhispererConstants.settingsLearnMore) {
169-
void openUrl(vscode.Uri.parse(CodeWhispererConstants.learnMoreUri))
170-
}
171-
})
172-
}
173-
}
174-
175160
if (configurationChangeEvent.affectsConfiguration('editor.inlineSuggest.enabled')) {
176161
await vscode.window
177162
.showInformationMessage(

0 commit comments

Comments
 (0)