Skip to content

Commit 0a597bd

Browse files
Merge master into feature/amazonqLSP
2 parents 5e3c12c + 9b0590c commit 0a597bd

File tree

6 files changed

+0
-107
lines changed

6 files changed

+0
-107
lines changed

packages/amazonq/package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,6 @@
218218
"id": "aws.AmazonQChatView",
219219
"name": "%AWS.amazonq.chat%",
220220
"when": "!aws.isWebExtHost && !aws.amazonq.showLoginView"
221-
},
222-
{
223-
"id": "aws.AmazonQNeverShowBadge",
224-
"name": "",
225-
"when": "false"
226221
}
227222
],
228223
"aws-codewhisperer-reference-log": [

packages/amazonq/src/app/chat/activation.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ export async function activate(context: ExtensionContext) {
6161
void vscode.env.openExternal(vscode.Uri.parse(amazonq.amazonQHelpUrl))
6262
})
6363

64-
await amazonq.activateBadge()
6564
void setupLsp()
6665
void setupAuthNotification()
6766
}

packages/core/src/amazonq/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export { init as featureDevChatAppInit } from '../amazonqFeatureDev/app'
2424
export { init as gumbyChatAppInit } from '../amazonqGumby/app'
2525
export { init as testChatAppInit } from '../amazonqTest/app'
2626
export { init as docChatAppInit } from '../amazonqDoc/app'
27-
export { activateBadge } from './util/viewBadgeHandler'
2827
export { amazonQHelpUrl } from '../shared/constants'
2928
export { listCodeWhispererCommandsWalkthrough } from '../codewhisperer/ui/statusBarMenu'
3029
export { focusAmazonQPanel, focusAmazonQPanelKeybinding } from '../codewhispererChat/commands/registerCommands'

packages/core/src/amazonq/util/viewBadgeHandler.ts

Lines changed: 0 additions & 83 deletions
This file was deleted.

packages/core/src/amazonq/webview/webView.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ import { dispatchAppsMessagesToWebView, dispatchWebViewMessagesToApps } from './
1919
import { MessageListener } from '../messages/messageListener'
2020
import { MessagePublisher } from '../messages/messagePublisher'
2121
import { TabType } from './ui/storages/tabsStorage'
22-
import { deactivateInitialViewBadge, shouldShowBadge } from '../util/viewBadgeHandler'
23-
import { telemetry } from '../../shared/telemetry/telemetry'
2422
import { amazonqMark } from '../../shared/performance/marks'
2523

2624
export class AmazonQChatViewProvider implements WebviewViewProvider {
@@ -66,19 +64,5 @@ export class AmazonQChatViewProvider implements WebviewViewProvider {
6664
)
6765

6866
performance.mark(amazonqMark.open)
69-
70-
// badge is shown, emit telemetry for first time an existing, unscoped user tries Q
71-
// note: this will fire on any not-properly-scoped Q entry.
72-
// this means we can't tie it directly to the badge although it is hinted at
73-
if (await shouldShowBadge()) {
74-
telemetry.ui_click.emit({
75-
elementId: 'amazonq_tryAmazonQ',
76-
passive: false,
77-
})
78-
}
79-
// if a user EVER enters Q, we should never show the badge again.
80-
// the webview view only loads if the user clicks the view container,
81-
// so we can essentially use this as a guarantee that a user has entered Q.
82-
deactivateInitialViewBadge()
8367
}
8468
}

packages/core/src/shared/globalState.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ export type globalKey =
6060
| 'dev.beta'
6161
| 'globalsMostRecentVersion'
6262
| 'gumby.wasQCodeTransformationUsed'
63-
| 'hasAlreadyOpenedAmazonQ'
6463
| 'isExtensionFirstUse'
6564
| 'lastExtensionVersion'
6665
| 'lastSelectedRegion'

0 commit comments

Comments
 (0)