plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Clicking Publish on research note comments gives no feedback

Open Fastie opened this issue 10 years ago • 7 comments

Clicking publish on a comment to a research note publishes the comment (or edits) but gives no indication that anything happened. Chrome in windows

Fastie avatar Mar 13 '16 03:03 Fastie

Do you mean like a notice or green indicator or alert that says "your comment was published"?

Is this helpful because you almost don't notice when the comment is added? What about if we used a "blind open" animation to add the comment? On Mar 12, 2016 10:18 PM, "Fastie" [email protected] wrote:

Clicking publish on a comment to a research note publishes the comment (or edits) but gives no indication that anything happened. Chrome in windows

— Reply to this email directly or view it on GitHub https://github.com/publiclab/plots2/issues/414.

jywarren avatar Mar 13 '16 15:03 jywarren

I just posted a comment on a note and the display immediately showed the published note and an empty comment box for a new comment. But when I was editing an existing comment and clicked publish, nothing happened. My editing window persisted with my edits in it, and there was no display of my newly edited comment. When I opened a new tab and navigated to the note, my newly edited comment was published.

Fastie avatar Mar 13 '16 15:03 Fastie

I see, thanks, I think I understand now. On Mar 13, 2016 11:39 AM, "Fastie" [email protected] wrote:

I just posted a comment on a note and the display immediately showed the published note and an empty comment box for a new comment. But when I was editing an existing comment and clicked publish, nothing happened. My editing window persisted with my edits in it, and there was no display of my newly edited comment. When I opened a new tab and navigated to the note, my newly edited comment was published.

— Reply to this email directly or view it on GitHub https://github.com/publiclab/plots2/issues/414#issuecomment-195980173.

jywarren avatar Mar 13 '16 15:03 jywarren

Yes without refreshing the page for 3 rd comment creation it creates 4 comments from the same comment. and for the 4th try it gives 8 comments. issue #413 is also occurred due to the same reason.

ujithaperera avatar Mar 16 '16 10:03 ujithaperera

according to my observation there are unmanaged form creations in notes#comment.html.erb with ajax calls

ujithaperera avatar Mar 16 '16 10:03 ujithaperera

Here it's important to distinguish between an error that happens while editing a comment (we'll call it an AJAX comment) that was just posted -- as it was created/inserted with AJAX -- and an error while editing a comment that was there on initial pageload (we'll call that a _non-AJAX comment). Let's be sure both work.

jywarren avatar Mar 16 '16 19:03 jywarren

This should be fixed; can you confirm and re-open if it is not? Thanks, esp. to @ujithaperera!

jywarren avatar Mar 21 '16 18:03 jywarren