Page Properties | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
User Interface Specifications:
For the samplestab, there will be three additional tabs in the right (content) panel will contain:
The user has the option to select any of the followingadditional tabs will be:
Germplasm
Dnasample
Dnarun
For germplasm, the filtering controls:
germplasm_id (range, ex: 100-210)
germplasm.name list (text area: line-separated list)
For dnasample, the filtering controls:
project.name/project_id
filtering controls from #2 above
dnasample_id (range, ex: 100-210)
dnasample.name list (text area: line-separated list)
uuid
For dnarun, the filtering controls:
filtering controls from #3 above, which includes controls from #2
dnarun_id (range, ex: 100-210)
dnarun.name list (text area: line-separated list)
experiment.name/experiment_id
dataset.name/dataset_id
A submit button to query the database
A clear button to clear the current filters and result set
A table listing the data resulting from the filters
This table will provide pagination for optimal performance
This table will provide a capability to select rows individually
And a select all button to select all rows
A delete button to delete the rows selected
For the result table: All the columns wherein an ID is displayed should have a column next to it displaying the names. Columns should be sortable.
...
Prompt the user to confirm what will be deleted (basic yes-no prompt window with a list of all the germplasm/dnasamples/dnaruns that will be deleted)
PREREQUISITE CHECK:
We only allow dnarun deletion IFF the dnaruns are not associated with any datasets
If there are dnaruns associated with datasets:Provide a window/prompt/page that displays the list of dataset references for the dnaruns, and do not allow deletion if there are references. Basically, you have to delete the datasets first.
A message that essentially displays: "dnarun 1 is being used in dataset A, B, and C. dnarun 2 is being used in dataset D and E. Please delete those datasets first."
Presentation of this message and list of datasets should be consistent with that of the Marker Module
We only allow dnasample deletion IFF the dnasamples are not associated with any dnaruns.
If there are dnaruns associated with those dnasamples:Provide a window/prompt/page that displays the list of dnarun references for the dnasamples, and do not allow deletion if there are references. Basically, you have to delete the dnaruns first.
A message that essentially displays: "dnasample 1 is associated with dnarun A, B, and C. dnasample 2 is being used on dnarun D and E. Please delete those dnaruns first."
Presentation of this message and list of datasets should be consistent with that of the Marker Module
We only allow germplasm deletion IFF the germplasms are not associated with any dnasamples.
If there are dnasamples associated with those germplasms:Provide a window/prompt/page that displays the list of dnasample references for the germplasms, and do not allow deletion if there are references. Basically, you have to delete the dnasamples first.
A message that essentially displays: "germplasm 1 is associated with dnasample A, B, and C. germplasm 2 is being used on dnasample D and E. Please delete those dnasamples first."
Presentation of this message and list of datasets should be consistent with that of the Marker Module
If the user clicks yes, the system will delete the entities provided they meet all pre-requisite checks.
If the user clicks no, the operation will simply abort.
...