Message Reader — Compose Rewrite — Add Feature Flag for Message View
Description:
Before we start development on the compose version of the Message View (AKA: Message Reader), we want to ensure we can build it incrementally and make changes to it until we're ready to make it the primary view. This means defaulting to the current view and allowing debug builds to enable the compose view through a debug-only feature flag.
AC:
- Create a debug feature flag
- Ensure the feature flag is accessible in debug builds and can be turned on/off by user
I also noticed we don't have a document on how/when to use feature flags, how they're provided, where we store them, why we make them, and how to label github commits with them. So, while looking through the code myself, I decided to write down my findings and add a little more to make it easier for someone new to jump in. I'll try to add it to the repo's docs along with this code.