diff --git a/.changes/next-release/bugfix-8c569cf5-1a06-4bdc-b39b-91e04a6084b7.json b/.changes/next-release/bugfix-8c569cf5-1a06-4bdc-b39b-91e04a6084b7.json new file mode 100644 index 00000000000..b96adabe719 --- /dev/null +++ b/.changes/next-release/bugfix-8c569cf5-1a06-4bdc-b39b-91e04a6084b7.json @@ -0,0 +1,4 @@ +{ + "type" : "bugfix", + "description" : "/test placeholder text aligned across IDEs" +} diff --git a/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt b/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt index 04c1e4dc6db..055045f49dc 100644 --- a/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt +++ b/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt @@ -585,7 +585,7 @@ class CodeWhispererUTGChatManager(val project: Project, private val cs: Coroutin codeTestChatHelper.deleteSession(session.tabId) codeTestChatHelper.updateUI( promptInputDisabledState = false, - promptInputPlaceholder = message("testgen.placeholder.newtab"), + promptInputPlaceholder = message("testgen.placeholder.enter_slash_quick_actions"), ) } session.isGeneratingTests = false diff --git a/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/controller/CodeTestChatController.kt b/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/controller/CodeTestChatController.kt index c6361c2ce85..8b4f8fa4c00 100644 --- a/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/controller/CodeTestChatController.kt +++ b/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/controller/CodeTestChatController.kt @@ -627,7 +627,7 @@ class CodeTestChatController( sessionCleanUp(session.tabId) codeTestChatHelper.updateUI( promptInputDisabledState = false, - promptInputPlaceholder = message("testgen.placeholder.waiting_on_your_inputs"), + promptInputPlaceholder = message("testgen.placeholder.enter_slash_quick_actions"), ) /* val taskContext = session.buildAndExecuteTaskContext @@ -1004,7 +1004,7 @@ class CodeTestChatController( codeTestChatHelper.updateUI( promptInputDisabledState = false ) - codeTestChatHelper.sendUpdatePlaceholder(tabId, message("testgen.placeholder.newtab")) + codeTestChatHelper.sendUpdatePlaceholder(tabId, message("testgen.placeholder.enter_slash_quick_actions")) } private fun openOrCreateTestFileAndApplyDiff( diff --git a/plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties b/plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties index 4b40b1cd3a1..cdccf69783e 100644 --- a/plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties +++ b/plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties @@ -2072,6 +2072,7 @@ testgen.message.failed=Sorry, Test generation failed. Please try again in few mi testgen.message.regenerate_input=Sure thing. Please provide new instructions for me to generate the tests, and select the function(s) you would like to test. testgen.message.success=Unit test generation completed. testgen.no_file_found=Sorry, there isn't a source file open right now that I can generate a test for. Make sure you open a source file so I can generate tests. +testgen.placeholder.enter_slash_quick_actions=Enter "/" for quick actions testgen.placeholder.newtab=Ask any coding question or type \u0022/\u0022 for actions testgen.placeholder.select_an_option = Please select an action to proceed (Accept or Reject) testgen.placeholder.view_diff=Select View Diff to see the generated unit tests