Create "Activity" page for admins
Story description:
5.4 As an admin or external QA I want to tag manuscripts on the dashboard so I can remind myself what I have done, or what need particular actions
5.5 As an admin or external QA I want to be able to see comments about manuscript corrections in context
5.7 As an admin or external QA I want to be able to track communications about a submission between a reviewer and a submitter
Acceptance criteria:
- Design: https://app.zeplin.io/project/5af2b810aa460e16032b841a/screen/5c45857d7d6edf38745cd9de
- Route page at /submission/EMSID/activity
- Set page authsome permission to admins only
- Create meaningful/human readable log messages (USER NAME changed E.G. MANUSCRIPT COLUMN NAME from 'OLD VALUE' to 'NEW VALUE') from audit_log table rows
Tasks
-
Create queries, resolvers for audit_log -
Use audit_log table and manuscript.meta.notes, notesType === 'userMessage' to create manuscript "Activity" page. -
Use audit_log and manuscript to create checklist table -
Add links to page in SubmissionHeader and admin DashboardList -
Use mailer (#317 (closed)) to create "new message" -
Use mailer (#317 (closed)) to create reply -
Add admin comment