Skip to content

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.

3 participants