openfoodnetwork icon indicating copy to clipboard operation
openfoodnetwork copied to clipboard

[BUU] Change if a product inherits properties or not

Open mariocarabotta opened this issue 1 year ago • 0 comments

Context

This issue adds the ability to select if a product inherits properties in the product table.

Description

- As an: enterprise user - On page: /admin/products - I want to be able to: decide if a product inherits properties or not - So that: ??

Acceptance Criteria & Tests

Scenario 1: See current Given that I am seeing products in my catalogue When I scroll through the list I see the ones that inherit properties with a check in the dedicated column And the ones that don't inherit properties don't show the check

Scenario 2: Update Given that I am seeing the Inherits property current selection for products When I change the selection Then a message stating that a product has been modified appears

Saving follows scenarios already implemented in https://github.com/openfoodfoundation/openfoodnetwork/issues/11059

Design specs

Figma screens are available here > https://www.figma.com/file/v1zbrWDZSRd3Nqoe0SJ2Sm/Engineering-Delivery---Back-Office?type=design&node-id=535%3A12637&mode=design&t=LKGzFYFQLmdoyTvj-1

Prototype here (hover on first and second product to see 2 different states) > https://www.figma.com/proto/v1zbrWDZSRd3Nqoe0SJ2Sm/Engineering-Delivery---Back-Office?page-id=535%3A12637&type=design&node-id=535-12639&viewport=698%2C247%2C0.31&t=m2bOqxm3sS4AOosA-1&scaling=min-zoom&mode=design

mariocarabotta avatar Jun 19 '23 01:06 mariocarabotta