-
Notifications
You must be signed in to change notification settings - Fork 843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introducing EuiSearchBar #379
Merged
Merged
Commits on Feb 14, 2018
-
A powerful search bar for common use cases that require more than just prefix and terms lookups. This one also supports field clauses (e.g. `tag:bug`) and is clauses (e.g. `is:open`). The bar has a search box where the user can enter the query text and can also hold filters. Filter are essentially UI controls that help to manipulate/build the query - they mainly help those the don't remember the query syntax.
Configuration menu - View commit details
-
Copy full SHA for f7c0cab - Browse repository at this point
Copy the full SHA f7c0cabView commit details -
- with `onParse` it's now possible to get continuous feedback about the query text parsing. The example demo shows how it can be used to provide a feedback about the validity of the query. In the future we might be able to use it for other things as well (e.g. auto-completion) - Enhanced the example demo quite a bit to show off a few features: ES query translation, JS array execution, incremental search and query validation.
Configuration menu - View commit details
-
Copy full SHA for 55de6fe - Browse repository at this point
Copy the full SHA 55de6feView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad82093 - Browse repository at this point
Copy the full SHA ad82093View commit details -
Updated the search bar example
- added `field_value_toggle_group` filter - added `field_value_toggle` filter Also: - cleaned up `FieldValueToggleGroupFilter` a bit
Configuration menu - View commit details
-
Copy full SHA for 01d420f - Browse repository at this point
Copy the full SHA 01d420fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92a28d1 - Browse repository at this point
Copy the full SHA 92a28d1View commit details -
Added support for "OR" clauses
- Updated `field_value_selection` filter to support both `and` and `or` clauses. Now when configured to be `multiSelect` - the `multiSelect` attribute can be set to `or` or `and` (setting to `true` is as setting it to `and`). - Syntax: the syntax for or field clauses is: `field:(value1 or value2)` - Also added support for phrases: `"this is a term phrase" -text:"and this is a field phrase" hamlet:("to be" or "not to be")`
Configuration menu - View commit details
-
Copy full SHA for fd9192a - Browse repository at this point
Copy the full SHA fd9192aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d697b1 - Browse repository at this point
Copy the full SHA 8d697b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb87e2d - Browse repository at this point
Copy the full SHA cb87e2dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.