= Batches User Stories = == As a user, I want to be able to create a set of entities (samples, for example) to perform actions on == Importance: 100 Story Points: 0,5 Acceptance criteria: * As a programmer I want to put any instance of Identifiable into a bundle (batch) that I can store for later use. * I can bundle markers and probes of interest into one set so I can use that for analysis later. * I, Jessica, can put 5 samples from two different projects into a batch. Tasks: * Add Batch tables to datamodel (0,5 SP) == As a user, I want to perform a protocol on multiple entities (a batch) == Importance: 80 Story Points: 4,5 Acceptance criteria: * I, Jessica, can take a batch of 5 samples and execute the Experion protocol on all 5 samples. Tasks: * Make mock-up (0,5 SP) * Make Batch button, based on HtmlInput (2 SP) * Add Batch button to NGS LIMS Workflow screen and test (1 SP) * Add Batch button to AnimalDB event screen and test (1 SP) == As a user, I want to have only my batch(es) available to me on all relevant screens, where I can see them easily == Importance: 70 Story Points: 8,5 Acceptance criteria: * I, Jessica, can click on a shopping-cart widget and immediately see what is in my current batch, and only my batch (not someone else's). Tasks: * Make mock-up, especially for multiple Batches (0,5 SP) * Make "shopping cart" button that invokes Batch list (2 SP) * Make class to support Batch list view (1 SP) * Find out how to show plugins/forms/screens/... within plugins (1 SP) * Document solution (0,5 SP) * Show Batch(es) list inside plugin (3 SP) * Store Maximum NUmber of Batches per User somewhere (0,5 SP) == As a user, I want to have a Batch Management Screen where I can easily delete, change, and add to my batch(es) at any time. == Importance: 90 Story Points: 8 Acceptance criteria: * I, Jessica, can go to the Batch Management Screen and delete my current batch of 5 samples, in order to create a new batch of 3 samples. * I, Jessica, can go to the Batch Management Screen and add another sample to my current batch of 6 samples. Tasks: * Make mock-up (1 SP) * Make basic Batch Mgmt. plugin (screen + Java class) (2 SP) * Add advanced UI features (5 SP) == As an advanced user, I want to be able to drag items to and from a visual representation ("shopping cart") of my batch, in any screen, Molgenis or custom. == Importance: 10 Story Points: 5 Acceptance criteria: Tasks: * Find and learn a technique to support this (jQuery?) (2 SP) * Implement technique (3 SP)