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

Feature/add trait columns #748

Draft
wants to merge 5 commits into
base: testing
Choose a base branch
from

Conversation

zsloan
Copy link
Contributor

@zsloan zsloan commented Nov 17, 2022

This PR adds the option to add traits from a collection as extra pseudo-"case attribute" columns on the trait page.

The user can then filter off of those columns just like off of normal case attribute columns

This is necessary to clear new column headers, but I need to change it
so that it only does it when adding new columns
Otherwise the row data is effectively deleted. This was initially done
because it appears to be the only way to add columns to an existing data
table that uses Scroller.
This also changes the way columns are added; previously a list of new
columns was passed to the table generation code, but now I just add them
to the attribute data in js_data

The main remaining feature to add is the ability to remove columns
(which I'll probably do as just the ability to remove all columns; I'm
not sure how to reasonable add the option to remove specific columns)
@zsloan zsloan self-assigned this Nov 17, 2022
@robwwilliams
Copy link
Contributor

robwwilliams commented Nov 17, 2022 via email

@zsloan
Copy link
Contributor Author

zsloan commented Nov 17, 2022 via email

@fredmanglis fredmanglis force-pushed the testing branch 2 times, most recently from 04f10df to 5474e66 Compare April 24, 2024 04:54
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.

None yet

2 participants