manager-ui icon indicating copy to clipboard operation
manager-ui copied to clipboard

Enhancement: reparenting groups in Media

Open giseleblair opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Currently we cannot reparent a media group to be nested under another group.

Describe the solution you'd like It would be nice to be able to drag and drop the groups in the media module to reparent or even unparent the group.



(related to Zendesk ticket #1314)
gz#1314


(related to Zendesk ticket #1778)
gz#1778

giseleblair avatar Mar 16 '21 18:03 giseleblair

The drag and drop on the media menu will be technically complex due to the fact that menu is a virtual list. The virtual list is done for performance reasons to handle the scale of media being managed by our users and is as I see at the moment non-negotiable solution.

Instead of a drag and drop experience to reorder I would suggest an alternative; a select when updating a group to allow picking a different group as the parent.

Pros

  • A more stable experience to reparent vs DnD
    • Less possibility of accidentally re-parenting to the wrong group

Cons

  • Still does not prevent circular parenting references
  • A tedious experience if re-parenting lots of groups

This can be implemented with the current API as it allows submitting a group_id to set a groups parent.

shrunyan avatar Mar 18 '21 18:03 shrunyan