altinn-studio
altinn-studio copied to clipboard
When persisting a featureflag all featureflags are added to session storage
Description of the bug
Description
When persisting a featureflag all available featureflags is added to session storage and will become available.
Steps To Reproduce
- Open an app in editor
- Empty session storage to ensure no flags are persisted from before
- Add a featureFlag and persist it;
?featureFlags=processEditor&persistFeatureFlag=true
- See in UI that all features now are available such as
settingsModal
in the top menu - And see in session storage that all features are added to the storage
Additional Information
No response
Could we add a tab to the settings modal where we (and our users) can toggle feature flags?
Tested in dev, and works as expected - only featureFlag applied in url was persisted to sessionStorage.