Automatically update edited comments on an open tab
Dev: https://dev.gitlab.org/gitlab/gitlabhq/issues/1201
GitLab's Javascript code that updates pages with new comments only adds new comments. Edits to existing comments are only applied when the page is reloaded.
Sytse
Add an
else
to replace any updated comments send back from the server.
Jacob
Here is the method that renders new comments, https://gitlab.com/gitlab-org/gitlab-ce/blob/7ec5ff4dbae71d147f413da5cea64116e7eb305d/app/assets/javascripts/notes.js.coffee#L97
Sytse
I think this is a bug that we should fix, as a user I don't expect partial updates of a page.