Merged
Conversation
07d4176 to
35e913d
Compare
|
Size Change: +77 B (0%) Total Size: 4.22 MB
|
388af61 to
00d8a28
Compare
The Blocknote AI feature is a bit flaky, we want to be able to disable it if to much issues arise, without having to do a new release. We add a bunch of feature flags to be able to disable the AI features if needed: - add AI_FEATURE_BLOCKNOTE_ENABLED, to display or not the feature powered by blocknote - add AI_FEATURE_LEGACY_ENABLED, to display or not the legacy AI features
We want to have a fine grained control over the Blocknote AI feature. By adding the feature Analytics feature flag, we can enable or disable this feature for specific users or groups without deploying new code. This allows us to test the feature in a controlled environment and gather feedback before a full rollout.
00d8a28 to
a51ceeb
Compare
lunika
approved these changes
Feb 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
The Blocknote AI feature is a bit flaky, we want to be able to disable it if too much issues arise, without having to do a new release.
We add a bunch of feature flags to be able to disable the AI features if needed.
Backend flag (per instance):
AI_FEATURE_BLOCKNOTE_ENABLED, to display or not the feature powered by BlocknoteAI_FEATURE_LEGACY_ENABLED, to display or not the legacy AI featuresTo do AB testing, we added as well a frontend flag to display or not the Blocknote AI feature, with this flag we can activate the feature per users or groups inside a instance.
Demo
For the AB testing, we are using Posthog:
Enregistrement.2026-02-26.122222.mp4