Update edited and deleted issuable comments in real-time
Summary
When browsing an issue, new comments posted by others (or from on another tab) are shown without having to refresh the page. Edited or removed comments aren't shown until we refresh the page.
Steps to reproduce
- Open an existing issue in browser tab 1
- Create a comment (let's name it "1") and refresh the page
- Open the same issue in browser tab 2
- Create a new comment ("2"), and go back to tab 1. Comment "2" is shown, perfect!
- Go back to tab 2 and edit comment "2"
- Switch to tab 1: comment "2" content hasn't been updated.
- Switch back to tab 2 and delete comment "2"
- Back to tab 1: comment "2" is still there
Expected behavior
Live-updates for comments should reflect all comments changes events ("new", "update" and "delete"), not just "new".
Actual behavior
Live-updates for comments only works for "new" event
Note: I'm using gitlab.com.
Edited by Mark Fletcher