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

feat: show default value in flag table #3300

Merged
merged 3 commits into from
Jul 23, 2024
Merged

feat: show default value in flag table #3300

merged 3 commits into from
Jul 23, 2024

Conversation

markphelps
Copy link
Collaborator

Re: #2981
Re: #3271

  • Show default value on flag table if any
  • Change from enabled to evaluation, meaning if evaluation will return a value

CleanShot 2024-07-23 at 10 00 03
CleanShot 2024-07-23 at 09 59 47

@markphelps markphelps requested a review from a team as a code owner July 23, 2024 14:04
@markphelps markphelps requested a review from erka July 23, 2024 14:05
@markphelps
Copy link
Collaborator Author

I think theres still some cleanup we can do on the boolean flag details page:

CleanShot 2024-07-23 at 10 00 40

specifically:

  • remove enabled/disabled toggle at top
  • allow setting default (true|false) in the default rollout rule like we now do for default variants

Copy link

codecov bot commented Jul 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.18%. Comparing base (97b0bc3) to head (ffae5ae).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3300   +/-   ##
=======================================
  Coverage   64.18%   64.18%           
=======================================
  Files         168      168           
  Lines       13506    13506           
=======================================
  Hits         8669     8669           
  Misses       4174     4174           
  Partials      663      663           
Flag Coverage Δ
unittests 64.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@erka erka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it look great!

@markphelps markphelps merged commit 713b3c1 into main Jul 23, 2024
56 checks passed
@markphelps markphelps deleted the flag-table-default branch July 23, 2024 15:08
markphelps added a commit that referenced this pull request Jul 23, 2024
erka added a commit to erka/flipt that referenced this pull request Aug 21, 2024
With all changes to flags dashboard and showing the boolean flags as
always enabled this commit makes the same for console.

related flipt-io#3300

Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>
erka added a commit to erka/flipt that referenced this pull request Aug 21, 2024
With all changes to flags dashboard and showing the boolean flags as
always enabled this commit makes the same for console.

related flipt-io#3300

Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>
kodiakhq bot pushed a commit that referenced this pull request Aug 22, 2024
With all changes to flags dashboard and showing the boolean flags as
always enabled this commit makes the same for console.

related #3300

Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants