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
2 changes: 2 additions & 0 deletions changelogs/fragments/11305.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
refactor:
- Update chatbot header from Assistant to Ask Ai ([#11305](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/11305))
Comment on lines +1 to +2
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Match UI capitalization: “Ask AI”.

The UI uses “Ask AI” (all caps). Changelog should mirror that for consistency.

✏️ Proposed fix
-refactor:
-- Update chatbot header from Assistant to Ask Ai ([`#11305`](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/11305))
+refactor:
+- Update chatbot header from Assistant to Ask AI ([`#11305`](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/11305))
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
refactor:
- Update chatbot header from Assistant to Ask Ai ([#11305](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/11305))
refactor:
- Update chatbot header from Assistant to Ask AI ([`#11305`](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/11305))
🤖 Prompt for AI Agents
In `@changelogs/fragments/11305.yml` around lines 1 - 2, Update the changelog
fragment text so the chatbot header matches the UI capitalization by replacing
"Ask Ai" with "Ask AI" in the entry under refactor (the string currently "-
Update chatbot header from Assistant to Ask Ai
([`#11305`](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/11305))");
ensure only the capitalization changes and the PR link and surrounding YAML
structure remain unchanged.

2 changes: 1 addition & 1 deletion src/plugins/chat/public/components/chat_header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const ChatHeader: React.FC<ChatHeaderProps> = ({
<EuiFlexGroup alignItems="center" gutterSize="s" responsive={false}>
<EuiFlexItem grow={false}>
<EuiText size="m">
<h3>Assistant</h3>
<h3>Ask AI</h3>
</EuiText>
</EuiFlexItem>
<EuiFlexItem grow={false}>
Expand Down
Loading