[GMG-Devel] Regarding bug #868 : don't reload media page, use more ajax

Matt Molyneaux moggers87 at googlemail.com
Sat Jan 21 06:56:09 EST 2017

On Sat, 2017-01-21 at 10:52 +0530, Vijeth T Aradhya wrote:
> 1. Design : I have removed the usage of messages views.py which was
> used to post error or success message regarding the comment posted
> after the page reloaded.
>    Reason : Since, this is an AJAX call, we don't really have to post
> messages after the page reloads, but rather post it just after it
> gets the response. I have added the same error/success messages which
> appear after the AJAX call is made, and fade out after 1 second
> (position is fixed at the top so the user can see it). I thought this
> was a good way of handling them :) Any suggestions would be great.

I think we should allow graceful degradation for users who disable JS -
i.e. if JS isn't enabled then the comment form should work as it did
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mediagoblin.org/pipermail/devel/attachments/20170121/c142941d/attachment.sig>

More information about the devel mailing list