From 77bd8a75539c7b1b7ba3c6489861babe4a986753 Mon Sep 17 00:00:00 2001 From: Josh Pinkney <103940141+jpinkney-aws@users.noreply.github.com> Date: Mon, 4 Nov 2024 06:57:14 -0500 Subject: [PATCH] fix(amazonq): Align example help text with the prompt message that it sends in chat (#5898) ## Problem - The examples text shows "How can Amazon Q help me?" but when you click on it it shows "What can Amazon Q help me with?" in chat. This is confusing to users ## Solution - Align both the example help text and the prompt message in chat as "How can Amazon Q help me?" ## Alternative solution - Align them with "What can Amazon Q help me with?" instead --- .../Bug Fix-63cca37f-cf3c-42ff-bc9d-b3f71c0e3202.json | 4 ++++ .../codewhispererChat/controllers/chat/messenger/messenger.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 packages/amazonq/.changes/next-release/Bug Fix-63cca37f-cf3c-42ff-bc9d-b3f71c0e3202.json diff --git a/packages/amazonq/.changes/next-release/Bug Fix-63cca37f-cf3c-42ff-bc9d-b3f71c0e3202.json b/packages/amazonq/.changes/next-release/Bug Fix-63cca37f-cf3c-42ff-bc9d-b3f71c0e3202.json new file mode 100644 index 00000000000..a7a14bc22e1 --- /dev/null +++ b/packages/amazonq/.changes/next-release/Bug Fix-63cca37f-cf3c-42ff-bc9d-b3f71c0e3202.json @@ -0,0 +1,4 @@ +{ + "type": "Bug Fix", + "description": "Align example help text with prompt message in chat" +} diff --git a/packages/core/src/codewhispererChat/controllers/chat/messenger/messenger.ts b/packages/core/src/codewhispererChat/controllers/chat/messenger/messenger.ts index 8702f99414e..3c377119747 100644 --- a/packages/core/src/codewhispererChat/controllers/chat/messenger/messenger.ts +++ b/packages/core/src/codewhispererChat/controllers/chat/messenger/messenger.ts @@ -438,7 +438,7 @@ export class Messenger { let message = '' switch (quickAction) { case 'help': - message = 'What can Amazon Q help me with?' + message = 'How can Amazon Q help me?' break }