sequencescape
sequencescape copied to clipboard
DPL-500 View and edit retention instructions on a labware
User story N.B. If the 'Retention instructions' are stored in the custom metadata table, this functionality could be achieved using Limber, as functionality has been recently developed to allow viewing and editing of custom metadata. You would need to add configuration to Limber to show the new field against the relevant plate purposes. Custom metadata can also already be viewed (but not edited) on the labware page in Sequencescape.
As a Sample Management user, I want to be able to view and edit the 'Retention instructions' on a labware, so that I can manually enter this information against the stock plates made from extraction tubes (we only get 2 or 3 of these every couple of months, so the manual work is not too much).
Who are the primary contacts for this story Danni W, Siobhan A-G, Katy
Who is the nominated tester for UAT Danni W, Siobhan A-G
Acceptance criteria To be considered successful the solution must allow:
- [ ] I can view the 'Retention instructions' for a particular labware
- [ ] I can update the 'Retention instructions' for a particular labware
Dependencies This story is blocked by the following dependencies: https://github.com/sanger/sequencescape/issues/3673
References This story has a non-blocking relationship with: https://github.com/sanger/sequencescape/issues/3675
Need to review the occurrence of a request to update the value. Also, need to validate the correct values to be shown to the user and identify if the change can be made in bulk v/s per plate. As the policy is new, the assumption is that the SSRs may have to manually re-upload the manifest for each plate/tube.
Refinement 21/11/23:
- Limit Edit access to Admin roles in SS
- May need a separate story for identifying how the retention data is stored
- Record who and when made the change and is viewable in the plate event section
- Changes to apply at the stock plate level
- Changes to be verified for samples in tubes as well
This was implemented in https://github.com/sanger/sequencescape/issues/3673 using custom metadata.
In order to satisfy the requirement "Limit Edit access to Admin roles in SS", we might need to change where the data is stored - because custom metadata is a key-value pair store, and we wouldn't want to limit edit access to ALL custom metadata, just retention instructions.
09Jan2024 - Team Discussion
- Research on how and where metadata is stored from point of view admin access to editing. (New story)
- Limit Edit access to Admin roles should be implemented across SS and Limber
@dasunpubudumal think this could do with updating, following our recent decisions.
- remove the italic text from the top
- actually you've added the 'view' functionality to https://github.com/sanger/sequencescape/issues/4093 already - so this could just be about the 'edit' functionality
- add the UX idea for it to be a separate page accessed via a link on the RHS of the page?
@KatyTaylor I updated the description :)
A note about existing labware that has retention instructions stored in custom_metadata
-
In perspective of the Asset Summary: When displaying the asset summary (see the screenshot below), the sequence of procedures is as follows:
- Check if
labware.retention_instruction
is populated. If it is, display its value. - If not, check if there's a corresponding retention instruction in
custom_metadata
. If there is, it will display its value. - Else, the value will be displayed as "Not Set".
- Check if
-
In perspective of the "Edit Retention Instruction" page: When displaying the update page (see the screenshot below), the user is able to select any retention instruction, as in the asset summary. The initial value in the dropdown (i.e.,
select
) is set to be the value inlabware.retention_instruction
. Iflabware.retention_instruction
is not populated, it will check for thecustom_metadata
table and set the corresponding retention instruction.