Skip to content
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

feat: add table viewer based in ipyvuetify #129

Merged
merged 2 commits into from
Oct 29, 2019

Conversation

maartenbreddels
Copy link
Collaborator

Although ipysheet was discussed as a table viewer, I don't think it is the proper widget to do this. It does not enforce a common datatype per column, since it models a spreadsheet, not columnar data. Also, it will be limited in the amount of data it can handle (e.g. don't expect to view the Gaia dataset with it).

Experimenting with vuetify's data table, I've been able to put together a table viewer that will do kernel side pagination, is consistent with the ipyvuetify look, and more easy to customize to our needs.

Note that when we move to vuetify 2.0+, the data table also has a dense layout

Example usage (rebased on the vuetify layout branch #115)
table

Example using ~1 billion rows (Gaia data):
image

@astrofrog
Copy link
Member

@maartenbreddels - can you rebase now that #115 is merged? (I think it will fix the CI issues)

@maartenbreddels
Copy link
Collaborator Author

failures now are due to ipyvuetify 1.0, which models vuetify 2. I think we should fix that first in master and rebase again.

@maartenbreddels
Copy link
Collaborator Author

It is rebased on #132 so now we have a dense table:
image

TODO: merge #132 and rebase/squash this.

@codecov
Copy link

codecov bot commented Sep 24, 2019

Codecov Report

Merging #129 into master will increase coverage by <.01%.
The diff coverage is 92.35%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #129      +/-   ##
==========================================
+ Coverage    92.2%   92.21%   +<.01%     
==========================================
  Files          80       83       +3     
  Lines        3234     3404     +170     
==========================================
+ Hits         2982     3139     +157     
- Misses        252      265      +13
Impacted Files Coverage Δ
glue_jupyter/table/tests/test_table.py 100% <100%> (ø)
glue_jupyter/table/__init__.py 100% <100%> (ø)
glue_jupyter/table/viewer.py 91.54% <91.54%> (ø)
glue_jupyter/app.py 88.57% <92.3%> (+0.29%) ⬆️

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 7d2b8b1...9109735. Read the comment docs.

@astrofrog
Copy link
Member

@maartenbreddels - can you rebase now that #132 is merged?

Copy link
Member

@astrofrog astrofrog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants