opensearch-project / OpenSearch-Dashboards

📊 Open source visualization dashboards for OpenSearch.
https://opensearch.org/docs/latest/dashboards/index/
Apache License 2.0
1.7k stars 899 forks source link

[BUG][Table] Table viz renders each page then applies style #4157

Open kavilla opened 1 year ago

kavilla commented 1 year ago

Describe the bug

The table visualization will render each row as a table for a split second and then apply the style

To Reproduce Steps to reproduce the behavior:

  1. Create table visualization
  2. Split by row
  3. Select fields that would split it multiple times
  4. Notice the amount of pages go from X number of pages with only one row on the first page to 1 page with multiple rows on that page

Expected behavior Render data change and styles at the same time. Or put a spinner for the visualization itself

OpenSearch Version Please list the version of OpenSearch being used.

Dashboards Version Please list the version of OpenSearch Dashboards being used.

Plugins

Please list all plugins currently enabled.

Screenshots

If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

Additional context

Add any other context about the problem here.

kavilla commented 1 year ago

Once this is addressed we can remove the wait here: https://github.com/opensearch-project/opensearch-dashboards-functional-test/pull/692/files

or add a wait using the loading bar.

abbyhu2000 commented 1 year ago

This table rendering flakiness causes some discover tests flaky, such as /apps/data_explorer/discover.spec.js. Are we planning to fix this soon? @ananzh