Skip to content

Releases: dcasia/collapsible-resource-manager

v2.0.0

07 Oct 06:08
8ec593a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.2...v2.0.0

1.4.2

05 Feb 17:08
94fdb29
Compare
Choose a tag to compare
  • Fix issue on an old version of PHP #75

1.4.1

04 Feb 13:58
895b5f4
Compare
Choose a tag to compare
  • Fix issue introduced on version 1.4.0 where an exception would be thrown if group members were defined using NovaResource::make()

1.4.0

04 Feb 13:30
bc27a7f
Compare
Choose a tag to compare
  • Upgrade frontend dependencies #73
  • Hide groups when all its children resources are unauthorized #73

v1.3.3

27 Aug 09:09
40434c1
Compare
Choose a tag to compare
  • Fix ->label() trying to call global functions #65

v1.3.2

10 Aug 06:33
831524a
Compare
Choose a tag to compare
  • Automatically retrieve Badge and Label from resource file if static methods are set on the resource file:
public static function badge() {}
public static function label() {}

v1.3.1

05 Mar 03:50
Compare
Choose a tag to compare
  • TopLevel remember state #43

v1.3.0

01 Mar 10:17
Compare
Choose a tag to compare
  • Upgrade Dependencies
  • Lazy evaluate resources from TopLevelResource

Now what is within the callback will only evaluate when the canSee method passes:

TopLevelResource::make([
    'label' => 'Administration',
    'resources' => function () {
        return [
            NovaResource::make(Organization::class),
            NovaResource::make(User::class),
            NovaResource::make(Venue::class),
        ];
    },
])->canSee(fn() => true),

// array form still supported

v1.2.6

22 Jul 12:27
Compare
Choose a tag to compare
  • Fix regression with hover state introduced on the last version

v1.2.5

22 Jul 11:49
Compare
Choose a tag to compare
  • Make top-level menu collapsible. thanks to @bernhardh close #17