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

Add an error message pop-up when curators try to edit metadata on empty models #205

Open
vanaukenk opened this issue Oct 7, 2022 · 0 comments
Assignees
Labels

Comments

@vanaukenk
Copy link

vanaukenk commented Oct 7, 2022

The Noctua form allows a curator to edit metadata, e.g. title, comments, and click save even if there are no individuals, i.e. the model is empty. However, the metadata doesn't actually update on the form which can be confusing for curators who might think that clicking save should update what they see.

The work here is to add an error message pop-up when curators try to edit metadata in the form before creating any annotations.

@tmushayahama - ideally the error message would pop up before curators ever make an edit and click save; that way they won't do work and then lose it.

We can paraphrase the error message that comes up in the graph editor:

"Error: The model has no individuals. Empty models cannot be saved. Please create an annotation and try again."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Top tickets in order
Development

No branches or pull requests

2 participants