Skip to content

Commit f84a83f

Browse files
committed
received confirmation on ui text
1 parent b2ea840 commit f84a83f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

packages/core/src/amazonq/webview/ui/quickActions/generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class QuickActionGenerator {
4040
? [
4141
{
4242
command: '/transform',
43-
description: 'Transform your Java 8 or 11 Maven project to Java 17',
43+
description: 'Transform your Java 8, Java 11, or Java 17 Maven projects ',
4444
},
4545
]
4646
: []),

packages/core/src/amazonq/webview/ui/tabs/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ What would you like to work on?`,
3535
placeholder: 'Open a new tab to chat with Q',
3636
welcome: `Welcome to Code Transformation!
3737
38-
I can help you upgrade your Java 8 and 11 codebases to Java 17.`,
38+
I can help you upgrade your Java 8 and Java 11 codebases to Java 17 and upgrade Java 17 code with up to date libraries and other dependencies.`,
3939
},
4040
}

packages/core/src/codewhisperer/models/constants.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ export const buildSucceededNotification =
496496
export const absolutePathDetectedMessage = (numPaths: number, buildFile: string, listOfPaths: string) =>
497497
`I detected ${numPaths} potential absolute file path(s) in your ${buildFile} file: **${listOfPaths}**. Absolute file paths might cause issues when I build your code. Any errors will show up in the build log.`
498498

499-
export const unsupportedJavaVersionChatMessage = `Sorry, currently I can only upgrade Java 8, 11, or 17 projects. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
499+
export const unsupportedJavaVersionChatMessage = `I can only upgrade Java 8, Java 11, or Java 17 projects. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
500500

501501
export const failedToStartJobChatMessage =
502502
"Sorry, I couldn't begin the transformation. Please try starting the transformation again."
@@ -564,9 +564,9 @@ export const jobPartiallyCompletedChatMessage =
564564
export const jobPartiallyCompletedNotification =
565565
'Amazon Q upgraded part of your code to Java 17. You can review the diff to see my proposed changes and accept or reject them. The transformation summary has details about the files I updated and the errors that prevented a complete transformation.'
566566

567-
export const noPomXmlFoundChatMessage = `Sorry, I couldn\'t find a project that I can upgrade. I couldn\'t find a pom.xml file in any of your open projects. Currently, I can only upgrade Java 8, 11, or 17 projects built on Maven. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
567+
export const noPomXmlFoundChatMessage = `I couldn\'t find a project that I can upgrade. A pom.xml is required to begin a transformation. Currently, I can upgrade Java 8, Java 11, and Java 17 projects built on Maven. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
568568

569-
export const noPomXmlFoundNotification = `None of your open projects are supported by Amazon Q Code Transformation. Amazon Q could not find a pom.xml file in any of your open projects. Currently, Amazon Q can only upgrade Java 8, 11, or 17 projects built on Maven. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
569+
export const noPomXmlFoundNotification = `None of your open projects are supported by the Amazon Q agent for code transformation. Currently, Amazon Q can only upgrade Java 8, Java 11, and Java 17 projects built on Maven. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
570570

571571
export const noJavaHomeFoundChatMessage = `Sorry, I couldn\'t locate your Java installation. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
572572

@@ -604,9 +604,9 @@ export const changesAppliedChatMessage = 'I applied the changes to your project.
604604

605605
export const changesAppliedNotification = 'Amazon Q applied the changes to your project.'
606606

607-
export const noOpenProjectsFoundChatMessage = `Sorry, I couldn\'t find a project that I can upgrade. Currently, I can only upgrade Java 8, 11 or 17 projects built on Maven. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
607+
export const noOpenProjectsFoundChatMessage = `I couldn\'t find a project that I can upgrade. Currently, I can upgrade Java 8, Java 11, and Java 17 projects built on Maven. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
608608

609-
export const noJavaProjectsFoundChatMessage = `Sorry, I couldn\'t find a project that I can upgrade. Currently, I can only upgrade Java 8, 11 or 17 projects built on Maven. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
609+
export const noJavaProjectsFoundChatMessage = `I couldn\'t find a project that I can upgrade. Currently, I can upgrade Java 8, Java 11, and Java 17 projects built on Maven. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
610610

611611
export const linkToDocsHome = 'https://docs.aws.amazon.com/amazonq/latest/aws-builder-use-ug/code-transformation.html'
612612

0 commit comments

Comments
 (0)