Skip to content

Conversation

@lerouxb
Copy link
Contributor

@lerouxb lerouxb commented Sep 4, 2025

COMPASS-9794

Screenshot 2025-09-04 at 13 40 15

Filed this follow-up ticket to not forget about this: COMPASS-9806

@Copilot Copilot AI review requested due to automatic review settings September 4, 2025 12:39
@lerouxb lerouxb requested a review from a team as a code owner September 4, 2025 12:39
Copy link
Contributor

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 introduces a new feature flag to control the visibility of performance insight entrypoints in the AI Assistant feature. The change allows for granular control over which AI Assistant features are exposed, specifically hiding the performance insights functionality behind its own feature flag.

  • Adds a new feature flag enablePerformanceInsightsEntrypoints to control performance insight entrypoints
  • Conditionally exposes the tellMoreAboutInsight action based on the new feature flag
  • Sets the feature flag to development stage by default

Reviewed Changes

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

File Description
packages/compass-preferences-model/src/feature-flags.ts Adds the new enablePerformanceInsightsEntrypoints feature flag definition
packages/compass-assistant/src/compass-assistant-provider.tsx Implements conditional logic to hide tellMoreAboutInsight action when feature flag is disabled

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

@gagik gagik merged commit 1fdef7b into main Sep 4, 2025
58 of 61 checks passed
@gagik gagik deleted the disable-per-insight-entrypoints branch September 4, 2025 16:18
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