Configure the sequence in which the sidebar groups are shown. #2447
iamlinkus
started this conversation in
Feature Requests & Ideas
Replies: 1 comment
-
+1 for this. So I think this could be thought bigger with allowing more layers (double nesting), adding Icons, etc... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently you can group the admin panel collections and globals into groups within the sidebar, which is awesome. Unfortunatelly, once you put globals into a group, it will always show those groups below the collection groups. It would be great to be able to config the sequence in which the groups are shown regardless of whether they're for globals or collections.
Here's an example:
Working with other cms'es we usually have a group for "Pages", which has all the pages listed and the user can change the content of each page. Each page having a different structure. Then we have another group for "Global settings", which includes stuff like the footer, header, default SEO, etc. And only below these groups we show the rest of the collection groups ("Media" group, which has icons, logos, etc or "Blog" group which has Posts, Comments).
Here's an example with the current payload functionality. The groups "Assets" and "Admin" are groups of collections. And "Pages" is a group for globals. All I need to do now is somehow move the "Pages" globals group to be above all the others.
One interessting thing that @AlessioGr pointed out in Payload Discord is that if you don't put the globals in a custom group, then the default group "Globals" is above everything else, but then there's no possibility to change the group name and/or it doesn't work if you want to have more than one group of globals.
Beta Was this translation helpful? Give feedback.
All reactions