[Production page] Add comments tool group in Wax
Description; we need to provide admins and the editorial team with the ability to provide inline manuscript feedback using the Wax comments tool group in the Manuscript Text and Production pages. This feedback would be read by admins, editors and the author in the Manuscript text & Production page views.
UI considerations;
- layout for the Production page view will be handled in this task; #616 (closed)
- layout for the Manuscript text tab view will be handled in this task; #632 (closed)
Developer documentation;
- See
comments
tool groups and services; https://waxjs.net/docs/wax/#available-editor-properties--toolgroups-and-services - Page layout; https://waxjs.net/docs/building_an_editor/#providing-a-layout
- Wax demo site; http://wax-demo.coko.foundation/
Acceptance criteria;
-
Admins and Editors can add comments in Wax editor. -
Authors can reply to comments in Wax editor. -
Only Admins and Editors can resolve comments in Wax editor. -
Comments can be posted in Wax in the Manuscripts text view. -
Comments can be posted in Wax in the Production page view. -
Styling; text underline colour to identify comments; rgb (255, 215, 0)