-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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][EuiDataGrid] Add document navigation to flyout #94439
[Discover][EuiDataGrid] Add document navigation to flyout #94439
Conversation
…-11-discover-data-grid-document-navigation
dear @elastic/kibana-design , could you have a look to move it out of PoC land? many thx! |
@ryankeairns yes, x (close) and pagination are overlapping, so this needs to be improved, and it looks nice in your mockup, I've got 1 argument to discuss here: grouping When header and paginate are about in the same row, you could read them like "Expanded document 3 of 8", for me this is a more bit logic grouping that when it's on the second row ... but well on the other side you could also read it like "Single document | Surrounding documents | Previous document (Position of document) Next document" So while writing this I came to the conclusion, should be fine also in the second row 👍 |
I hear you. Let's try it on in the 2nd row and see how it fits :) Easy to relocate, if needed. |
…-11-discover-data-grid-document-navigation
@ryankeairns i've adapted the layout, could you have a look? Removed There seems to be an issue with pagination and responsive view? |
…-data-grid-document-navigation Layout and responsive adjustments
Pinging @elastic/kibana-app (Team:KibanaApp) |
@elasticmachine merge upstream |
…cument-navigation
…-11-discover-data-grid-document-navigation
@ryankeairns QQ: document nav seems to be aligned differently in Chrome and Firefox, who's right? |
Oops, Firefrox is right. Might need to use |
@ryankeairns thx! now it works! |
…tion' of github.com:kertal/kibana into kertal-pr-2020-03-11-discover-data-grid-document-navigation
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @kertal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested this in Chrome on Mac OSX, works as expected 👍
src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx
Show resolved
Hide resolved
) - allows the user to navigate to the previous and next document of the list in the document flyout Co-authored-by: Ryan Keairns <[email protected]>
…95185) - allows the user to navigate to the previous and next document of the list in the document flyout Co-authored-by: Ryan Keairns <[email protected]> Co-authored-by: Ryan Keairns <[email protected]>
Summary
This PR is adding document navigation to the document flyout of the EUIDataGrid implementation, so you can navigate to the previous and next document of the list.
expand-document-navigation.mp4
Checklist
Delete any items that are not applicable to this PR.