Skip to content
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 8 commits into from
Feb 15, 2018
Merged

Introducing EuiSearchBar #379

merged 8 commits into from
Feb 15, 2018

Commits on Feb 14, 2018

  1. Introducing EuiSearchBar

    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.
    uboness committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    f7c0cab View commit details
    Browse the repository at this point in the history
  2. Added onParse prop

    - 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.
    uboness committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    55de6fe View commit details
    Browse the repository at this point in the history
  3. added prop_info to the docs

    uboness committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    ad82093 View commit details
    Browse the repository at this point in the history
  4. Updated the search bar example

    - added `field_value_toggle_group` filter
    - added `field_value_toggle` filter
    
    Also:
    
    - cleaned up `FieldValueToggleGroupFilter` a bit
    uboness committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    01d420f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    92a28d1 View commit details
    Browse the repository at this point in the history
  6. 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")`
    uboness committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    fd9192a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8d697b1 View commit details
    Browse the repository at this point in the history
  8. updated change log

    uboness committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    cb87e2d View commit details
    Browse the repository at this point in the history