Hypertopic / LaSuli

Social annotation for qualitative analysis
https://hypertopic.org/lasuli
GNU General Public License v3.0
12 stars 4 forks source link

Active viewpoint should not be closed when the annotated page is reloaded #81

Open benel opened 5 years ago

benel commented 5 years ago

This fix seems to be necessary when annotating Cassandre v3 pages, since they are automatically reloaded.

@christophe-lejeune Are Cassandre pages reloaded on a timer or only on update (#76)?

benel commented 5 years ago

I cannot reproduce this problematic behavior... I only saw it that on Valentin's desktop. Any idea why?

benel commented 5 years ago

Or maybe I was just unlucky and there were people editing a memo at the very same time?

christophe-lejeune commented 5 years ago

Cassandre is intended to refresh the page in two different situations :

In practice, I have been experienced reloads even in my personal diaries (whose I am the only allowed contributor). Other users confirm to have observed this behavior. This means that Cassandre sometimes refreshes the page even when none of the conditions above are encountered. I suspect the way events are filtered is not restrictive enough... but I have not investigated further. Such reloads remain reasonable, so that no user complain about them.

Of course, this code could evolve in a way facilitating interactions with LaSuli.