Closed joefutrelle closed 3 years ago
"Failure" would be if the label already exists, or is formatted wrong--this could be done during validation of the input.
Not sure what "success" should look like beyond a dismissable notification (same place as "n rois found"). I think a typical use case for adding a label is that the user wants to split a category into finer categories, so success might look like populating the "assign label" dropdown with the new label, but that should be an optional checkbox called "Use new label" or something.
For v1a it could just be a modal.
remove the "test_label" that's filled in initially in the text entry box
@MattCharron32 Assigned you as well to help determine what the feedback should look like