Conversation
|
|
• Want to know how to change flags for specific users
• Roll back functionality as awhole for all users in app. We can do immediate roll backs by switching the feature flag to on/off. • Roll out features to a subset of users. We can roll out by a certagin percentage. We can also create cohorts to roll out to if we want to turn on a feature for specific users. @trillium let me know if you want me to add any of these functionality to the POC. |
|
Conversation with team today, talked a bit about feature flaggin. We likely don't need to be able to target unknown users with flags We are interested in providing a way for users (likely dev users) to self-join and self-leave a cohort that gets specific flags? -- Just an investigation, not a requirement, we can add/remove via an admin portal already. |
Fixes #2042
What changes did you make and why did you make them ?
Implementing posthog feature flags from backend to frontend. It's event driven architecture where a request is made to PostHog when client user refreshes.
Event Driven Approach (Chose this one because less complicated and we have small enough Daily Active Users where the client requests won't be an issue. If it does become an issue, we can try the second approach with SSE.)
Server Sent Events Approach ( Decided not to do this approach because the open connection adds complexity to the app which I don't think is needed. The benefits of this approach don't outweight the complexity it brings.)
Screenshots of Proposed Changes Of The Website