Comments (4)
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.
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.
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.
Hm, I see. Maybe we should come up with a trait then? Providing a reasonable default implementation.
from patternfly-yew.
Related Issues (20)
- Selectable cards always select the first one HOT 1
- NavRouterItem not working with yew_nested_router HOT 2
- [Discussion] `data-test` property on components HOT 4
- Constant ID updates HOT 1
- Rethink keys in tables HOT 3
- [Discussion] New Table implementation
- error[E0277]: the trait bound `Bullseye: yew::Component` is not satisfied HOT 3
- Page Masthead and horizontal navigation HOT 5
- autofocus=true focuses the field when other form fields are edited HOT 7
- Gallery: weird behavior w.r.t. scroll state / re-rendering? HOT 3
- [table]: Allow exanding rows, redrawing only the toggled row HOT 3
- Hover effects for clickable Cards HOT 1
- `UseStateHandle` created outside of a backdrop does not trigger a rerender inside the backdrop HOT 2
- [discussion] More advanced icon support HOT 6
- Keyboard navigation
- Info: Implemented components
- Callback/event handler signatures HOT 9
- Release 0.5.0 HOT 3
- [Disucssion] handling the "middle" truncation option HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patternfly-yew.