Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grouping resources #2

Closed
vyuldashev opened this issue Aug 23, 2018 · 25 comments
Closed

Grouping resources #2

vyuldashev opened this issue Aug 23, 2018 · 25 comments
Labels
implemented Feature Request implemented

Comments

@vyuldashev
Copy link

Very desired feature is to group resources into categories. So we could achieve something like on the screenshot.

screen shot 2018-08-23 at 17 15 12

@themsaid themsaid added the request Feature Request label Aug 23, 2018
@antonkomarev
Copy link

Must have feature for big projects. Because there are many Models with same name from different packages\namespaces.

@lucasromanojf
Copy link

I think this should be applied to Tools too.

@MattMangoni
Copy link

Definitely needed :)

@anderly
Copy link

anderly commented Aug 23, 2018

Make categories collapsible/expandable, too. Needed to reduce the UI clutter with large apps with lots of resources.

@thatleeguy
Copy link

It would be great if we could define the name/title in the resource to override the automatic naming.

$title = 'Library Items';

@MattMangoni
Copy link

@thatleeguy isn't that already possible? You can define a label property if I'm not mistaken :)

@thatleeguy
Copy link

@MattMangoni Yeah, you are correct. I figured it out.

public static function label() { return 'Library Items'; }

Thanks!

@vyuldashev
Copy link
Author

@davidhemphill Any ETA on this?

@shirshak55
Copy link

installed 5-6 tools and created own tools now the sidebar looks so messy :( I hope this feature arrvies soon .

@davidhemphill
Copy link
Contributor

Grouped resources landed in the release today.

@laraning
Copy link

laraning commented Sep 20, 2018

Hi @davidhemphill , thanks for that ! Can you give us a gist / example how we can work with them?

Thanks.

EDIT: Ok, got it, we pass a "$group" attribute. Still, it works for the main navigation, but not if you are creating a new Tool with resources inside. Has a suggestion it would be nice if the scaffold for the navigation.blade.php already brings that functionality so we can use them in our custom tools too. tks!

@rocramer
Copy link

Is there an easy way to collapse these groups?

@MikeCraig418
Copy link

Is there an easy way to collapse these groups?

@rocramer, I haven't tried this, but checkout https://novapackages.com/packages/alexbowers/nova-categorise-resources

@ShinHyungJune
Copy link

I want it too.

@chescos
Copy link

chescos commented Jan 3, 2019

Are there plans to make the groups collapsable? Right now it's a bad UX with 30+ resources since you need to scroll down too much, and then even manually scroll up again after selecting a resource from the bottom.

@fbingha
Copy link

fbingha commented Jan 30, 2019

(1) Allow us to create other menu items at the same level as Dashboard and Resources.
(2) Allow us to collapse these menu items.

@omar-haris
Copy link

@taylorotwell any update on this?

@dkulyk dkulyk removed planned request Feature Request labels Feb 12, 2019
@tpetry
Copy link

tpetry commented Feb 13, 2019

You can already group resources by setting the public static $group variable on a resource. But setting an icon for every resource and group would indeed be very helpful.

@tanmuhittin
Copy link

For collapsing groups you can use this simple package 👍
https://github.com/tanmuhittin/nova-collapsible-groups

@dzymail
Copy link

dzymail commented Feb 8, 2020

if not override blade template, How to make custom resources menu not as 'Resources' submenu, but as a top level menu? maybe override some variable to do it?

@vesper8
Copy link

vesper8 commented May 13, 2020

Is there a way to add an icon to either resources or resource groups ? Can't find anything about this

@rmsj
Copy link

rmsj commented May 26, 2020

Is there a way to add an icon to either resources or resource groups ? Can't find anything about this

Maybe this one: https://github.com/anaseqal/nova-sidebar-icons

@masweb
Copy link

masweb commented Jul 23, 2020

@omajoor
Copy link

omajoor commented Dec 31, 2020

is there a way to use the public static $group on a custom tool as well?

@vesper8
Copy link

vesper8 commented Dec 31, 2020

I've been using this package https://github.com/dcasia/collapsible-resource-manager

It gives you absolute control over the sidebar, you can add anything you want.. groups, resources, lens, tools, and arrange them exactly how you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
implemented Feature Request implemented
Projects
None yet
Development

No branches or pull requests