-
Notifications
You must be signed in to change notification settings - Fork 12
User notifications (email) #2
Comments
If we want to allow for both authors and readers to solicit feedback (which I'm okay with) I think that we should somehow differentiate that. If I am a user I want to know if the authors have explicitly asked for feedback and I'm going to value that request more than if another community member has asked for feedback. Another thought I had is that it would be useful for a user to ping another user they know would know something about the preprint and provide good feedback on let's say, stats. That could be a separate way for a user to call for action on a preprint, by sending an invitation to another user to review that preprint? |
I really like the distinction made by @dasaderi here:
However this requires significantly more data that we currently have (knowing when a user is actually author of a preprint). @dasaderi maybe you can create another issue for that so it can be tackled later once more work is done to have a good understanding of who are the preprint authors? While not as good as the more nuanced feature, I think that issuing notifications when a review is added to a preprint for which a user had requested feedback (via a request for reviews) is a good (and robust - in the sense that it doesn't depends on the difficult task to link rapid users to preprint authors) starting point. |
const updateContactPointAction = {
'@type': 'UpdateContactPointAction',
agent: 'user:userId',
object: 'contact:userId',
payload: {
contactType: 'notifications',
active: true,
email: 'mailto:me@example.com'
},
result: {
'@id': 'user:userId',
contactPoint: {
'@type': 'ContactPoint',
contactType: 'notifications',
active: true,
email: 'mailto:me@example.com',
token: {
'@type': 'ContactPointVerificationToken',
value: 'XXXX'
}
}
}
};
const verifyContactPointAction = {
'@type': 'VerifyContactPointAction',
agent: 'user:userId',
object: 'contact:userId',
token: {
'@type': 'ContactPointVerificationToken',
value: 'XXXX'
},
result: {
'@id': 'user:userId',
contactPoint: {
'@type': 'ContactPoint',
contactType: 'notifications',
active: true,
email: 'mailto:me@example.com',
dateVerified: new Date().toISOString()
}
}
}; |
Updated per discussion with @dasaderi and @SamanthaHindle on slack
User notifications (via email)
Implementation
Backend
Frontend
The text was updated successfully, but these errors were encountered: