You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
amazonq_didSelectProfile
All IDEs must emit the "amazonq_didSelectProfile" event under the following conditions:
Immediately after a user has successfully logged in. [Auth flow]
When a user explicitly changes their profile. [Modal Dialog flow]
amazonq_profileState
IDEs will auto select or show failure to select profile for users who have already authenticated. We want to cover profile state for this users. Hence this metric amazonq_profileState is emitted on load/reload/update/restart of after with auth_userState.
ide startup, plugins will reload previous selected profile and validate it
auto-select if users only have 1 profile
Copy file name to clipboardExpand all lines: plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/QLoginWebview.kt
Copy file name to clipboardExpand all lines: plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/startup/AmazonQStartupActivity.kt
Copy file name to clipboardExpand all lines: plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/toolwindow/AmazonQToolWindowFactory.kt
Copy file name to clipboardExpand all lines: plugins/amazonq/codewhisperer/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/codewhisperer/QRegionProfileManagerTest.kt
fun`validateProfile should cross validate selected profile with latest API response for current project and remove it if its not longer accessible`() {
160
+
val client = clientRule.create<CodeWhispererRuntimeClient>()
161
+
val mockResponse:SdkIterable<Profile> =SdkIterable<Profile> {
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/actions/QSwitchProfilesAction.kt
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/profile/QRegionProfileDialog.kt
0 commit comments