Conversation
Signed-off-by: Luke Carr <me@carr.sh>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9 +/- ##
============================================
Coverage 100.00% 100.00%
- Complexity 28 72 +44
============================================
Files 5 13 +8
Lines 58 169 +111
Branches 11 18 +7
============================================
+ Hits 58 169 +111 ☔ View full report in Codecov by Sentry. |
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Signed-off-by: Luke Carr <me@carr.sh>
Signed-off-by: Luke Carr <me@carr.sh>
Signed-off-by: Luke Carr <me@carr.sh>
Signed-off-by: Luke Carr <me@carr.sh>
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.
Adds a feature-flag system so operators can toggle parts of Ember on or off at startup.
What
Flag+FlagManager(api): catalog-style declarations withenabledByDefault, resolved viaenabledByDefault XOR isSet.Flagscatalog +SimpleFlagManager(plugin): single source of truth for declared flags; in-memory manager loaded once fromplugins/Ember/flags.txt(lowercased + trimmed, with#comment support).Subcommandabstraction: subcommands can declare a gating flag; thesubcommandbuilder extension skips registration when the flag resolves disabled, so gated features genuinely vanish from tab-completion./ember flags list//ember flags get <flag>: read-only inspection of the catalog with hover-rendered descriptions. Gated by the newember.flagspermission.Msg: Caffeine-backed MiniMessage cache (static / keyed / uncached-with-resolvers) so repeated renders skip retokenization.command.versionis the first declared flag, gating/ember version.Docs
server-owners/flags.mdx(conceptual +flags.txtformat) andcommands/flags.mdx(command reference).permissions.mdxgainsember.flags;configuration.mdxand the server-owners index link out to the flags page.