flipt icon indicating copy to clipboard operation
flipt copied to clipboard

UI - Flags view - Indicate if a boolean flag has a rollout set

Open alexcardell opened this issue 1 year ago • 3 comments

Problem

When on the Flags page, a disabled status boolean flag may have a rollout attached and be opting some users into the flag. This is different from variant flags, where (I believe) disabled means no evaluations will occur.

For use cases where you are opting a segment in, with the default to false (flag disabled), and you have a lot of flags, I think this would be useful context at a glance

Ideal Solution

On the flags view, indicate how many rollout rules are set on a flag, regardless of status

Search

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

Additional Context

No response

alexcardell avatar Apr 12 '24 14:04 alexcardell

@alexcardell I like it! one thing we need to think of is how to make the column work for both variant and boolean flags, like what the name would be and how it might mean different things for variant flags

like would we just show number of rules for variant flags?

markphelps avatar Apr 12 '24 15:04 markphelps

rules makes sense to me, any indication that a boolean flag is not quite as disabled as you think it is would be ideal

alexcardell avatar Apr 15 '24 09:04 alexcardell

Are there advantages to consistently showing 'enabled' for boolean flags in UI? It will be easier to understand that some evaluation happens anyway for those flags.

image

erka avatar Apr 16 '24 17:04 erka

I think we can close this since #3300 was merged, as the table view will now show:

  1. If evaluations will occur based on flag type / enabled property
  2. If there is a default value if no rules match

let me know if you think this should be reopened @alexcardell

markphelps avatar Jul 23 '24 19:07 markphelps