mirror of
https://github.com/Unleash/unleash.git
synced 2026-02-20 13:57:42 +01:00
Introduces: - `useAssignableUnleashContext`: gets context fields that can be applied to a constraint (in a strategy or segment) - `useScopedUnleashContext`: gets context fields that are scoped to the current context (either only global or only project) - `useFullUnleashContext`: gets the whole Unleash context, global and all project fields. Updates all other usages of `useUnleashContext` to use the more targeted versions. With the new project/root context split, this makes the use of the specific set of context fields clearer and more intentional. Also: deletes the front-end workaround that we did to merge context fields when appropriate. |
||
|---|---|---|
| .. | ||
| FeatureStrategyCreate.test.tsx | ||
| FeatureStrategyCreate.tsx | ||
| featureStrategyFormTestSetup.ts | ||