Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a feature flag (disabled) for the user research banner
Trello: https://trello.com/c/cOsB2851 We've decided to disable the user research recruitment banner for now. I considered removing all of the relevant code but after talking to Joseph and Chris it seems likely that we'll want to bring this back in a month or two *and* retain the user's preference for hiding it. I couldn't think of a great way of retaining the data in the `user_research_recruitment_banner_hidden` column on `users` and remind our future selves that we should use this data if we restore the banner from the git history. So instead I've decided to add a feature flag, turned off in production and development, but enabled in test (so we can retain the current test code too). I'm not 100% convinced that keeping dead code around is a good idea, but based on what I know now this seems ok. If it turns out that we don't reinstate the banner in a couple of months I think the code and data should be deleted.
- Loading branch information