Adds follower feedback in comments/replies as part of #270#271
Adds follower feedback in comments/replies as part of #270#271goodguyry wants to merge 8 commits intoAutomattic:masterfrom goodguyry:follower-feedback-270a-comments
Conversation
|
It occurred to me that some screenshots would be helpful... No one is selected to receive notification of this comment: The indicated users are selected to be notified of this comment: Notifications were turned off when this comment was created: Notifications were enabled, but no one was selected when this comment was created: The indicated users were selected to be notified when this comment was created: |
|
Wow these both look fantastic according to the screenshots! Just what I was looking for an then some. My users would definitely make less mistakes. Too bad about the "Travis CI biuld filed" part. I'll have to look up what that entails. A quick look at the patches and the main thing I noticed was that none of the strings were internationalized (gettext/i18n), do you know how to set them up to use _()? |
|
I'm glad you like them. I'll look into getting those strings set up correctly. |
|
@goodguyry would you still be interested in working on this PR? Seems like useful functionality to have. Would be great to refine this PR a bit and get the tests working again. |
|
Sure. I'll find time to get reacquainted and see what I can do. |
|
@goodguyry Awesome, let me know if you need a hand with getting reacquainted! |
|
Did a quick review and some testing. All seems to be working good still and as intended 👍 . I'm going to close out this PR shortly and open up a new one to build on top of what's been done here - just posting a couple comments below for what stuck out that will need to be done. editorial-comments.php
Will need to escape the output in the To better fit into the current templating, it would be best to rename the above function to Would probably be good to introduce a filter to disable this new functionality as well, in case it won't be useful to a site and they don't want extra unneeded DB entries. Lastly, instead of editorial-comments.jsChecking if the value is The Would be good to avoid Minor thing, but the property notifications.jsRather than initiating the function in this file, I'm thinking it would be better to keep it all together in |
|
Closing here and continuing in #452. Thanks for your contribution :) |





Indicates whether or not any users or user groups were selected to receive a notification of a new comment (the first part of #270). Feedback is given both in the comment/reply form and in the comment itself (on hover, like the reply link). The indicator in the comment persists, for transparency's sake, when/if Edit Flow Notifications are turned off.
I split #270 up into two pull requests - I believe them to be two separate features.