Conversation
flash1293
left a comment
There was a problem hiding this comment.
Data grid is adding a light shade of grey as background now:

This is very distracting during virtualized scrolling because the grey flickers before it's replaced with new cells. What would be the best way to get the background back to white? The .euiDataGrid__content element is the issue here so we can't overwrite it from the outside without reaching into the EUI element structure which I would like to avoid if possible (if it's not, we can simply do that, it's not a big issue)
YulNaumenko
left a comment
There was a problem hiding this comment.
Alerting changes LGTM
|
@azasypkin Can you provide more environment info? I cannot reproduce the issue you're seeing on this branch: |
Hmm, let me double check that I didn't mess up with anything. |
Deferring to @chandlerprall and @snide for what to do here. What do you two think? |
@flash1293 @thompsongl it is intentional, see https://github.com/elastic/eui/pull/4509/files#diff-5826316bba7a42b0d9228a47cdc8c8e67ed3eee9d092982cd5c4292258b7bc4fR36 |
|
The background color was intentional and arrived at after feedback in elastic/eui#4170 (review). I wouldn't hold up this PR over it since it's a minor styling issue that can be changed with a one-liner on either side of the code. Likely we've got some back and forth with subjective opinions till everyone is happy, and that won't happen before tomorrow. Ultimately, the heart of the problem is that I think we need a better concept of loading state with cells that are virtualized. That's definitely harder and will take another minor to land. |
azasypkin
left a comment
There was a problem hiding this comment.
LGTM, thanks! No idea what was wrong with my environment, but after yarn kbn clean and re-bootstrapping everything seems to be in order, sorry for the noise.
|
Actyally it worked after running a |
weltenwort
left a comment
There was a problem hiding this comment.
infra plugin changes LGTM 👍
(had to clean as well to get it working, though)
flash1293
left a comment
There was a problem hiding this comment.
If the datagrid coloring got discussed and is the outcome of a deliberate decision, I'm happy with the current status, we can iterate on this.
What would be cool is to use a repeating background image of the cell borders so it's just "filling in" the content during scrolling.
ThomThomson
left a comment
There was a problem hiding this comment.
Code only review, everything makes sense. Presentation Team changes LGTM
cee-chen
left a comment
There was a problem hiding this comment.
Huge thanks from the App Search team!
alisonelizabeth
left a comment
There was a problem hiding this comment.
ES UI changes LGTM. Left one nit regarding removing use of fragment.
...tion/public/app/components/follower_index_actions_providers/follower_index_pause_provider.js
Outdated
Show resolved
Hide resolved
...ugins/cross_cluster_replication/public/app/components/auto_follow_pattern_delete_provider.js
Outdated
Show resolved
Hide resolved
...ion/public/app/components/follower_index_actions_providers/follower_index_resume_provider.js
Outdated
Show resolved
Hide resolved
...n/public/app/components/follower_index_actions_providers/follower_index_unfollow_provider.js
Outdated
Show resolved
Hide resolved
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
Unknown metric groups@kbn/ui-shared-deps asset size
History
To update your PR or re-run it, just comment with: |
* eui to 31.6.0 * flyout, collapsible snapshot updates * initial overlaymask removal * undo jest * overlaymask src snapshot updates * more overlaymask removals * overlaymask removal xpack test updates * saved objects modal form * eui to 31.7.0 * code, codeblock types * snapshot update * tooltip * remove ownFocus from ConfirmModal * remove fragments # Conflicts: # x-pack/plugins/canvas/public/components/asset_manager/asset_manager.component.tsx
* eui to 31.6.0 * flyout, collapsible snapshot updates * initial overlaymask removal * undo jest * overlaymask src snapshot updates * more overlaymask removals * overlaymask removal xpack test updates * saved objects modal form * eui to 31.7.0 * code, codeblock types * snapshot update * tooltip * remove ownFocus from ConfirmModal * remove fragments # Conflicts: # x-pack/plugins/canvas/public/components/asset_manager/asset_manager.component.tsx



eui@31.4.0⏩eui@31.7.0EuiOverlayMaskis now included inEuiModalandEuiConfirmModal31.7.0whiteSpaceprop toEuiCodeBlock. (#4475)EuiDataGridand removed unnecessary height on its container (#4509)Bug fixes
EuiDataGridwhere the grid lost height when showing less rows on the last page (#4509)euiPaletteForStatuscolor sequence to use higher contrast postive and negative colors. (#4508)31.6.0axe-puppeteer v1.1.1to@axe-core/puppeteer v4.1.1(#4482)EuiOverlayMaskdirectly toEuiModal(#4480)paddingSizeprop toEuiFlyout(#4448)size='l'prop toEuiTabs(#4501)pageTitle,description,tabs,rightSideItems) toEuiPageHeaderby creating a newEuiPageHeaderContentcomponent (#4451)isActiveparameter to theuseIsWithinBreakpointshook (#4451)buttonPropsprop toEuiAccordion(#4510)Bug fixes
onCloseinvoking with unexpected parameter inEuiFlyout(#4505)EuiBadgecolor prop (#4481)EuiCodeBlockfocus-state if content overflows #4463EuiDataGridaround unnecessary scroll bars and container heights not updating (#4468)Theme: Amsterdam
EuiPage's defaultrestrictWidthsize to1200px(extra large breakpoint) (#4451)euiBottomShadowSmallby one layer (#4451)31.5.0isLoadingprop and addedEuiOverlayMaskdirectly toEuiConfirmModal(#4421)wrapWithTableRowto remove<tr>inEuiTableHeader(#4465)Bug fixes
idusage throughoutEuiTreeViewto respect custom ids and stop conflicts in generated ids (#4435)EuiTabsroleif no tabs are passed in (#4435)EuiDataGridwhere the horizontal scrollbar was hidden behind pagination (#4477)EuiPopoverwith initialisOpenworking withEuiOutsideClickDetector(#4461)EuiDataGridCellPopoverneeding 2 state updates to close (#4461)EuiBadgewithiconOnClickfrom catching form submit events (#4479)