-
Notifications
You must be signed in to change notification settings - Fork 273
feat(dev): Stop code generation action #4948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
681f5c0 to
7f84621
Compare
...ty/src/software/aws/toolkits/jetbrains/services/codewhisperer/util/CodeWhispererConstants.kt
Outdated
Show resolved
Hide resolved
...oftware/aws/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevController.kt
Fixed
Show fixed
Hide fixed
...s/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevControllerExtensions.kt
Fixed
Show fixed
Hide fixed
...s/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevControllerExtensions.kt
Fixed
Show fixed
Hide fixed
...rc/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/session/CodeGenerationState.kt
Fixed
Show fixed
Hide fixed
|
!!Important - FYI toolkit team: this is only to be merged in next week's release. CC: @neilk-aws |
| tabId = tabId, | ||
| followUp = listOf( | ||
| FollowUp( | ||
| pillText = message("amazonqFeatureDev.follow_up.new_task"), |
Check warning
Code scanning / QDJVMC
Usage of redundant or deprecated syntax or deprecated symbols Warning
|
|
||
| private fun FeatureDevController.openChatNotificationAction() = | ||
| NotificationAction.createSimple( | ||
| message("amazonqFeatureDev.code_generation.notification_open_link"), |
Check warning
Code scanning / QDJVMC
Usage of redundant or deprecated syntax or deprecated symbols Warning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very difficult to review with all the whitespace changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please minimize the diff. try the contents of *.normal.json instead
.../src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/session/SessionStateTypes.kt
Outdated
Show resolved
Hide resolved
...-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/session/Session.kt
Outdated
Show resolved
Hide resolved
detekt-rules/tst/software/aws/toolkits/gradle/detekt/rules/LazyLogRuleTest.kt
Show resolved
Hide resolved
...s/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevControllerExtensions.kt
Outdated
Show resolved
Hide resolved
...s/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevControllerExtensions.kt
Fixed
Show fixed
Hide fixed
...rc/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/session/CodeGenerationState.kt
Show resolved
Hide resolved
...oftware/aws/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevController.kt
Outdated
Show resolved
Hide resolved
...rc/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/session/CodeGenerationState.kt
Show resolved
Hide resolved
…kits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevControllerExtensions.kt Co-authored-by: Richard Li <[email protected]>
...s/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevControllerExtensions.kt
Fixed
Show fixed
Hide fixed
…kits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevControllerExtensions.kt Co-authored-by: Richard Li <[email protected]>
...oftware/aws/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevController.kt
Fixed
Show fixed
Hide fixed
...s/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevControllerExtensions.kt
Fixed
Show fixed
Hide fixed
...s/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevControllerExtensions.kt
Fixed
Show fixed
Hide fixed
| tabId = tabId, | ||
| messageType = FeatureDevMessageType.Answer, | ||
| message = message("amazonqFeatureDev.code_generation.no_file_changes") | ||
| message = message("amazonqFeatureDev.code_generation.no_file_changes"), |
Check warning
Code scanning / QDJVMC
Usage of redundant or deprecated syntax or deprecated symbols Warning
telemetry(amazonq): replace stopCodeGeneration telemetry with UiTelemetry.click
Types of changes
Description
Currently /dev don't support stop code generation. This PR introduces this functionality (watch the video below).
Mynah UI provides onStopChatResponse API which we can hook in the cancellation token provided on VS Code, sharing across an active session, aborting current progress.
Screen.Recording.2024-10-16.at.10.11.20.AM.mov
VS Code side: aws/aws-toolkit-vscode#5675
Checklist
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.