Skip to content

Conversation

gagik
Copy link
Contributor

@gagik gagik commented Sep 17, 2025

Updates the placeholder text and disclaimer

@gagik gagik requested a review from a team as a code owner September 17, 2025 14:37
@gagik gagik requested review from Copilot and gribnoysup September 17, 2025 14:37
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the UI text and styling for the MongoDB Compass assistant chat interface. The changes improve the user experience by simplifying the disclaimer text and making the input placeholder more concise.

  • Updates disclaimer text to be more concise and user-friendly
  • Changes input placeholder from "Ask MongoDB Assistant a question" to "Ask a question"
  • Restructures the layout by moving the disclaimer below the input bar and updating CSS styling

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/compass-assistant/src/components/assistant-chat.tsx Updates disclaimer text, input placeholder, and restructures layout with new CSS styling
packages/compass-assistant/src/components/assistant-chat.spec.tsx Updates test assertions to match the new placeholder text and disclaimer content
packages/compass-assistant/src/compass-assistant-provider.spec.tsx Updates test selectors to use the new placeholder text

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

target="_blank"
>
Learn more
</Link>{' '}
Copy link

Copilot AI Sep 17, 2025

Choose a reason for hiding this comment

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

The disclaimer text ends without proper punctuation. It should end with a period after 'Learn more' for grammatical completeness.

Suggested change
</Link>{' '}
</Link>
.

Copilot uses AI. Check for mistakes.

@gagik gagik force-pushed the gagik/assist-fixes branch from 93893e7 to ccd73f6 Compare September 17, 2025 14:38
@gagik gagik force-pushed the gagik/assist-fixes branch from ccd73f6 to 3bce39e Compare September 17, 2025 14:38
@gagik gagik changed the title chore(compass-assistant): add confirmation step to explain plan entrypoint COMPASS-9836 chore(compass-assistant): update the placeholder text and disclaimer COMPASS-9836 Sep 18, 2025
@gagik gagik merged commit e139009 into main Sep 19, 2025
60 checks passed
@gagik gagik deleted the gagik/assist-fixes branch September 19, 2025 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants