Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
@@ -0,0 +1,4 @@
{
"type" : "bugfix",
"description" : "/test placeholder text aligned across IDEs"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading