Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

fix(tablevis): Set proper width for each column #189

Merged
merged 3 commits into from
Sep 4, 2019

Conversation

conglei
Copy link
Contributor

@conglei conglei commented Sep 4, 2019

💔 Breaking Changes

🏆 Enhancements

📜 Documentation

🐛 Bug Fix
This PR is to fix the issue of the readability of table vis when there are too many columns in the table.

image

Before rendering the table, we will estimate the width for each column according to the max string length (max width is set to be 500px).

🏠 Internal

@conglei conglei requested a review from a team as a code owner September 4, 2019 17:53
@codecov
Copy link

codecov bot commented Sep 4, 2019

Codecov Report

Merging #189 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #189   +/-   ##
=======================================
  Coverage   34.25%   34.25%           
=======================================
  Files          12       12           
  Lines         216      216           
  Branches       21       21           
=======================================
  Hits           74       74           
  Misses        132      132           
  Partials       10       10

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0916c62...6ea8272. Read the comment docs.

@netlify
Copy link

netlify bot commented Sep 4, 2019

Deploy preview for superset-ui-plugins ready!

Built with commit 6ea8272

https://deploy-preview-189--superset-ui-plugins.netlify.com

@conglei conglei merged commit 4cab838 into master Sep 4, 2019
@delete-merged-branch delete-merged-branch bot deleted the conglei-table-vis-fix branch September 4, 2019 23:00
nytai pushed a commit to preset-io/superset-ui-plugins that referenced this pull request Apr 27, 2020
* fix(tablevis): set the width for each column

n

* fix(fix comments): fix comments from pr

* fix(revert to charwidth): revert to charwidth
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants