Skip to content

Conversation

gagik
Copy link
Contributor

@gagik gagik commented Sep 1, 2025

Adds the disclaimer and welcome text to the Assistant chat.
image

@gagik gagik requested a review from a team as a code owner September 1, 2025 10:50
@gagik gagik changed the title chore(compass-assistant): add disclaimer text COMPASS-9754 chore(compass-assistant): add disclaimer text COMPASS-9754 Sep 1, 2025
@gagik gagik changed the title chore(compass-assistant): add disclaimer text COMPASS-9754 chore(compass-assistant): add disclaimer text COMPASS-9754 Sep 1, 2025
Base automatically changed from gagik/perfomance-insights-entry to main September 1, 2025 11:24
@gagik gagik changed the base branch from main to test-poc-worker September 1, 2025 14:07
@gagik gagik changed the base branch from test-poc-worker to main September 1, 2025 14:07
@Copilot Copilot AI review requested due to automatic review settings September 1, 2025 14:42
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 adds disclaimer text and welcome messaging to the MongoDB Compass Assistant chat interface, along with infrastructure for proactive performance insights integration with Assistant entry points.

  • Adds disclaimer text and FAQ link to the Assistant chat interface with welcome messaging for first-time users
  • Integrates "Tell me more" buttons in performance insight signals that trigger Assistant entry points with contextual prompts
  • Refactors prompt building system to support multiple entry point types with standardized message formatting

Reviewed Changes

Copilot reviewed 17 out of 18 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/compass-assistant/src/assistant-chat.tsx Adds disclaimer text, FAQ link, and welcome message to chat interface
packages/compass-assistant/src/prompts.ts Refactors and expands prompt building system for multiple entry point types
packages/compass-assistant/src/compass-assistant-provider.tsx Refactors assistant actions to use unified entry point handler pattern
packages/compass-components/src/components/signal-popover.tsx Adds "Tell me more" button functionality to insight signals
packages/compass-crud/src/components/document-list.tsx Integrates Assistant actions with query performance insights
packages/compass-aggregations/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.tsx Integrates Assistant actions with aggregation performance insights
packages/compass-e2e-tests/tests/connection.test.ts Updates test expectation for connection error prompt text

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

@gagik gagik changed the title chore(compass-assistant): add disclaimer text COMPASS-9754 chore(compass-assistant): add disclaimer and welcome text COMPASS-9754 Sep 1, 2025
@gagik gagik force-pushed the gagik/add-disclaimer branch from 684201b to ff96293 Compare September 1, 2025 15:12
@gagik gagik changed the title chore(compass-assistant): add disclaimer and welcome text COMPASS-9754 chore(compass-assistant): add disclaimer, loading and welcome text COMPASS-9754 Sep 2, 2025
@gagik gagik merged commit 00b047c into main Sep 2, 2025
58 of 59 checks passed
@gagik gagik deleted the gagik/add-disclaimer branch September 2, 2025 10:57
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.

2 participants