Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confirmation before posting weight values that'll generate an email #614

Open
kevin-j-miller opened this issue Dec 4, 2019 · 0 comments
Assignees
Labels

Comments

@kevin-j-miller
Copy link

Currently, if Alyx receives a weight entry for a mouse that is below 80%, it sends a warning email to the experimenter and to Charu. This is very often a false alarm, either because of a typo or because the user has weighed the wrong mouse.

The feature request is for a pop-up box to appear in these cases, asking the user to confirm the weight they're about to post. Specifically, if in AlyxPanel I select a mouse and click "Manual Weighing" then enter a weight that's too low and press "ok", a box should appear saying something like "You have entered $weight for $mousename. Please confirm that this is the correct weight for this mouse" with an "confirm" button that posts the weight and a "cancel" button that takes me back to enter a new weight.

It might also be useful to ask for confirmation in other cases that're likely to be errors, like if the weight of the mouse is outside some band around the recent average weight, or if the mouse has already been weighed that day.

@rossant rossant self-assigned this Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants