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

[Discover] EUI-fication of the filters #48452

Merged
merged 20 commits into from
Oct 31, 2019

Conversation

majagrubic
Copy link
Contributor

Summary

Related:
#47357

Filters selectors are now EUI components:
Screenshot 2019-10-16 at 19 45 42

The logic is still tied to Angular. Need to add tests, so opening this as a draft.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@majagrubic majagrubic force-pushed the discover-euification branch 2 times, most recently from e0e51a8 to d6fc63f Compare October 16, 2019 18:49
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great that you already applied to Lens style, tested in Chrome, works 👍. Added comments about details

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@majagrubic majagrubic marked this pull request as ready for review October 17, 2019 21:51
@majagrubic majagrubic requested a review from a team as a code owner October 17, 2019 21:51
@majagrubic majagrubic added v7.5.0 v8.0.0 release_note:skip Skip the PR/issue when compiling release notes labels Oct 17, 2019
@majagrubic
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@ryankeairns
Copy link
Contributor

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
Copy link
Contributor Author

@ryankeairns thanks for the comment, I merged your PR. regarding button group over select: is this how it is expected to look like then?
Screenshot 2019-10-29 at 22 33 45

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@ryankeairns
Copy link
Contributor

ryankeairns commented Oct 30, 2019

@majagrubic that looks great, thanks for fitting this in!

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@ryankeairns ryankeairns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@majagrubic
Copy link
Contributor Author

majagrubic commented Oct 31, 2019

@ryankeairns mind if I do that in the follow-up PR? This one is already growing quite big.

@kertal kertal self-requested a review October 31, 2019 13:25
@ryankeairns
Copy link
Contributor

@majagrubic yep, that works for me, thanks!

Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added one structural change request, think it makes sense to extract one sub component in it's own file. Update discussed this, and decided to keep it this way.

Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank a lot for another important step in redesigning Discover's field selector 👍 . Code LGTM, tested locally in Chrome

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@majagrubic majagrubic merged commit 559ac84 into elastic:master Oct 31, 2019
@majagrubic majagrubic deleted the discover-euification branch October 31, 2019 17:53
majagrubic pushed a commit to majagrubic/kibana that referenced this pull request Nov 11, 2019
* 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
majagrubic pushed a commit to majagrubic/kibana that referenced this pull request Nov 11, 2019
* 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
majagrubic pushed a commit to majagrubic/kibana that referenced this pull request Nov 11, 2019
* 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
majagrubic pushed a commit that referenced this pull request Nov 12, 2019
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.5.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants