Skip to content

update chatbot header from Assistant to Ask Ai#11305

Merged
SuZhou-Joe merged 2 commits intoopensearch-project:mainfrom
yubonluo:update-assistant
Feb 5, 2026
Merged

update chatbot header from Assistant to Ask Ai#11305
SuZhou-Joe merged 2 commits intoopensearch-project:mainfrom
yubonluo:update-assistant

Conversation

@yubonluo
Copy link
Copy Markdown
Collaborator

@yubonluo yubonluo commented Feb 5, 2026

Description

update chatbot header from Assistant to Ask Ai

Issues Resolved

Screenshot

Testing the changes

Changelog

  • refactor: update chatbot header from Assistant to Ask Ai

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Signed-off-by: yubonluo <yubonluo@amazon.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 5, 2026

📝 Walkthrough

Walkthrough

These changes update UI labels from "Assistant" to "Ask AI" in the chat header component and its corresponding changelog fragment. No functional logic or API changes are introduced.

Changes

Cohort / File(s) Summary
Chat Header Label Updates
changelogs/fragments/11305.yml, src/plugins/chat/public/components/chat_header.tsx
Updated visible text labels from "Assistant" to "Ask AI" in both the changelog fragment and chat header component UI.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The description is largely incomplete. Required sections including 'Issues Resolved', 'Screenshot' (for UI changes), and 'Testing the changes' are missing or empty, though the changelog entry is provided. Add the GitHub issue reference, include a screenshot of the updated header, and provide detailed testing steps to validate the text change across the application.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: updating the chatbot header label from 'Assistant' to 'Ask Ai' in both the component and changelog files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@changelogs/fragments/11305.yml`:
- Around line 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.
📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4153a5c and 8d0b285.

📒 Files selected for processing (2)
  • changelogs/fragments/11305.yml
  • src/plugins/chat/public/components/chat_header.tsx
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{ts,tsx,js,jsx,json,scss,css,html,yml,yaml}

📄 CodeRabbit inference engine (CLAUDE.md)

Use snake_case for all filenames

Files:

  • src/plugins/chat/public/components/chat_header.tsx
  • changelogs/fragments/11305.yml
**/*.{ts,tsx}

📄 CodeRabbit inference engine (CLAUDE.md)

**/*.{ts,tsx}: Use TypeScript for all new code; avoid any type (use unknown or generics instead)
Avoid non-null assertions (!.) and @ts-ignore comments
HTML attributes: id and data-test-subj values should be camelCase
Import .scss files at the top of the component file and use 3-letter prefix on class names for scoping (e.g., plgComponent)
Prefer functional components in React and name action props as on<Subject><Change>

Files:

  • src/plugins/chat/public/components/chat_header.tsx
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (CLAUDE.md)

**/*.{ts,tsx,js,jsx}: Use named exports, not default exports
Use ES2015 import/export syntax; only import top-level module APIs, never reach into internal paths
Use single quotes for strings with 100-character print width and ES5 trailing commas (enforced by Prettier)

Files:

  • src/plugins/chat/public/components/chat_header.tsx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (66)
  • GitHub Check: Run functional tests on Windows (ciGroup3)
  • GitHub Check: Run functional tests on Windows (ciGroup9)
  • GitHub Check: Run functional tests on Windows (ciGroup12)
  • GitHub Check: Run functional tests on Windows (ciGroup13)
  • GitHub Check: Run functional tests on Windows (ciGroup10)
  • GitHub Check: Run functional tests on Windows (ciGroup1)
  • GitHub Check: Run functional tests on Windows (ciGroup5)
  • GitHub Check: Run functional tests on Windows (ciGroup7)
  • GitHub Check: Run functional tests on Windows (ciGroup8)
  • GitHub Check: Run functional tests on Linux (ciGroup4)
  • GitHub Check: Run functional tests on Windows (ciGroup6)
  • GitHub Check: Run functional tests on Linux (ciGroup10)
  • GitHub Check: Run functional tests on Windows (ciGroup4)
  • GitHub Check: Run functional tests on Linux (ciGroup12)
  • GitHub Check: Run functional tests on Linux (ciGroup5)
  • GitHub Check: Run functional tests on Linux (ciGroup13)
  • GitHub Check: Run functional tests on Windows (ciGroup11)
  • GitHub Check: Run functional tests on Linux (ciGroup8)
  • GitHub Check: Run functional tests on Linux (ciGroup6)
  • GitHub Check: Run functional tests on Linux (ciGroup2)
  • GitHub Check: Run functional tests on Linux (ciGroup7)
  • GitHub Check: Run functional tests on Linux (ciGroup9)
  • GitHub Check: Run functional tests on Windows (ciGroup2)
  • GitHub Check: Run functional tests on Linux (ciGroup11)
  • GitHub Check: Run functional tests on Linux (ciGroup3)
  • GitHub Check: Run functional tests on Linux (ciGroup1)
  • GitHub Check: Build and Verify on Windows (ciGroup4)
  • GitHub Check: Build and Verify on Windows (ciGroup2)
  • GitHub Check: Build and Verify on Linux (ciGroup4)
  • GitHub Check: Build and Verify on Linux (ciGroup2)
  • GitHub Check: Build and Verify on Windows (ciGroup3)
  • GitHub Check: Build and Verify on Linux (ciGroup1)
  • GitHub Check: Build and Verify on Linux (ciGroup3)
  • GitHub Check: Build and Verify on Windows (ciGroup1)
  • GitHub Check: Build min release artifacts on Linux x64
  • GitHub Check: Run cypress tests (osd:ciGroup14Explore)
  • GitHub Check: Run cypress tests (osd:ciGroup17Explore)
  • GitHub Check: Run cypress tests (osd:ciGroup15)
  • GitHub Check: Run cypress tests (osd:ciGroup7)
  • GitHub Check: Build min release artifacts on macOS ARM64
  • GitHub Check: Build min release artifacts on Windows x64
  • GitHub Check: Build min release artifacts on macOS x64
  • GitHub Check: Run cypress tests (osd:ciGroup14)
  • GitHub Check: Build min release artifacts on Linux ARM64
  • GitHub Check: Run cypress tests (osd:ciGroup9)
  • GitHub Check: Run cypress tests (osd:ciGroup13Explore)
  • GitHub Check: Run cypress tests (osd:ciGroup1)
  • GitHub Check: Run cypress tests (osd:ciGroup11)
  • GitHub Check: Run cypress tests (osd:ciGroup16Explore)
  • GitHub Check: Run plugin functional tests on Windows
  • GitHub Check: Run cypress tests (osd:ciGroup15Explore)
  • GitHub Check: Run cypress tests (osd:ciGroup12)
  • GitHub Check: Run cypress tests (osd:ciGroup12Explore)
  • GitHub Check: Run cypress tests (osd:ciGroup10Slow)
  • GitHub Check: Run cypress tests (osd:ciGroup10Explore)
  • GitHub Check: Run cypress tests (osd:ciGroup8)
  • GitHub Check: Run cypress tests (osd:ciGroup13)
  • GitHub Check: Run plugin functional tests on Linux
  • GitHub Check: Run cypress tests (osd:ciGroup2)
  • GitHub Check: Run cypress tests (osd:ciGroup3)
  • GitHub Check: Lint and validate
  • GitHub Check: Run cypress tests (osd:ciGroup4)
  • GitHub Check: Run cypress tests (osd:ciGroup5)
  • GitHub Check: Run cypress tests (osd:ciGroup6)
  • GitHub Check: bundle-analyzer
  • GitHub Check: lighthouse
🔇 Additional comments (1)
src/plugins/chat/public/components/chat_header.tsx (1)

31-31: Header label update looks good.

Simple UI label change only.

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.

Comment on lines +1 to +2
refactor:
- Update chatbot header from Assistant to Ask Ai ([#11305](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/11305)) No newline at end of file
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.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.14%. Comparing base (4153a5c) to head (8d0b285).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11305      +/-   ##
==========================================
- Coverage   60.15%   60.14%   -0.02%     
==========================================
  Files        4651     4651              
  Lines      129492   129492              
  Branches    22012    22012              
==========================================
- Hits        77900    77885      -15     
- Misses      46045    46059      +14     
- Partials     5547     5548       +1     
Flag Coverage Δ
Linux_1 24.82% <ø> (ø)
Linux_2 38.30% <ø> (ø)
Linux_3 40.04% <ø> (-0.01%) ⬇️
Linux_4 33.47% <ø> (ø)
Windows_1 24.83% <ø> (-0.02%) ⬇️
Windows_2 38.28% <ø> (ø)
Windows_3 40.04% <ø> (+<0.01%) ⬆️
Windows_4 33.48% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@SuZhou-Joe SuZhou-Joe merged commit 3a003ac into opensearch-project:main Feb 5, 2026
106 of 109 checks passed
davidshq pushed a commit to o19s/OpenSearch-Dashboards that referenced this pull request Feb 5, 2026
)

* update assistant to ask ai

Signed-off-by: yubonluo <yubonluo@amazon.com>

* Changeset file for PR opensearch-project#11305 created/updated

---------

Signed-off-by: yubonluo <yubonluo@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
markdboyd pushed a commit to cloud-gov/OpenSearch-Dashboards that referenced this pull request Mar 9, 2026
)

* update assistant to ask ai

Signed-off-by: yubonluo <yubonluo@amazon.com>

* Changeset file for PR opensearch-project#11305 created/updated

---------

Signed-off-by: yubonluo <yubonluo@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Mark Boyd <mark.boyd@gsa.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants