Skip to content

Store reorganization

Created by: marcus-oscarsson

Dear all,

So here is the re-organization of the store that I described in issue #305 (closed). I have not yet moved motors from sampleView to beamline.

The list of samples (sampleList) and manulMount have been moved from SamplesGrid to queue. The data structure of the queue was partially changed by a previous merge of a incomplete PR. This broke the queue related features as Fredrik noticed, we are sorry for this glitch. The queue data structure have been fixed and should now be working fine.

I have tested as much as I can here, adding samples and tasks. Moving the Tasks around, editing and removing them. These changes are reflected both in the SampleView and in the SampleGrid so everything seems to work fine.

However, testing with the latest master is impossible because the centering and adding tasks does not work properly. See issue #309 (closed) for more details.

I would have liked to move the motors and clean up the queue reducer a bit before doing this PR. But I would like to sort out the issues in #309 (closed) before so that I can be certain that what I did works with the latest master. So Ill mark this as WIP.

Cheers, Marcus

Merge request reports