Active
Project:
Paragraphs
Version:
8.x-1.x-dev
Component:
Experimental Widget
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Apr 2017 at 13:10 UTC
Updated:
13 Apr 2017 at 10:06 UTC
Jump to comment: Most recent
Comments
Comment #2
miro_dietikerThe question here is, how much nesting is dependent from the widget state.
If we treat children separately, we could always display them open. Or only initially.. but that might be confusing because it can be opened and collapsed at the same time... that would require us to see edit/update (fields) and collapse/expand (hierarchy) as separate concepts.
Now about labels: if a container has only one child field, we don't need to output the child field label (typically "Paragraphs") at all. Instead we could directly output the children.
Promoting because child hierarchy and related experience is super important.
Comment #3
primsi commentedI can imagine this use case: the user is creating some complex node and often saves to see the progress of the page (actually previews). But he/she wants to remember the open/closed state of that particular node, because maybe in other nodes the complex part is in some other type.
One way we could accomplish this is to store that information in cookie or local storage. I am not sure if we want to go in this direction at all though ...