lento / spam

Spark Project & Asset Manager
GNU General Public License v3.0
7 stars 2 forks source link

"project" sidebar doesn't remeber its state #16

Closed lento closed 14 years ago

lento commented 14 years ago

the project tree in the sidebar should be persistent, and remeber opened/closed state for nodes using cookies

see: http://www.jstree.com/documentation

MrPetru commented 14 years ago

Based on the link above and on advice of the "slow", I made a working version. Comments:

see: http://github.com/MrPetru/spam/commit/b3ae8181973e991f19e89338074d44b6e30c7534

MrPetru commented 14 years ago

see the issue http://github.com/lento/spam/issues#issue/34

lento commented 14 years ago

add a prefix to cookie names to keep them tidy. Closed by 15cccc275e370fd5f542d7470a02acfdf24dc749

adding a "spam_" prefix to all cookies makes them easier to spot in the cookie list, and helps avoiding conflicts if we want to use the same name in another app.

MrPetru commented 14 years ago

in spam can be another cookies? I think ... my I use this prefix "spamsbpt" sbpt - means "Side Bar Project Tree"