Git Product home page Git Product logo

Comments (4)

aDogCalledSpot avatar aDogCalledSpot commented on July 2, 2024 1

I actually think I'll just leave it for now and revisit later. I would rather get around to adding search capabilities to other components.

from patternfly-yew.

ctron avatar ctron commented on July 2, 2024

I am wondering if we should actually implement such a logic in patternfly-yew. For the project I am working on, we might want to use something completely different (https://github.com/ctron/sikula/), despite using the a search input field.

I am not sure patternfly should define what search should look like.

On the other side, adding some "search" tooling/helpers would make sense. But maybe that's an optional thing, on top of the control itself.

from patternfly-yew.

aDogCalledSpot avatar aDogCalledSpot commented on July 2, 2024

I get your point. We can't really parse search in a way that is going to please everyone.

The functionality is only really used to construct a map which is passed down to an AdvancedSearchMenu which then displays the items.

If we have a good interface for the map, then it can just be supplied as a prop. However, the AdvancedSearchMenu can't really do anything other than let you edit the attributes independent of the entire search string. The question is whether we want to support that or whether we just offer support for opening an advanced menu the user has to develop themselves.

Dropping support would drastically simplify the search input code so I'm open to it.

from patternfly-yew.

ctron avatar ctron commented on July 2, 2024

Hm, I see. Maybe we should come up with a trait then? Providing a reasonable default implementation.

from patternfly-yew.

Related Issues (20)

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.