flipt icon indicating copy to clipboard operation
flipt copied to clipboard

List flags using a segment in the UI

Open pn-santos opened this issue 9 months ago • 2 comments

Problem

Using the UI it's hard to figure out which segments are being used by what flags (that info is only visible within each flag view/edit screen).

With a non-insignificant number of flags and segments it's easy to fall into a situation where some segments aren't being used at all (and could potentially be deleted). It also makes it hard to see potential impact when changing a segment's constraints (i.e. how many flags would be affected by it).

Ideal Solution

Would be nice to see a list of flags a particular segment is used in in each segment view/edit screen, and have the ability navigate to that flag's view/edit screen.

Maybe even also list a "used in" flag count in the segments (list) screen so at a glance one can see how much use a particular segment is getting.

Search

  • [x] I searched for other open and closed issues before opening this

Additional Context

No response

pn-santos avatar Apr 03 '25 09:04 pn-santos

Great idea @pn-santos . I agree its difficult to see what segments are in use. Let me think on it a bit as im out of town for a few days. I like both your thoughts though. It will require a bit of thinking on the query side as well since we dont currently track segments -> flags relationship as it all goes through rules/rollouts not directly from segments to flags or vice versa.

markphelps avatar Apr 03 '25 19:04 markphelps

Any movement on this?

daz96050 avatar Nov 01 '25 05:11 daz96050