Managing Editor and Handling editors can chat with the question's Author to resolve any queries
Context
The V1 production release has an authoring and editorial workflow, but authors and editors cannot chat within the application. This chat feature will also be used in other contexts within the application. See the linked issues below
Proposal
Provide a chat functionality on the question level so that the author of the question and the editors who are assessing the question can communicate to resolve any queries that may come up.
Design
On the question page, there is an additional tab for chat. See frontend work-in-progress in storybook here:https://hhmi-storybook.coko.foundation/?path=/story/chat-chat-thread--base
Requirements
- The chat tab is accessible to: the author of the questions, the handling editor assigned, managing editors, admins
- Users can @mention each other by username
- @mention sends an email notification to the user
- Messages include date/time information.
- Users should be able to upload files in a message, formats:
- Word
- jpeg
- png
Discover workflow
- Log in as a Handling Editor (HE) or Managing Editor (ME).
- On the Editor dashboard, locate the item to begin a chat.
- Select an item to address.
- Select the "Author Chat" option.
- In the chat bar, begin the conversation with the author. (Attach any necessary files)
- Click "Send" to begin and continue the chat with the author
Implementation (if applicable)
- Send email package provided in Coko Server (see docs here)
- Component should be moved to Coko Client after development
Alternative approaches (if applicable)
Scheduling
(see linked milestone)