You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A single annotation form structure is currently hard-coded into the viewer. Generalize this such that any annotation template structure can be specified (i.e. make it possible to specify any set of field names, types, and value options).
The current implementation is:
User completes annotation form input and clicks Create
Client (JS) code reads the values into a class instance which represents the annotation on the client side
Client code submits the data object as json to the backend server.
Server stored the annotation in the database such that the label (form field values) is stored as json in a single database column, and other things like file, series, and start & stop times are represented as columns in the database.
And also, there is obviousy the corresponding requisite functionality for annotation retrieval, rendering, and updating.
Because the backend treats the label (all form data) as a single json string and has no specific functionality (to my recollection) for what is inside the label (the form structure), it is only the client-side javascript code which needs to be generalized.
The text was updated successfully, but these errors were encountered:
A single annotation form structure is currently hard-coded into the viewer. Generalize this such that any annotation template structure can be specified (i.e. make it possible to specify any set of field names, types, and value options).
The current implementation is:
And also, there is obviousy the corresponding requisite functionality for annotation retrieval, rendering, and updating.
Because the backend treats the label (all form data) as a single json string and has no specific functionality (to my recollection) for what is inside the label (the form structure), it is only the client-side javascript code which needs to be generalized.
The text was updated successfully, but these errors were encountered: