Giter VIP home page Giter VIP logo

nova-filters-summary's People

Contributors

degecko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nova-filters-summary's Issues

Bad count badge when removing a boolean filter

Hi there. In my initial testing I've been able to detect a bug while using boolean filters.

If I remove a boolean filter from the FilterSummary card, the count badge isn't reduced by one (letting the count inconsistent). In order to actually recover the valid count, I have to mark all boolean values and re-disable them one by one.

Of course, disabling the boolean filter through the default Nova's popup gives me the expected results.

Any clue on what could be happening here?

Empty date filters detected as active

Hi, awesome stuff! Thanks!

We have some filterable date fields around:

Date::make('Version Date', 'version_date')
    ->filterable()
    ->sortable()
    ->onlyOnIndex(),
Date::make('Created at', 'dob')
    ->filterable()
    ->sortable(),

And without setting any filters, the package thinks these filters are populated and displays empty like this:
image

PS: In my Nova install, I didn't have the pl-2 class so I had to add it myself.

can't find lodash in nova 4

runtime-core.esm-bundler.js:226 ReferenceError: _ is not defined
at nova-filters-summary:54:22
at Array.map ()
at Proxy.getActiveFilters (nova-filters-summary:53:10)
at Proxy.created (nova-filters-summary:117:10)
at en (runtime-core.esm-bundler.js:155:36)
at tn (runtime-core.esm-bundler.js:164:21)
at tn (runtime-core.esm-bundler.js:174:21)
at Wr (runtime-core.esm-bundler.js:2965:5)
at $r (runtime-core.esm-bundler.js:2867:9)
at $o (runtime-core.esm-bundler.js:7170:9)

localization

hi,

How can I localize the component?
Can you explain it a little bite more?

With other components we need to publish localizations first

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.