'Threaded discussion' form field type
Description; the purpose of this task is to create a new form field type that supports reviewer-author and editor-author feedback loops as threaded discussions in a Review/Decision form.
User stories;
- As a reviewer, I need to be able to complete and submit feedback for each Review form field.
- As a reviewer, I can view author responses.
- As an author, I need to be able to reply to each reviewer's comment.
- As an Author, I can view Review reports.
- As an author, I need to be able to reply to a Review report feedback.
- As an editor, I can share Review reports.
- As an editor, I can respond to author responses to Review report feedback.
The solution; to create a 'Threaded discussion' form field type that can be added to a Review/Decision Form by an Admin.
Field Properties; (based on the AuthorInput
as a field archetype)
- Field type;
ThreadedDiscussion
- Field title
- Name (internal field name)
- Field placeholder
- Field description
- Short title (optional — used in concise listings)
- Validation options
- Include in reviewers' preview
- Hide from author
Form field UI; see Storybook
Acceptance criteria;
-
Admin should be able to click on 'add field' in the Review/Decision form and select 'ThreadedDiscussion' from the field type dropdown menu. -
Editors are able to submit a comment from the Control panel>Workflow>Decision section, and Reviewers submit a comment from the Review page. -
An editors/reviewers/authors can submit formatted text using the Basic Wax editor
. -
Decision form and subsequent editor feedback and/or author responses are saved against the manuscript version ID. -
On 'Submit' thread opens to the author for nested comments to be added. The author can view Reviewer/Editor comment (read-only) and respond in a textbox nested below the initial comment. An author/reviewer can only post a single reply. -
Editors, authors and/or reviewers should have the ability to expand/collapse comments. The last comment posted should be expanded when the page is loaded.
Reviewers view; of a Review page with one other anonymous shared review already submitted
Authors view; an Editor has shared a Review report and the Author can submit a response in the textbox provided