nemrutco / nova-global-filter

This package allows you to apply any of your existing Laravel Nova filters to your cards in Dashboards or Index and Detail view of your nova resources.
MIT License
39 stars 32 forks source link

Nova 4 Update #34

Closed ali-raza-saleem closed 1 year ago

WillyReyno commented 2 years ago

The following error occurs on fresh nova install because of a missing lodash dependency in package.json, blocking the dashboard card's loading.

Capture d’écran 2022-07-29 à 13 23 33

This error is not triggered if a custom tool is already installing the lodash dependency.

It seems Nova is no longer providing lodash out of the box : https://github.com/laravel/nova-issues/discussions/3814#discussioncomment-2509234

ValentinGaudin commented 2 years ago

Hello, some issue about the CSS, the component can't trigger the dark mode in Nova, stay in light.

Capture d’écran 2022-07-29 à 17 12 50
MuzafferDede commented 2 years ago

Sorry guys, i don't have Nova 4 license to work on it. I wish i implemented this package with some tests but unfortunately i didn't. I will try to come back to this package at some point to upgrade.

luciantugui commented 2 years ago

I forked this as well for nova 4, I did some styling changed, how do I re-compile? thanks!

ValentinGaudin commented 2 years ago

I forked this as well for nova 4, I did some styling changed, how do I re-compile? thanks!

You can add your own style sheet in the NovaServiceProvider

    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot(): void
    {
        parent::boot();

        Nova::style('white-block', public_path('./style/app.css'));
    }