Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions packages/amazonq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,6 @@
"id": "aws.AmazonQChatView",
"name": "%AWS.amazonq.chat%",
"when": "!aws.isWebExtHost && !aws.amazonq.showLoginView"
},
{
"id": "aws.AmazonQNeverShowBadge",
"name": "",
"when": "false"
}
],
"aws-codewhisperer-reference-log": [
Expand Down
1 change: 0 additions & 1 deletion packages/amazonq/src/app/chat/activation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export async function activate(context: ExtensionContext) {
void vscode.env.openExternal(vscode.Uri.parse(amazonq.amazonQHelpUrl))
})

await amazonq.activateBadge()
void setupLsp()
void setupAuthNotification()
}
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/amazonq/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export { init as featureDevChatAppInit } from '../amazonqFeatureDev/app'
export { init as gumbyChatAppInit } from '../amazonqGumby/app'
export { init as testChatAppInit } from '../amazonqTest/app'
export { init as docChatAppInit } from '../amazonqDoc/app'
export { activateBadge } from './util/viewBadgeHandler'
export { amazonQHelpUrl } from '../shared/constants'
export { listCodeWhispererCommandsWalkthrough } from '../codewhisperer/ui/statusBarMenu'
export { focusAmazonQPanel, focusAmazonQPanelKeybinding } from '../codewhispererChat/commands/registerCommands'
Expand Down
83 changes: 0 additions & 83 deletions packages/core/src/amazonq/util/viewBadgeHandler.ts

This file was deleted.

16 changes: 0 additions & 16 deletions packages/core/src/amazonq/webview/webView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import { dispatchAppsMessagesToWebView, dispatchWebViewMessagesToApps } from './
import { MessageListener } from '../messages/messageListener'
import { MessagePublisher } from '../messages/messagePublisher'
import { TabType } from './ui/storages/tabsStorage'
import { deactivateInitialViewBadge, shouldShowBadge } from '../util/viewBadgeHandler'
import { telemetry } from '../../shared/telemetry/telemetry'
import { amazonqMark } from '../../shared/performance/marks'

export class AmazonQChatViewProvider implements WebviewViewProvider {
Expand Down Expand Up @@ -66,19 +64,5 @@ export class AmazonQChatViewProvider implements WebviewViewProvider {
)

performance.mark(amazonqMark.open)

// badge is shown, emit telemetry for first time an existing, unscoped user tries Q
// note: this will fire on any not-properly-scoped Q entry.
// this means we can't tie it directly to the badge although it is hinted at
if (await shouldShowBadge()) {
telemetry.ui_click.emit({
elementId: 'amazonq_tryAmazonQ',
passive: false,
})
}
// if a user EVER enters Q, we should never show the badge again.
// the webview view only loads if the user clicks the view container,
// so we can essentially use this as a guarantee that a user has entered Q.
deactivateInitialViewBadge()
}
}
1 change: 0 additions & 1 deletion packages/core/src/shared/globalState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export type globalKey =
| 'dev.beta'
| 'globalsMostRecentVersion'
| 'gumby.wasQCodeTransformationUsed'
| 'hasAlreadyOpenedAmazonQ'
| 'isExtensionFirstUse'
| 'lastExtensionVersion'
| 'lastSelectedRegion'
Expand Down
Loading