-
Improvement
-
Resolution: Fixed
-
Major
-
5.4.3
-
None
-
-
Empty show more show less
-
Yes
-
Saigon 39
-
8
We currently offer two ways to add a new component:
- You click on the "new component" placeholder.
- With an area selected, you click on the "add component" action.
In both cases, we open a dialog to pick one of the components available in the affected/selected area. The component is then added at the location of the placeholder, which is typically at the end of the list. There's, however, no way to add a component in other locations of the list, in particular at the beginning of the list.
We'll thus allow a user to pick one of several, preconfigured locations in the dialog that also asks him or her to pick the type of component to add. We should support both "at the beginning" and "at the end" for all areas, with "at the end" being the default. If feasible, allow for the amount and the actual location where new components get added to be configured.
While placeholder can in theory be configured and moved elsewhere (I think there could be several ones), I would not want us to add two placeholders per area to not increase the UI complexity in the page editor ever more. For the same reason, I would not want us to introduce a second "+" (add) icon on the bars itself.
UPDATE: Copied from the comments
Here's the clarification, after double-checking with Andreas:
- We call for radio options in the pages:newComponent dialog. This is a relatively cheap solution to let e.g. news editors to add latest articles on top easily.
- We acknowledge that we skipped the component dialog (in
PAGES-58) when there is only one type of component available; we're ok with this. - We don't show this field for single component areas.
- We acknowledge that we skipped the component dialog (in
- We don't do the secondary split of the "add component" action in the end, not to bloat the action bar.
- We consider configuring position of the placeholder(s) on the area definition
- Added a wireframe showing the radio button group for picking where to add the component (at the beginning or at the end).
- As a side note, you'll notice I've also renamed the dialog title and the label of the first input field to be more in-line with what we have elsewhere. If that's easy to change in one go, please do so, else feel free to create a follow-up issue for these label changes.
- is causing
-
MGNLPN-346 CLONE - Magnolia saves the "position" attribute to newly added component
- Closed
-
PAGES-96 Magnolia saves the "position" attribute to newly added component
- Closed
-
PAGES-64 Ask a user where to add a new component, even if an area accepts just a single component type
- Closed
- is depended upon by
-
MGNLCE-25 Cover PAGES-59 in UI tests
- Closed
- relates to
-
PAGES-67 Rename texts in "Create new component" dialog
- Closed
- mentioned in
-
Page Loading...