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

[UI Framework] Improve navigability of the docs #11666

Merged
merged 2 commits into from
May 9, 2017

Conversation

cjcenizal
Copy link
Contributor

This adds search and pagination to the UI Framework. Addresses #11574.

image

Copy link
Member

@lukasolson lukasolson left a comment

Choose a reason for hiding this comment

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

LGTM

@lukasolson
Copy link
Member

Thanks for doing this! Great addition.

Copy link
Contributor

@ycombinator ycombinator left a comment

Choose a reason for hiding this comment

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

Thanks for doing this. It's going to be very helpful!

I left a minor comment on the code. Even without that change, this PR LGTM.

this.onSearchChange = this.onSearchChange.bind(this);
}

onSearchChange(event) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think if you redefine this as onSearchChange = (event) => { you can get rid of the this binding in the constructor. Personally I've found this style more readable.

Copy link
Contributor Author

@cjcenizal cjcenizal May 9, 2017

Choose a reason for hiding this comment

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

I tried it out and got a syntax error. I don't think it's valid ES6 class syntax? 🍂

@cjcenizal cjcenizal merged commit 57ffdc9 into elastic:master May 9, 2017
@cjcenizal cjcenizal deleted the feature/ui-framework-search branch May 9, 2017 18:09
cjcenizal added a commit to cjcenizal/kibana that referenced this pull request May 9, 2017
* Add search to navigation.
* Add pagination buttons to UI Framework header.
cjcenizal added a commit that referenced this pull request May 9, 2017
* Add search to navigation.
* Add pagination buttons to UI Framework header.
snide pushed a commit to snide/kibana that referenced this pull request May 30, 2017
* Add search to navigation.
* Add pagination buttons to UI Framework header.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants