The ViewManager component currently allows putting a view into a group, but it does not allow nested groups.
Users are requesting nested groups.
After discussion with @lbwexler, we felt these implementation choices were a good start:
- Keep the
group value a string under the JsonBlob's meta column (json), but interpret forward slashes in the string as group name delimiters.
- Modify the grids in the Manage Views dialog to display the nested groups in tree grids.
- Maybe enable drag and drop in the grids to allow users to move views between groups
- In the Manage Views dialog's right side edit panel, replace the Group
select field with an "Edit" button/popover. The popover would contain a textInput where a user can edit the group name, and a select input with a custom renderer to display all groups in an indented hierarchy, allowing a user to move his group to a new parent group, if desired.
- The ViewManager menu items would display views using nested
menuItems.
- JsonBlobService's updateInternal method needs to be enhanced so that when a
JsonBlob is saved, if the update includes a group edit, some logic must be run to update JsonBlobs of the same type, in which the meta column group values start with the group value that was edited - test string is from start up to and including the slash count that was edited.
The ViewManager component currently allows putting a view into a group, but it does not allow nested groups.
Users are requesting nested groups.
After discussion with @lbwexler, we felt these implementation choices were a good start:
groupvalue a string under the JsonBlob'smetacolumn (json), but interpret forward slashes in the string as group name delimiters.selectfield with an "Edit" button/popover. The popover would contain atextInputwhere a user can edit the group name, and aselectinput with a custom renderer to display all groups in an indented hierarchy, allowing a user to move his group to a new parent group, if desired.menuItems.JsonBlobis saved, if the update includes a group edit, some logic must be run to updateJsonBlobsof the same type, in which themetacolumngroupvalues start with thegroupvalue that was edited - test string is from start up to and including the slash count that was edited.