GNOME Bugzilla – Bug 660005
Remember "Hide completed modules" setting on page refresh
Last modified: 2015-08-10 16:28:39 UTC
Hallo damned lies devs This a just a low priority wish list bug. It would be nice if the overview pages like e.g. http://l10n.gnome.org/languages/da/gnome-3-2/ui/ could remember the "Hide completed modules" setting when you refresh the page. I guess in php you would do it by adding it as a URI option "http://l10n.gnome.org/languages/da/gnome-3-2/ui/?hide_complete=1" or something, but I have no idea of how to do it in Django or if it can even be done. Regards Kenneth
This should be implemented client-side only, for example with a library like https://github.com/carhartl/jquery-cookie
I really would like to see this bug resolved.
(In reply to comment #2) > I really would like to see this bug resolved. I'm looking forward to your patch :-)
I wouldn't mind working on this. But I'm going to need some mentoring (mostly about the structure of damned-lies and how to get my own copy running, so that I can test it), so I don't know if it will be an advantage time wise.
Kenneth, my comment was addressed to Adorilson, because I know he can do it (he already provided patches for D-L).
Claude: I know I got that. I was just saying that I wouldn't mind, but I won't do it if you think it is going to be much bother for you guys. I do have some Python/php experience, but none with website programming with python toolkits.
In fact, this feature should only require client-side programming (jquery). Adding a jquery plugin, setting the cookie when one click on the link, get the cookie on $(document).ready and acting accordingly.
Created attachment 309016 [details] [review] Remember "Hide completed modules" * refactor the javascript come to use jquery * add the module jquery.cookie.js * stores the current state in a cookie.
Review of attachment 309016 [details] [review]: Thanks, excellent patch.