camicroscope / caMicroscope

Digital pathology image viewer with support for human/machine generated annotations and markups.
BSD 3-Clause "New" or "Revised" License
255 stars 295 forks source link

[Accessibility] [UX] Slide Viewer Page - Annotation Name Suggestion #1002

Closed nwanduka closed 3 months ago

nwanduka commented 4 months ago

Describe the bug When creating an annotation on the Slide Viewer page without giving it a name, the error message indicates that the field must have a value but does not offer a suggestion on the expected format of the value.

To Reproduce Steps to reproduce the behavior:

  1. Open a slide.
  2. Select the draw tool
  3. Leave the identity name field empty and save.
  4. See error

Expected behavior An error message should appear with a suggestion indicating the expected form of the value (e.g., "Please provide a name for the annotation. The name should be descriptive and unique.")

Screenshots image