Skip to content

Conversation

@sharidas
Copy link

@sharidas sharidas commented Oct 6, 2020

When user adds comments to a file, the activity
notifications were not updated. This change does
fix the issue.

Signed-off-by: Sujith Haridasan [email protected]

@sharidas sharidas self-assigned this Oct 6, 2020
@sharidas sharidas linked an issue Oct 6, 2020 that may be closed by this pull request
@sharidas
Copy link
Author

sharidas commented Oct 6, 2020

Summary

The comments added for files were missing in the activity app.

Description

The comments added for the files were working in stable19 branch but were found to be not working in stable20 branch. This change helps to fix the issue.
Note: The reason I took this approach because looking at the code, I am under the impression that its the notification we want to control from the admin setting or the user setting. So if the activity app is enabled, the activity would log the comments for the files even if the notifications are disabled for the comments in the web ui. Let me know if this look ok.

How was tested?

  • Enable activity app
  • Add a file to the Filesystem
  • Add a comment to the file
  • Navigate to the activity tab of the file, the comment is seen, just like stable19.

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is how it should be.
Currently your own comments are missing, but with your current change the comments of others would be missing.

When user adds comments to a file, the activity
notifications were not updated. This change does
fix the issue.

Signed-off-by: Sujith Haridasan <[email protected]>
@sharidas sharidas force-pushed the fix-comment-activity-event branch from 6ee8b9b to f964742 Compare October 7, 2020 07:35
@nickvergessen
Copy link
Member

/backport to stable20

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comments are not shown in activity stream anymore?

3 participants