openfoodfoundation / openfoodnetwork

Connect suppliers, distributors and consumers to trade local produce.
https://www.openfoodnetwork.org
GNU Affero General Public License v3.0
1.09k stars 709 forks source link

[BUU] Activate admin_style_v3 for dev, test and new servers #12627

Open dacook opened 4 days ago

dacook commented 4 days ago

When the new Backoffice UI Uplift design (admin_style_v3) is the primary design, we need ensure we are using it while developing new changes:

Steps:

  1. Prepare tests
    • [x] https://github.com/openfoodfoundation/openfoodnetwork/pull/11645
    • [ ] spec/system/admin/product_import_spec.rb:100:213:679:720
    • [ ] spec/system/admin/products_spec.rb:283
    • [ ] spec/system/admin/subscriptions/smoke_tests_spec.rb:240
    • Consider improving specs as per review comments
    • [ ] Make admin_style_v3 active by default
    • This will enable for dev, test and new servers
    • So we can remove the Flipper.enable in base_spec_helper
dacook commented 4 days ago

Once https://github.com/openfoodfoundation/openfoodnetwork/pull/11645 is complete all tests are updated, we should be able to simply make admin_style_v3 ACTIVE_BY_DEFAULT in feature_toggle.rb