[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GMG-Devel] Regarding bug #868 : don't reload media page, use more a
From: |
Matt Molyneaux |
Subject: |
Re: [GMG-Devel] Regarding bug #868 : don't reload media page, use more ajax |
Date: |
Sat, 21 Jan 2017 11:56:09 +0000 |
On Sat, 2017-01-21 at 10:52 +0530, Vijeth T Aradhya wrote:
*snip*
>
> 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
before.
signature.asc
Description: This is a digitally signed message part