Skip to content

Commit 3efd67f

Browse files
author
David Hasani
committed
update form
1 parent 3440dc3 commit 3efd67f

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/constants/CodeTransformChatItems.kt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -211,14 +211,14 @@ private val selectSkipTestsFlagFormItem = FormItem(
211211
title = message("codemodernizer.chat.form.user_selection.item.choose_skip_tests_option"),
212212
mandatory = true,
213213
options = listOf(
214-
FormItemOption(
215-
label = message("codemodernizer.chat.message.skip_tests_form.skip"),
216-
value = message("codemodernizer.chat.message.skip_tests_form.skip"),
217-
),
218214
FormItemOption(
219215
label = message("codemodernizer.chat.message.skip_tests_form.run_tests"),
220216
value = message("codemodernizer.chat.message.skip_tests_form.run_tests"),
221217
),
218+
FormItemOption(
219+
label = message("codemodernizer.chat.message.skip_tests_form.skip"),
220+
value = message("codemodernizer.chat.message.skip_tests_form.skip"),
221+
),
222222
)
223223
)
224224

@@ -240,7 +240,7 @@ private val selectOneOrMultipleDiffsFlagFormItem = FormItem(
240240

241241
private val selectCanRerunJobFormItem = FormItem(
242242
id = CodeTransformFormItemId.SelectCanRerunJob.id,
243-
title = "To improve our service, do we have permission to re-run your job?",
243+
title = "To improve our service, do we have permission to re-run your job? You will *not* be charged.",
244244
type = "radiogroup",
245245
mandatory = true,
246246
options = listOf(
@@ -273,7 +273,7 @@ private val selectCanViewLogsFormItem = FormItem(
273273
)
274274

275275
private fun getUserPermissionsSelectionMarkdown(canRerunJob: String, canViewLogs: String) = """
276-
### Feedback received
276+
### Response received
277277
-------------
278278
279279
| | |
@@ -394,7 +394,7 @@ fun buildUserInputOneOrMultipleDiffsFlagChatContent(): CodeTransformChatMessageC
394394

395395
fun buildUserInputPermissionsFeedbackChatContent(): CodeTransformChatMessageContent =
396396
CodeTransformChatMessageContent(
397-
message = message("codemodernizer.chat.form.user_selection.title"),
397+
message = message("codemodernizer.chat.form.user_permissions.title"),
398398
buttons = listOf(
399399
confirmUserSelectionPermissionsButton,
400400
cancelUserSelectionButton,

plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,7 @@ codemodernizer.chat.form.user_selection.item.choose_skip_tests_option=Choose to
618618
codemodernizer.chat.form.user_selection.item.choose_sql_metadata_file=Okay, I can convert the embedded SQL code for your Oracle to PostgreSQL transformation. To get started, upload the zipped metadata file from your schema conversion in AWS Data Migration Service (DMS). To retrieve the metadata file:\n1. Open your database migration project in the AWS DMS console.\n2. Open the schema conversion and choose **Convert the embedded SQL in your application**.\n3. Once you complete the conversion, close the project and go to the S3 bucket where your project is stored.\n4. Open the folder and find the project folder ("sct-project").\n5. Download the object inside the project folder. This will be a zip file.\n\nFor more info, refer to the [documentation](https://docs.aws.amazon.com/dms/latest/userguide/schema-conversion-embedded-sql.html).
619619
codemodernizer.chat.form.user_selection.item.choose_target_version=Choose the target code version
620620
codemodernizer.chat.form.user_selection.title=Q - Code transformation
621+
codemodernizer.chat.form.user_permissions.title=Amazon Q Permissions Form
621622
codemodernizer.chat.message.absolute_path_detected=I detected {0} potential absolute file path(s) in your {1} file: **{2}**. Absolute file paths might cause issues when I build your code. Any errors will show up in the build log.
622623
codemodernizer.chat.message.auth_prompt=Follow instructions to re-authenticate ...
623624
codemodernizer.chat.message.button.cancel=Cancel

0 commit comments

Comments
 (0)