PrestaShop / PrestaShop

PrestaShop is the universal open-source software platform to build your e-commerce solution.
https://www.prestashop-project.org/
Other
7.93k stars 4.76k forks source link

Improve CategoryChoiceTreeType to add a "check all button" feature #18806

Open clotairer opened 4 years ago

clotairer commented 4 years ago

Is your feature request related to a problem?

CategoryChoiceTreeType render something like that.

image

With helper form (previous UI kit) the equivalent "tree_categories" render something like that:

image

It was very nice to check all with the button.

Describe the solution you'd like

Is it schedule to improve CategoryChoiceTreeType with "check all" button ?

prestashop-issue-bot[bot] commented 4 years ago

Thanks for opening this issue! We will help you to keep its state consistent

PierreRambaud commented 4 years ago

HI @clotaire202 and thanks for your suggestion.

@PrestaShop/prestashop-product-team What do you think? (Look like a nice improvement)

hibatallahAouadni commented 3 years ago

Ping @PrestaShop/product-team @prestascott friendly reminder :wink:

prestascott commented 3 years ago

Hey everyone!

Thanks @clotairelims for your request!

I'm so sorry for the late reply. We can add "Expand all" and "Collapse all" buttons in order to manage your category link tree. I think this will be really useful to see the categories architecture really quickly, especially when merchants have a lot. Concerning "Check all" and "Uncheck all", those buttons are useless because we now use radio buttons instead of checkboxes in the back office. Simply because there's no point to select more than one category in the same parent.

Also, I will keep the arrows in each category row to let merchants manage the display as they want.

Here is my design proposition: Frame 4

Wdyt?

hibatallahAouadni commented 3 years ago

@prestascott great proposition :rocket: Ping @PrestaShop/product-team wdyt? shall we add To Do label?