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

Activates admin_style_v3 for 25 per cent users #12686

Merged

Conversation

filipefurtad0
Copy link
Contributor

What? Why?

What should we test?

Under /admin/feature-toggle/features/admin_style_v3:

First, enable the feature for:

  • a specific user
  • a specific group (like admins)

Before the PR, the percentage should in principle be 0%; if not, note which percentage is enabled for the staging server:
image

After the PR, the percentage should go up to 25% - it should overwrite any previously set percentage:
image

It should not change the enabled user and group.

Release notes

Changelog Category (reviewers may add a label for the release notes):

  • User facing changes
  • API changes (V0, V1, DFC or Webhook)
  • Technical changes only
  • Feature toggled

The title of the pull request will be included in the release notes.

Dependencies

Documentation updates

@filipefurtad0 filipefurtad0 added the feature toggled These pull requests' changes are invisible by default and are grouped in release notes label Jul 18, 2024
@filipefurtad0 filipefurtad0 self-assigned this Jul 18, 2024
@filipefurtad0 filipefurtad0 added pr-staged-fr staging.coopcircuits.fr and removed pr-staged-fr staging.coopcircuits.fr labels Jul 18, 2024
@filipefurtad0 filipefurtad0 mentioned this pull request Jul 19, 2024
12 tasks
Copy link
Member

@dacook dacook left a comment

Choose a reason for hiding this comment

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

Great, thanks for picking this up.

def up
Flipper.enable_percentage_of_actors(:admin_style_v3, 25)
end
end
Copy link
Member

Choose a reason for hiding this comment

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

Although it's only intended for server environments, it won't hurt for this to run on dev. I just tested on dev and it remains fully enabled:
Screenshot 2024-07-22 at 10 24 49 am

@dacook dacook merged commit 0c43dd4 into openfoodfoundation:master Jul 22, 2024
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature toggled These pull requests' changes are invisible by default and are grouped in release notes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[BUU] Activate admin_style_v3 for 25% of users
2 participants