modx-ccc-2015 / whishlist

The overall repository with MODX issues to tackle together at the MODX CCC 2015. This place is ment to be as a big pond of possibilies.
0 stars 0 forks source link

Save manager tree state per window/tab #2

Open wuuti opened 9 years ago

wuuti commented 9 years ago

When working with multiple browser tabs in the manager, the resource and elements tree magically opens und closes items. The state seems to be saved per session, thus preventing you from having different "perspectives" to work with.

rtripault commented 9 years ago

This could be an interesting feature.

While digging (i've been thinking in doing a "provider" making use of localStorage instead of ajax calls -- so it would be faster to store), i found that HTML5 SessionStorage seems be the only solution to store "per tab".

For the record, currently states are not stored per session, but per user (see code), so each new tab overrides the previous one.

wuuti commented 9 years ago

Well, per user is even worse: that means cross-browser? So it does not help to have different browsers open...

gpsietzema commented 9 years ago

Local storage (per browser tab) would really be helpful here. Not sure if you can save it per tab though.