Integrate feature flags into cellix packages - #319
Open
aaron-rabinowitz wants to merge 7 commits into
Open
Conversation
…x 404 error from previous version download url
Contributor
Reviewer's GuideIntroduces a framework-level feature flag service in Cellix, wires it into OCOM API and UI applications via blob-backed configuration, and adds a React provider + hook for consuming feature flags in the portals, along with supporting blob storage, build, and dependency changes. Sequence diagram for UI feature flag loading and consumptionsequenceDiagram
actor User
participant FeatureFlagProvider
participant LRUCache
participant fetch
participant FeatureFlagsContext
participant Component as useFeatureFlags
User->>FeatureFlagProvider: mount with FeatureFlagConfig
FeatureFlagProvider->>LRUCache: fetch("featureFlagsKey")
alt config.url is non-empty
LRUCache->>fetch: fetch(url?timestamp, { cache: "no-store" })
fetch-->>LRUCache: JSON FeatureFlags
LRUCache-->>FeatureFlagProvider: FeatureFlags
FeatureFlagProvider->>FeatureFlagsContext: provide FeatureFlagList
else config.url is empty or fetch fails
FeatureFlagProvider->>FeatureFlagsContext: provide fallbackFlagValues
end
User->>Component: render
Component->>FeatureFlagsContext: useFeatureFlags()
Component->>FeatureFlagsContext: GetFeatureFlagByName(name)
FeatureFlagsContext-->>Component: flag Value
Component-->>User: UI rendered with flag-controlled behavior
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
…ation" This reverts commit d0dbcd2.
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.
Summary by Sourcery
Integrate optional, validated feature-flag support across Blob storage, API services, and portal UIs while hardening affected dependencies.
New Features:
Bug Fixes:
Enhancements:
Build:
CI:
Documentation:
Tests:
Chores: