Skip to content

Commit 0a1b2ec

Browse files
Update: [AEA-5932] - Update feedback content to advise to not enter PII (#291)
## Summary - Updated feedback "No" response to suggest users not to add PII.
1 parent 37bc8f3 commit 0a1b2ec

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

packages/slackBotFunction/app/core/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ class BotMessages:
168168
ERROR_RESPONSE="Sorry, an error occurred while processing your request. Please try again later.",
169169
FEEDBACK_POSITIVE_THANKS="Thank you for your feedback.",
170170
FEEDBACK_NEGATIVE_THANKS=(
171-
'Please let us know how the answer could be improved. Start your message with "feedback:"'
171+
"Please let us know how the answer could be improved. Do not enter any personal data.\n"
172+
+ 'Start your message with "feedback:"'
172173
),
173174
FEEDBACK_THANKS="Thank you for your feedback.",
174175
FEEDBACK_PROMPT="Was this helpful?",

packages/slackBotFunction/tests/test_slack_actions.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ def test_process_async_slack_action_negative(
134134
)
135135
mock_client.chat_postMessage.assert_called_once_with(
136136
channel="C123",
137-
text='Please let us know how the answer could be improved. Start your message with "feedback:"',
137+
text=(
138+
"Please let us know how the answer could be improved. Do not enter any personal data.\n"
139+
+ 'Start your message with "feedback:"'
140+
),
138141
thread_ts="1759845114.407989",
139142
)
140143

0 commit comments

Comments
 (0)