-
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
moved vis table to use EUI #30610
moved vis table to use EUI #30610
Conversation
Pinging @elastic/kibana-app |
💔 Build Failed |
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.
Thanks for taking this on @lizozom! I just had a couple suggestions/found some errors.
When I click on a vis item, it takes me back to the home page. It looks like the all the link href's are: href="##/visualize/edit/undefined"
.
src/legacy/core_plugins/kibana/public/visualize/listing/visualize_listing_table.js
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/kibana/public/visualize/listing/visualize_listing_table.js
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/kibana/public/visualize/listing/visualize_listing_table.js
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/kibana/public/visualize/listing/visualize_listing_table.js
Outdated
Show resolved
Hide resolved
💔 Build Failed |
retest |
retest |
💔 Build Failed |
@cchaos please review The new Visualize UI: Old Visualize UI: Dashboards after refactoring (unchanged, except for pencil icon for edit and + icon for create): Dashboards before: |
retest |
💔 Build Failed |
Looking good! I would shrink the action column's width to give more space to the name and description columns on both tables. Also, if you remove the span that surrounds the flask icon and the link, they'll be children of a flex-box allowing them to stay side by side and not have the link shift to it's own line like so: |
The more I look at it, the less I think the "Experimental" identifier (flask) should be coupled with the visualization name. It can cause misunderstanding that the flask is actually part of the name and really, it should indicate that the chart type is experimental. Looking at the chart selector, we've moved away from using the flask and use the EuiBetaBadge with an "E" to indicate experimental. Let's do the same for the chart listing table and move the experimental indicator to the type column and use the EuiBetaBadge the same way to the right: Side note: That Experimental explanation needs some work. @gchaps Any suggestions? |
Here is a suggestion. The language is a condensed version of the text that we use for the experimental tag in the documentation: This visualization might be changed or removed in a future release and is not subject to the support SLA. |
💔 Build Failed |
💔 Build Failed |
retest flaky |
retest |
💔 Build Failed |
retest |
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.
Fantastic! Looks great, thank you. Sorry for all the extra work.
Just had one comment about pixel values in SASS but other than that, LGTM!
src/legacy/core_plugins/kibana/public/visualize/listing/_listing.scss
Outdated
Show resolved
Hide resolved
💚 Build Succeeded |
* Create base class for table list view, using EuiInMemoryTable. * Reimplemented dashboards and visualization listing views using table list view component. * Added tests for visualizations page * Updated experimental visualization badge and tooltip
💚 Build Succeeded |
* Create base class for table list view, using EuiInMemoryTable. * Reimplemented dashboards and visualization listing views using table list view component. * Added tests for visualizations page * Updated experimental visualization badge and tooltip
Pinging @elastic/eui-design (EUI) |
Rewrite a common list table components using EUI and use it for Visualizations and Dashboards apps.