Removed mapping between sampleID/taskID and server side nodeID
Created by: marcus-oscarsson
Hello all,
Here is the first commit from the split of #318. Removing the mapping between sampleIDs, taskID's and server side nodeID's. Simply using the sampleIDs for samples and the position in the queue for tasks. Keeping the per action based (ADD, CHANGE, REMOVE) queue API intact.
Except for MOUNT_SAMPLE which I changed to operate on sampleID instead of nodeID. Since we want to mount a sample based on its own ID and not the queueID. The sample might not even be in the queue when we want to mount it.
Also moved collapsed and checked data to task and sample data items, collapsed and label of each item might be moved to another state variable called i.e displayData (as discussed previously). However checked should be included on each task or sample since its a functional part of the queue.
Cheers, Marcus