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

Samples groups from sample groups #71

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open

Samples groups from sample groups #71

wants to merge 29 commits into from

Conversation

mokolodi1
Copy link
Member

@mokolodi1 mokolodi1 commented Jan 8, 2017

This allows the creation of sample groups using other sample groups as a source. This also includes minor UI redesigns for the sample group creation page.

This PR is dependent on changes introduced by #59 and actually forks off that branch, so that PR should be merged before this one is reviewed.

See here for a discussion of the schema changes introduced by this change. Essentially, the data_sets field in a sample group now just lists where the samples are from, while the filtered_sample_sources lists how the samples were added to the sample group.

The sample_groups_from_sample_groups.js migration must be run before this code goes live.

This fix:
- moves the button from being inline with the list description text to down near the samples list
- shows a button even when there are a small number of samples so the user can still show/hide the study labels
- saves the hide/show study labels variable per user so they only have to show/hide them once per the user's preferences
- add sample/feature_labels to SG schema
- populate those attributes in the creation method
The tricky is that Semantic UI is really bad at handling stickies when the sticky is taller than the containing element. The solution is to destroy the sticky when it's taller than the containing element.
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