-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/amazon q /doc: upload diagram files during doc generation #1
base: main
Are you sure you want to change the base?
Conversation
b339819
to
231c426
Compare
// TODO: Need to correct this class location in the modules going further to support both amazonq and codescan. | ||
|
||
// well known source files that do not have extensions | ||
private val wellKnownSourceFiles = setOf( |
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.
this change just moves wellKnownSourceFiles further up right? just wanted to make sure there's no actual change here to /dev's functionality
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.
for this variable - yes, only move it up.
the whole file has same functionality as before, the only changes is to add support to extend this class so that our class can include diagrams in the zip archive
231c426
to
47cc7e5
Compare
47cc7e5
to
d5fa9d8
Compare
d5fa9d8
to
9e5289b
Compare
…lemetry and ad… (aws#5345) * Filter out frequent client error from codegeneration telemetry and add errMsg to reasonDesc when desc is null * refactor error messages into constnt --------- Co-authored-by: Yuxin Lin <[email protected]>
9e5289b
to
9308cd1
Compare
…ted unit tests (aws#5337) * enable syntax highlighting when viewing diff for generated unit tests changelog remove unused import * lint * virtualFile always created and will not be null * use session.testFileName instead of extension * lint * create temporary virtual file * comment * Update bugfix-3b7843b4-9673-4afa-90e8-7c4278f0d0fe.json
…s#5356) * Show the source file path instead of test file path in short answer if user does /test on test file.
….addConnection (aws#5338) * Updated AddConnection telemetry event in LoginBrowser.kt * Updated AddConnection telemetry event * Fixed issues using gradlew detekt
9308cd1
to
0a24b17
Compare
…cies (aws#5329) ui-tests-starter attempts to resolve the IDE distribution and fails, but it should not actually be required to build/execute
…nd folders to ignore list. (aws#5361)
…on (aws#5347) config(amazonq): customization override should respect users' selection --------- Co-authored-by: Richard Li <[email protected]>
* Correcting auth checks for /test workflow
…s#5326) * fix(amazonq): single click or select through arrow keys on review code issues does not focus code editor to line nor show issue details * add change report * add back modelzonemarket.cs file * deleted irrelevant comment --------- Co-authored-by: Tai Lai <[email protected]>
It is easy to forget to update all artifacts on a new MV, so consolidate all artifacts under same matrix
Attempt to enforce more consistency on commit messages
Qodana Community for JVM12 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
upload-result: true Contact Qodana teamContact us at [email protected]
|
* improve error handling of workspace index
Co-authored-by: David Hasani <[email protected]>
…o user-selected region (aws#5365) WARN - software.aws.toolkits.jetbrains.core.credentials.AwsConnectionManager - Using activeRegion when region is null, calling code needs to be migrated to handle null java.lang.IllegalStateException at software.aws.toolkits.jetbrains.core.credentials.AwsConnectionManager.getActiveRegion(AwsConnectionManager.kt:224) at software.aws.toolkits.jetbrains.core.credentials.AwsConnectionManagerKt.activeRegion(AwsConnectionManager.kt:370) at migration.software.aws.toolkits.jetbrains.services.telemetry.TelemetryService.record(TelemetryService.kt:59) at software.aws.toolkits.telemetry.SessionTelemetry.start(SessionTelemetry.kt:287) at software.aws.toolkits.telemetry.SessionTelemetry.start$default(SessionTelemetry.kt:271) at software.aws.toolkits.jetbrains.services.telemetry.AwsToolkitStartupMetrics.execute$lambda$0(AwsToolkitStartupMetrics.kt:14) at com.intellij.ide.util.RunOnceUtilKt.doRunOnce(RunOnceUtil.kt:68) at com.intellij.ide.util.RunOnceUtilKt.access$doRunOnce(RunOnceUtil.kt:1)
This reverts commit 4971993.
…s#5336) Previously, UTG did not have telemetry to collect user feedback on generated unit tests. This PR introduces telemetry support to address that gap. Additionally, it enables users to submit comments, which will be routed to a private SIM folder.
…mework (aws#5385) Force resolve 243.21565.192 -> 243.21565.193 ``` org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find any version that matches com.jetbrains.intellij.java:java-test-framework:{strictly [243, 243.21565.192]; prefer 243.21565.192}. Versions that do not match: - 243.24978.46 - 243.23654.189 - 243.23654.153 - 243.23654.117 - 243.22562.218 - + 124 more ```
* Adding truncation logic to testGen user prompt * Adding change log * Updating telemetry error message to align VSC and JB * Removing unwanted files
…ws#5360) * fix(amazonq): update logic for converting gitignore pattern to regex * fix(amazonq): update logic for converting gitignore pattern to regex --------- Co-authored-by: Gaurav Gandhi <[email protected]> Co-authored-by: Richard Li <[email protected]>
77d5577
to
fec3b27
Compare
* fix tab acceptAction not working in JB remote * use isRunningOnRemoteBackend
…ws#5357) Co-authored-by: Viktor Shesternyak <[email protected]>
…ase ignore list. (aws#5389)
16f8768
to
beabdf1
Compare
@@ -15,6 +16,8 @@ | |||
import software.aws.toolkits.jetbrains.services.amazonqCodeTest.session.Session | |||
import software.aws.toolkits.jetbrains.services.amazonqCodeTest.storage.ChatSessionStorage | |||
import software.aws.toolkits.jetbrains.services.cwc.messages.ChatMessageType | |||
import software.aws.toolkits.jetbrains.services.cwc.messages.FollowUp | |||
import software.aws.toolkits.resources.message |
Check warning
Code scanning / QDJVMC
Usage of redundant or deprecated syntax or deprecated symbols Warning
|
||
suspend fun sendChatInputEnabledMessage(isEnabled: Boolean) { | ||
if (isInvalidSession()) return | ||
messagePublisher.publish(ChatInputEnabledMessage(activeCodeTestTabId as String, enabled = isEnabled)) |
Check warning
Code scanning / QDJVMC
Usage of redundant or deprecated syntax or deprecated symbols Warning
tabId = tabId, | ||
messageId = messageId ?: UUID.randomUUID().toString(), | ||
messageType = ChatMessageType.Answer, | ||
message = message("amazonqFeatureDev.follow_instructions_for_authentication"), |
Check warning
Code scanning / QDJVMC
Usage of redundant or deprecated syntax or deprecated symbols Warning
import software.aws.toolkits.jetbrains.services.amazonqDoc.messages.FollowUp | ||
import software.aws.toolkits.jetbrains.services.amazonqDoc.messages.FollowUpStatusType | ||
import software.aws.toolkits.jetbrains.services.amazonqDoc.messages.FollowUpTypes | ||
import software.aws.toolkits.resources.message |
Check warning
Code scanning / QDJVMC
Usage of redundant or deprecated syntax or deprecated symbols Warning
|
||
val NEW_SESSION_FOLLOWUPS: List<FollowUp> = listOf( | ||
FollowUp( | ||
pillText = message("amazonqDoc.prompt.reject.new_task"), |
Check warning
Code scanning / QDJVMC
Usage of redundant or deprecated syntax or deprecated symbols Warning
status = FollowUpStatusType.Info | ||
), | ||
FollowUp( | ||
pillText = message("amazonqDoc.prompt.reject.close_session"), |
Check warning
Code scanning / QDJVMC
Usage of redundant or deprecated syntax or deprecated symbols Warning
package compat.com.intellij.lang.javascript | ||
|
||
// probably not necessary, but inline to avoid loading this through core classpath | ||
inline val JavascriptLanguage |
Check notice
Code scanning / QDJVMC
Function or property has platform type Note
Upload architecture diagram image files during documentation generation
Types of changes
Description
Upload architecture diagram image files during documentation generation
Checklist
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.