flagsmith icon indicating copy to clipboard operation
flagsmith copied to clipboard

Enable per-Flag Segments

Open dabeeeenster opened this issue 3 years ago • 2 comments

It would be great to be able to define and manage a Segment specifically for a Flag, that is not shared with the Project as a whole. This would help with e.g. scheduled roll-out, as well as cases where the Segment is specific to the flag and would only work to add noise to the list of Segments within the project.

Need to give consideration to the Edge API and server-side SDKs too.

dabeeeenster avatar Jan 26 '22 14:01 dabeeeenster

I could see this as being very helpful in keeping the clutter down significantly.

TD-4242 avatar Feb 17 '22 15:02 TD-4242

I'm going through some major restructuring as I'm coming off or our POC and moving into a QA environment. I would find it very valuable if all flag variants could have segment like rules. I seem to be creating a large number of duplicated data to have a segment and variant for each feature.

TD-4242 avatar Feb 18 '22 19:02 TD-4242

https://github.com/Flagsmith/flagsmith/pull/1389 Adds a field named feature to both request (for create) and response(to identifiy feature based segments) on /project/segment/ viewset Screenshot_20220817_144544

gagantrivedi avatar Aug 17 '22 09:08 gagantrivedi

Ready to test under the flag flag_based_segments @dabeeeenster

kyle-ssg avatar Aug 26 '22 17:08 kyle-ssg