Open revagomes opened 1 year ago
For reference:
Group, Project and Structured Analytic fields currently do not exist on the Annotation content type.
The wizard is only accessible via the 'Add annotation' button on artifacts, not via the /node/add path which the Content->Add Content->Annotation menu item uses.
As a registered user I shall be able to annotate Artifacts. Therefore a button labeled "Annotate" shall be added to the Artifacts detail page. When clicked should open a multi-step form (on the same page) for creating a new annotation linked to the artifact being annotated.
The Annotation creation form shall provide the following fields:
Step 1
Artifact [Mandatory]
---> This field shall be prefilled with the ID of the artifact being annotated
Structured Analytic (Question set) [Mandatory] ---> This field should allow creating a new Structured Analytic on-the-fly or choosing one already available from a dropdown list. The first option of the list shall be "" and once selected a new text field labeled "Structured Analytic title" shall be available allowing the creation of the new Structured Analytic so the user can proceed to step 2.
Step 2
Step 3
Title [Mandatory] ---> Text field used as the title of the Annotation being created
Annotation [Mandatory] ---> Textarea field with WYSIWYG feature for the description of the annotation
Group [Optional] ---> Reference to a Group with autocomplete functionality
Project [Optional] ---> Reference to a Project with autocomplete functionality
License [Mandatory] ---> Dropdown list with all available License types
Tags [Optional] ---> Multi-valued reference field with autocomplete functionality
Permission [Mandatory] ---> Permission by User, Group, or Role (shall provide the same behavior of artifacts' permission field)
At this last step of the multi-step form, the user shall be able to complete creating the new Annotation (linked with Artifact, Structured Analytic and the Analytic previously defined by clicking on the "Finish" button or saving the Annotation and restarting the process for creating another Annotation to the same artifact by clicking the "Save & Continue" button.