Better ordering of groups of globals & collections #1277
Replies: 5 comments 3 replies
-
Happy to help out with this btw! But would like some guidance on the approach first. Assuming no refactors along the lines of merging collections and globals are planned, I reckon a simple |
Beta Was this translation helpful? Give feedback.
-
This would be really useful to order the collections and globals in a meaningful way. It's kind of odd in some cases where we can't order the items in a group to match the logical way we would expect to find them in. Is there any news on this topic? |
Beta Was this translation helpful? Give feedback.
-
Anyone else found a solution for this? I want to be able to order and mix globals and collections within a group specifically. For example, I want to have the start page as a singleton/global above the collection pages in the group content |
Beta Was this translation helpful? Give feedback.
-
Is there any news on this topic? |
Beta Was this translation helpful? Give feedback.
-
Found a very hacky partial workaround. I created a dummy collection like
Then in the config:
since the collections order dictates what the order of the groups are, using this placeholder I can get my Pages group to appear before the others. Of course this is hacky and it would be great if this was a supported feature |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Really appreciate the recently added feature to set a custom
group
values on collections and globals! This alone already allows organizing collections & globals into more meaningful & user-friendly groups.The last piece missing for us to make the overall organization perfect is the sorting order across collections & globals. It looks like the order of groups is currently defined by the order in which collections & globals as passed into the payload config. Where this falls short is if we want e.g. a group of globals at the top.
A practical example:
This currently does not seem supported, outside of creating a custom navbar component just for this.
Some potential approaches how this could be achieved:
admin.groups
oradmin.knownGroups
of typestring[]
admin.sort
oradmin.order
of typenumber
collections
vsglobals
arrays on the payload config into a single entry, e.g.schemas
global
flag on collections vs globals to differentiate the twoBeta Was this translation helpful? Give feedback.
All reactions