Replies: 3 comments 8 replies
-
I will be happy to provide a design for it, however, I need to make sure I have understood what you need. At this time you need to select the items after inserting a block. But if we want to keep both conditions, we should add a toggle to the sidebar to enabling handpick selection, and once toggled we need to disable the sorting and display a multi-select box with a frame below to display selected item with sorting ability. @kuserich Could you please confirm this theory is ideal for what you need? |
Beta Was this translation helpful? Give feedback.
-
WooCommerce currently renders the same UI component within the |
Beta Was this translation helpful? Give feedback.
-
In addition to these selection elements in the editor block and the inspector panel, we will need something that enables and disables hand-picking. I believe a toggle, as suggested by @gooklani , could be a good solution. What do you think, @mahdiyazdani ? |
Beta Was this translation helpful? Give feedback.
-
As we're currently working on the
MultiSelect
component I would like to discuss the UI and UX that will be added to blocks and extensions that need to pull posts from the database.Currently, we are providing a sort parameter, a sort order (e.g. ascending by creation date, descending by name, etc.), a filter (taxonomies, e.g. category) and a limit option in the Inspector panel for the content editor to construct the post query from.
With
MultiSelect
, the content editor is hand-picking a set of posts to be included in the block and may freely rearrange the order in which these posts should be included. This is incompatible with the current implementation. That is, these two configurations are mutually exclusive and cannot be used collectively.For blocks like FAQ and Slider, selecting and ordering by hand offers the better user experience as well as necessary functionality that couldn't be achieved with simple filtering without creating a complicated set of hierarchical taxonomies (e.g. in Kettler). Other blocks like Recent Posts, Portfolio, and Team however, benefit massively from the simplified query configurations and do not necessarily require hand-picking posts. For these blocks, though, there are still some use cases where it is useful.
Thus, ideally, we would be able to offer both types of query configurations in each of these blocks and make sure that they are not both used at the same time. Similarly, enabling the simple sort + filter method might have implications for the
MultiSelect
component (i.e. disable ordering).What are your thoughts, @mahdiyazdani @AdrianFiroiu @gooklani @kalibir ? Would you be able to come up with a UI design in Figma for the inspector panel @gooklani ?
Beta Was this translation helpful? Give feedback.
All reactions