Opt-In possibility for users to see upcoming features
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Description
We need the possibility to rollout big changes in a step-by-step approach by giving users to possibility of opting-in to these new features. So polishing and refinement can be done based on the learned feedback. A good example feature and the first we need this for is https://gitlab.com/gitlab-org/gitlab-ce/issues/32794#note_31416823
Evaluate/Decide the possibility of either having :
- Boolean field in the user profile - Preview Mode
- or -
- Feature flags based on the user profile by having a new string field which will be converted from/to JSON (by example : {new_navigation:true})
- or -
- Already started initiative on the Gitaly Team gitaly#232 (closed) based on gem called flipper (can it be scoped on a per-user basis ? Does it have an advantage over a customer implementation ?
We should be aware that we are not starting to use feature flags, but only when there is an actual resoning on the integration path to do pre-testing on users / .com . It would also be great to align it over the different application parts.
The choosen implementation should be available on all application parts :
- Rails
- HAML Templates
- JS (based on a body data-element ? in each page)
- API