openjournals / theoj

The Open Journal
http://theoj.org
MIT License
129 stars 10 forks source link

Firebase trashes comments if two people are working at the same time. #240

Open arfon opened 8 years ago

arfon commented 8 years ago

Suggested fix to diable Firebase for now.

marcrohloff commented 8 years ago

Can you provide steps to reproduce this?

arfon commented 8 years ago

Seems like it's probably re-drawing/loading the annotations when Firebase is triggered which is trashing the local (unsaved) annotation.

I think the simplest, easiest fix is to probably drop Firebase for now.

marcrohloff commented 8 years ago

I can drop Firebase but then we will lose the automatic updating/synchronizing of comments. I'll have to think about it. Maybe there is a way to delay the updates from Firebase. ​