[Discover] EUI-fication of the filters#48452
Conversation
e0e51a8 to
d6fc63f
Compare
💔 Build Failed |
💔 Build Failed |
kertal
left a comment
There was a problem hiding this comment.
Great that you already applied to Lens style, tested in Chrome, works 👍. Added comments about details
src/legacy/core_plugins/kibana/public/discover/components/field_chooser/field_selector.tsx
Outdated
Show resolved
Hide resolved
...egacy/core_plugins/kibana/public/discover/components/field_chooser/discover_field_search.tsx
Outdated
Show resolved
Hide resolved
.../core_plugins/kibana/public/discover/components/field_chooser/discover_field_search.test.tsx
Show resolved
Hide resolved
...egacy/core_plugins/kibana/public/discover/components/field_chooser/discover_field_search.tsx
Outdated
Show resolved
Hide resolved
...egacy/core_plugins/kibana/public/discover/components/field_chooser/discover_field_search.tsx
Outdated
Show resolved
Hide resolved
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
|
@elasticmachine merge upstream |
💚 Build Succeeded |
|
Nice! I'll take a look at that the design side as it appears there might be a panel inside of the popover menu. |
|
@majagrubic This is looking great, I've got two additional requests:
Thanks, |
use compressed style inputs
|
@ryankeairns thanks for the comment, I merged your PR. regarding button group over select: is this how it is expected to look like then? |
💚 Build Succeeded |
|
@majagrubic that looks great, thanks for fitting this in! |
💚 Build Succeeded |
ryankeairns
left a comment
There was a problem hiding this comment.
@majagrubic checked this out locally and it looks great, thank you!
How much work would it be to have the popover close when clicking outside of it? Currently, it is only possible to close it by clicking on the filter button again. Clicking outside to close a popover is common pattern we've used elsewhere, see Lens as an example.
💚 Build Succeeded |
|
@ryankeairns mind if I do that in the follow-up PR? This one is already growing quite big. |
|
@majagrubic yep, that works for me, thanks! |
...egacy/core_plugins/kibana/public/discover/components/field_chooser/discover_field_search.tsx
Show resolved
Hide resolved
...egacy/core_plugins/kibana/public/discover/components/field_chooser/discover_field_search.tsx
Outdated
Show resolved
Hide resolved
kertal
left a comment
There was a problem hiding this comment.
Thank a lot for another important step in redesigning Discover's field selector 👍 . Code LGTM, tested locally in Chrome
💚 Build Succeeded |
* New filter UI * Prototype of functionality * EUIFication of filters in Discover * Adding tests for field_selector component * Replacing FieldSelector with EuiForm components * Adding more discover field search tests * Removing console statement * Fixing failing functional test * Removing obsolete snapshot * design tweaks for filter popover * use compressed style inputs * Changing selectors to be EuiButtonGroup * Removing unnecessary if statement * Getting rid of ts-ignore warning
* New filter UI * Prototype of functionality * EUIFication of filters in Discover * Adding tests for field_selector component * Replacing FieldSelector with EuiForm components * Adding more discover field search tests * Removing console statement * Fixing failing functional test * Removing obsolete snapshot * design tweaks for filter popover * use compressed style inputs * Changing selectors to be EuiButtonGroup * Removing unnecessary if statement * Getting rid of ts-ignore warning
* New filter UI * Prototype of functionality * EUIFication of filters in Discover * Adding tests for field_selector component * Replacing FieldSelector with EuiForm components * Adding more discover field search tests * Removing console statement * Fixing failing functional test * Removing obsolete snapshot * design tweaks for filter popover * use compressed style inputs * Changing selectors to be EuiButtonGroup * Removing unnecessary if statement * Getting rid of ts-ignore warning



Summary
Related:
#47357
Filters selectors are now EUI components:

The logic is still tied to Angular. Need to add tests, so opening this as a draft.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers