[Discover] EuiDataGrid Implementation#67259
Conversation
…discover-data-grid
…r-2020-04-25-discover-data-grid
|
@cchaos thanks a log for your adaptations!
this seems like an bug with combining EuiPopover and the Codeblock? Since it seems to be rendered when the page is resized? Maybe we should offer this functionality by an EuiDataGrid improvement?
I do agree that we should mention it, and later on we could make it intelligent.
I see! I this flyout needs to
Thx, already fixed it, part of the next push
Thx, yes. So this is tricky, didn't work in the legacy grid, but since every time one of this actions was executed, the legacy "flyout" closed. It's a bit complicated here, this doc viewer is module that can also contain angular, so it's rendered differently, and that seems to be the cause here. So we've got 3 choices here 1 ) open an issue for it, target in a separate PR
Yes, this is legacy behavior, it's to stay compatible with the old grid, but yes, we could think of making it possible later on, I think we should. It has a bit improved though, you can move the date column now, and it can't be duplicated, small wins here, big win later
dear @chandlerprall, can I do this? don't make a cell expandable dependent on the content? |
you took care of that, right @cchaos
Or we make them function like the legacy one, close the flyout, would also prevent a problem with toggling of columns
Muchas gracias, fixed that
Dankeschön for taking care of it
Will be done when virtualization, I'm comfortable with 5000000 then about the geo field schema, so it should be handled like a JSON or differently? thx |
|
@kertal did some more styling. We have some Amsterdam specific changes that we'll need to make (that shouldn't hold up this PR) after the break. I'd still like to highlight the row selected if possible. Think you can pass me a Other small thing I noticed in here (and can wait) is that we really need to replace the doc viewer table that shows in the expanded flyout to use an EuiTable. Right now it's using Bootstrap, and we're looking to remove that next minor. |
…-25-discover-data-grid
...plugins/discover/public/application/components/discover_grid/discover_grid_expand_button.tsx
Show resolved
Hide resolved
snide
left a comment
There was a problem hiding this comment.
This looks great. There are some small leftover issues from design, but they can all be handled by later PRs. All the big stuff is covered. When we get closer to a release, we should make a more prominent switch (maybe a one time toast?) to let people toggle the new view, that way they don't need to dig into adv. settings.
There's likely nearly ten people on this PR on the EUI or Kibana side. Really nice job by everyone. Good to merge!
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co> Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co> Co-authored-by: Dave Snider <dave.snider@gmail.com> Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com> Co-authored-by: cchaos <caroline.horn@elastic.co> Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co> Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co> Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co> Co-authored-by: Dave Snider <dave.snider@gmail.com> Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com> Co-authored-by: cchaos <caroline.horn@elastic.co>
💔 Build Failed
Failed CI StepsMetrics [docs]
History
To update your PR or re-run it, just comment with: |

Summary
Continuation of #51531 🔥 integrating EuiDataGrid implementation in Discover including the saved search embeddable.
You need to enable it in
Stack Monitoring/Advanced Settingsby settingUse legacy tabletoOffWhen you navigate to Discover you should see the EuiDataGrid in Action
You can sort columns now with drag and drop
View the grid in full screen mode

Enjoy a much better way to change sorting
Expand documents in a flyout
You can resize one or multiple column, this is persisted in the saved search saved object and when you embed a saved search in a dashboard the width
Resolves #737
Resolves #38982
Resolves #8706
Resolved #4436
Known bugs and issues
Follow ups
Checklist
- [ ] Documentation was added for features that require explanation or tutorials