Generic dataset list groupped by sample or dataset
As discussed in #195 (comment 277609)
We need to have a datasets list component with parameters like:
instrumentName?
investigationId?
groupBy = sample
sampleList?
In the activity
page then parameters will be:
instrumentName=ID23-1
investigationId= undefined
groupBy = sample
sampleList = undefined
In the investigation/datasets page will be:
instrumentName= undefined
investigationId= 12345
groupBy = sample
sampleList = undefined
When the dataset is the result of a search by sample name:
instrumentName= undefined
investigationId= undefined
groupBy = sample
sampleList = [samples]
we can visualize everything grouped on sample but in case we need something else we can still show per dataset:
instrumentName= undefined
investigationId= 12345
groupBy = dataset
sampleList = undefined
Depending on the parameters, it will use one of:
- dataset viewer
- sample viewer
it will also be used by all investigation viewer
to show the datasets beside some technique-specific filters/features : mx summary, cryoet filter by grid/angle...