sanger / labwhere

A tool for tracking uniquely barcoded labware
MIT License
3 stars 10 forks source link

Y24-157 - Soft delete of a location #797

Open seenanair opened 4 months ago

seenanair commented 4 months ago

User story As a LabWhere user, I would like to soft delete a location that may no longer be in use or is misspelled. This allows for a cleaner UI and avoids unnecessary location names dangling around.

Who are the primary contacts for this story Tristram Bellerby

Acceptance criteria To be considered successful the solution must allow:

KatyTaylor commented 4 months ago

I guess that we should also prevent users from scanning labware into or out of locations that have been soft-deleted?

TWJW-SANGER commented 4 months ago

Just on Katy's point. I can see the point of preventing or warning people scanning labware into a soft-deleted location.

I am less sure why we would prevent users scanning labware currently in a soft-deleted location out of it or into another location ?

If we did prevent them - what would we expect them to do next? What errors are we preventing?

seenanair commented 4 months ago

@TWJW-SANGER @KatyTaylor Hmm, that brings up another question: should we allow deletion of locations with labware inside them or should we prompt users to move the labware elsewhere before deletion?

KatyTaylor commented 4 months ago

And if you soft delete locations with other locations inside them, does it also soft delete the child locations?

KatyTaylor commented 4 months ago

Scanning out:

Scanning into another location:

Child locations:

seenanair commented 3 months ago

@KatyTaylor @TWJW-SANGER Updated story with your feedback.