-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview most recent message or reply in source view #135
Comments
For anyone wanting to work on this issue, the code removed in abdbf41 may give some useful pointers how to update the source list. |
Will take a look. |
Note: Once we add the preview snippets, the width available for preview snippets should scale up or down if you resize the client window, but the space to the left and to the right in the source list should not scale up along with it, but be fixed. |
Commenting to update preview message text from: I don't know if there'd be a lot of logic involved in pluralizing, but per the rough rule for grouping files in the File Pane (if a Source submits more than 1 document in a 12 hour period, it is visually shown as a group—vs as individual stand-alone files) it'd also be great to have the pluralized message display if more than 1 document is received in a 12 hour period: bump, @creviera :) Also, per the OG comment: This should only display if the Source has never sent a message, and/or the Newsroom has never sent a response. If a Source sends just a message, in a thread, then the most recent message should go in the preview. |
FYI, I started work on this this afternoon. Please move to "in development". Thanks. |
The "reply not yet available" message will disappear upon each refresh (it's just on first start the messages have not been made available yet). |
Fix TOTP retry logic, improve cassette handling; document
Below the source designation, the source list should show a preview (text abbreviated with "..." if necessary) of the most recent message or reply, as shown in this grayscale wireframe:
If the most recent interaction is a message from the source, it should show an excerpt of that message; if the most recent interaction is a reply from the journalist, it should an excerpt of the reply.
If the most recent interaction is a file upload, we should show the most recent message or reply.
If there has never been any message or reply but only a file, we can show "—submitted a file, no message—".
The text was updated successfully, but these errors were encountered: