Skip to content

Conversation

@gagik
Copy link
Contributor

@gagik gagik commented Sep 16, 2025

It depended on an undefined condition which was being overriden by a wrapper

@gagik gagik requested a review from a team as a code owner September 16, 2025 13:20
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 hides the connection error debug entry point when the assistant is disabled by conditionally rendering the onDebug callback.

Key Changes

  • Modified the onDebug prop to conditionally render based on whether onDebugClick is available
  • Added proper null checking to prevent showing debug options when the assistant feature is disabled

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

@gagik gagik added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Sep 16, 2025
@gagik gagik merged commit 5a818bb into main Sep 16, 2025
52 of 53 checks passed
@gagik gagik deleted the gagik/hide-entrypoint branch September 16, 2025 14:13
@lerouxb lerouxb changed the title chore(compass-assistant): hide connection error entry point when assistant is disabled chore(compass-assistant): hide connection error entry point when assistant is disabled COMPASS-9861 Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants