Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List flags using a segment in the UI #4037

Open
1 task done
pn-santos opened this issue Apr 3, 2025 · 1 comment
Open
1 task done

List flags using a segment in the UI #4037

pn-santos opened this issue Apr 3, 2025 · 1 comment
Labels
enhancement Created by Linear-GitHub Sync help wanted Halp ui

Comments

@pn-santos
Copy link

pn-santos commented Apr 3, 2025

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

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

Additional Context

No response

@pn-santos pn-santos added the enhancement Created by Linear-GitHub Sync label Apr 3, 2025
@dosubot dosubot bot added the ui label Apr 3, 2025
@markphelps
Copy link
Collaborator

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 markphelps added the help wanted Halp label Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Created by Linear-GitHub Sync help wanted Halp ui
Projects
Status: No status
Development

No branches or pull requests

2 participants