Add cookie-based access to Feature Flags
Problem to solve
We recently rolled out feature flags with the ability to turn a feature off or on. Another important capability of feature flags is to be able to set a cookie value where, for users who have it set, will always see the feature in question enabled. Turning this on will allow very targeted testing using Feature Flags, and will supplement Review Apps nicely as a way to validate that changes deployed to production are working without having to jump through hoops to review them.
The Unleash client library already supports cookie-based scenarios (https://github.com/Unleash/unleash#activation-strategies) (https://www.unleash-hosted.com/cookies). We need to:
- Update our implementation of the server API to support associating a cookie with a feature flag
- Display the associated cookie in the Feature Flag UI
What does success look like, and how can we measure that?