Skip to content
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

Track timestamp of last reply by journalist to a source #4683

Open
eloquence opened this issue Aug 20, 2019 · 3 comments
Open

Track timestamp of last reply by journalist to a source #4683

eloquence opened this issue Aug 20, 2019 · 3 comments
Assignees

Comments

@eloquence
Copy link
Member

eloquence commented Aug 20, 2019

In the SecureDrop Client, we'd like to be able to show a timestamp that indicates the last action in a given conversation (a journalist reply, a source message or document, etc.). This is freedomofpress/securedrop-client#538. Right now we're only tracking the last source action (last_updated field in the sources table).

We should not alter the behavior of the last_updated field, as it is used for notifications about source activity. We should instead add a separate field to track the timestamp of the most recent journalist reply.

Acceptance Criteria

Given that I am a journalist interacting with a source
When I successfully respond to the source through the SecureDrop Client or the Journalist Interface
Then the timestamp of my most recent response to the source is set or updated in the database

Given that I am developer accessing the Journalist Interface API
When I query for information about a given source using the API
Then the timestamp of the most recent journalist reply (if any) is available to me in the API response

@ninavizz
Copy link
Member

^ Might (or should?) the above be edited to reflect the caveat the When as "When my response is successfully sent to the Source"? Even though I know communications never actually leave the server...

@eloquence
Copy link
Member Author

Thanks, tweaked language slightly.

@redshiftzero redshiftzero added this to the 1.4.0 milestone Mar 26, 2020
@eloquence eloquence removed this from the 1.4.0 milestone May 20, 2020
@sssoleileraaa
Copy link
Contributor

I no longer have access to any of the old docs, so I was wondering what happened to the ux examples around showing the last activity timestamp (vs last source activity timestamp) and a per-message/reply timestamps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants