Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Subscription indicators are now behind a feature flag #2183

Merged
merged 3 commits into from
Jan 8, 2025

Conversation

dustinbyrne
Copy link
Contributor

This pull request introduces a feature flag to control the display of subscription-related indicators within the Navie chat.

Details:

  • Feature Flag Addition: A new boolean feature flag named displaySubscription has been introduced across relevant components. This flag defaults to false and is configurable via props.
  • Conditional Rendering: The components ChatSearch, ChatInput, and LlmConfiguration have been updated to conditionally render subscription indicators based on the displaySubscription flag.
  • CSS Adjustments: Minor CSS changes were made to handle visual layout when subscription indicators are hidden to maintain a clean UI appearance.
  • Unit Tests: Additional unit tests have been introduced to ensure that components behave as expected when the displaySubscription flag is toggled.

The flag is provided via prop to `ChatSearch`, a boolean value named
`displaySubscription`. It is defaulted to false.
@dustinbyrne dustinbyrne self-assigned this Jan 8, 2025
It's failing CI due to Chrome sandboxing issues and it's not worth any
more time trying to debug this.
@dustinbyrne dustinbyrne force-pushed the fix/feature-flag-subscriptions branch from 6ff09a2 to 3a0b77b Compare January 8, 2025 22:03
@dustinbyrne dustinbyrne merged commit 0072b29 into main Jan 8, 2025
22 of 23 checks passed
@dustinbyrne dustinbyrne deleted the fix/feature-flag-subscriptions branch January 8, 2025 22:24
@appland-release
Copy link
Contributor

🎉 This PR is included in version @appland/appmap-v3.181.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants