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

Hide old products screen when admin_style_v3 enabled #11660

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

dacook
Copy link
Member

@dacook dacook commented Oct 12, 2023

The feature toggle will determine which bulk products screen shows.
An additional /admin/products_old path is also temporarily added for easy reference.

What? Why?

What should we test?

Disable admin_style_v3 feature toggle

  • Visit /admin/products. Observe old screen.
  • Click ⋯ > Edit, then "Back to products list"
  • Observe old screen.

Enable admin_style_v3 feature toggle

  • Visit /admin/products. Observe new screen.
  • Click ⋯ > Edit, then "Back to products list"
  • Observe new screen.
  • Visit /admin/products_old. Observe old screen.

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

The feature toggle will determine which bulk products screen shows. An additional products_old path is also temporarily added for easy reference.

Later, when the old screen is full removed, we'll probably rename the _v3 classes to tidy up.
@dacook dacook self-assigned this Oct 13, 2023
@dacook dacook added the technical changes only These pull requests do not contain user facing changes and are grouped in release notes label Oct 13, 2023
Copy link
Member

@mkllnk mkllnk left a comment

Choose a reason for hiding this comment

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

Nice! ⭐

@RachL RachL self-assigned this Oct 17, 2023
@RachL RachL added the pr-staged-fr staging.coopcircuits.fr label Oct 17, 2023
@RachL
Copy link
Contributor

RachL commented Oct 17, 2023

Niiice! All tests are passing. thanks @dacook merging :)

@RachL RachL removed the pr-staged-fr staging.coopcircuits.fr label Oct 17, 2023
@RachL RachL merged commit aecb55b into openfoodfoundation:master Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical changes only These pull requests do not contain user facing changes and are grouped in release notes
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants