Files
FreshRSS/app/Models
Prashant Tholia 6f23999c7b Remember open categories (#3185)
* feature(normal) - Remember opened categories in the left menu

Session storage based implementation to remember opened categories in left menu

Issue Ref: #2248

* lib_phpQuery updates

* Updates covering feedback points and functionality fixes

* Feedback updates

* Revert "lib_phpQuery updates"

This reverts commit dcd23b9418.

* First review

Change variable name to "remember" instead of "open".
Start using localStorage instead of sessionStorage.
Simplify code.

* Simplify remember categories init function

Replace 'session' with 'local' in function names and comment

Set open categories CSS as same as when category is opened in 'active' unfold mode

* Remove URLSearchParams check in remember categories init function

* Delete open categories on login and logout

* JSHint check fix

* Second review

* Make new mode the default for new users
* Always open active category
* Reduce / simplify code

* i18n French

* Revert default value

Wait a bit more for this decision / change

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2020-11-02 12:03:16 +01:00
..
2020-10-06 23:19:45 +02:00
2020-11-02 12:03:16 +01:00
2020-06-13 21:19:19 +02:00
2019-10-23 00:52:15 +02:00
2019-03-23 22:52:47 +01:00
2014-10-05 18:51:08 +02:00
2020-04-17 10:57:35 +02:00
2015-03-05 13:29:41 +01:00
2019-10-23 00:52:15 +02:00
2020-07-23 11:31:38 +02:00
2018-09-29 20:47:17 +02:00
2020-06-05 10:09:31 +02:00
2019-11-04 17:45:15 +01:00
2020-09-02 08:55:43 +02:00