Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
629a053
initial attempt at showing multiple diff patches, need to sync chat w…
ntarakad-aws Nov 3, 2024
6ef2c1a
adding support for different json format
ntarakad-aws Nov 6, 2024
853b40c
adding new UI messaging for patch descriptions and removing redundant…
ntarakad-aws Nov 14, 2024
0429617
added in forms for one or multiple diffs and made manifest changes ac…
ntarakad-aws Nov 15, 2024
5f7c508
removing old multiple patches description
ntarakad-aws Nov 15, 2024
80e5b8f
fixing patch descriptions message
ntarakad-aws Nov 16, 2024
9b6c1d4
fixed issue with undefined in changes applied message and addressing …
ntarakad-aws Nov 17, 2024
61b088b
updated messaging for one or multiple diffs when job success/partial …
ntarakad-aws Nov 18, 2024
f89c49f
fixing one diff and off by one error for multiple diffs and addressin…
ntarakad-aws Nov 18, 2024
7c961ba
added unit tests and fixing off by one logic and detekt errors
ntarakad-aws Nov 18, 2024
89a8bb5
adding test zip
ntarakad-aws Nov 18, 2024
a667cc4
removing sample diff zip
ntarakad-aws Nov 18, 2024
1a1fdb8
adding sample diff zip
ntarakad-aws Nov 18, 2024
77fb5b9
adding simple back
ntarakad-aws Nov 18, 2024
f5bef5e
Merge branch 'main' into selective-transform
ntarakad-aws Nov 18, 2024
f2ff3d4
fixing detekt and adding patch applied notification and updating unit…
ntarakad-aws Nov 19, 2024
b07c148
addressing comments on PR, detekt issues, and adding feature flag
ntarakad-aws Nov 19, 2024
14992ff
adding feature flag and telemetry
ntarakad-aws Nov 20, 2024
6fb6f3f
fixing telemetry and readValue
ntarakad-aws Nov 20, 2024
98c9eab
fixing failed test and lint
ntarakad-aws Nov 20, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ class ArtifactHandler(
dialog.isModal = true

if (dialog.showAndGet()) {
telemetry.submitSelection("Submit-${patchDescriptions[diffDescription?.name]}")
telemetry.viewArtifact(CodeTransformArtifactType.ClientInstructions, jobId, "Submit", source)
if (diffDescription == null) {
val resultContent = CodeTransformChatMessageContent(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class GumbyClient(private val project: Project) {
it.timestamp(Instant.now())
it.ideCategory(IdeCategory.JETBRAINS)
it.programmingLanguage { language ->
language.languageName(metrics.programmingLanguage)
language.languageName(metrics.programmingLanguage?.lowercase())
}
it.linesOfCodeChanged(metrics.linesOfCodeChanged)
it.charsOfCodeChanged(metrics.charactersOfCodeChanged)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -378,16 +378,16 @@ class CodeTransformChatController(
message("codemodernizer.chat.message.skip_tests_form.skip") -> MAVEN_BUILD_SKIP_UNIT_TESTS
else -> MAVEN_BUILD_RUN_UNIT_TESTS
}
//feature flag for Selective Transformation
// feature flag for Selective Transformation
val isSelectiveTransformationReady = false
codeTransformChatHelper.addNewMessage(buildUserSkipTestsFlagSelectionChatContent(message.skipTestsSelection))
codeModernizerManager.codeTransformationSession?.let {
it.sessionContext.customBuildCommand = customBuildCommand
if (!isSelectiveTransformationReady){
if (!isSelectiveTransformationReady) {
codeModernizerManager.runLocalMavenBuild(context.project, it)
}
}
if (isSelectiveTransformationReady){
if (isSelectiveTransformationReady) {
codeTransformChatHelper.run {
addNewMessage(buildUserInputOneOrMultipleDiffsChatIntroContent())
addNewMessage(buildUserInputOneOrMultipleDiffsFlagChatContent())
Expand Down
Loading