theoj
theoj copied to clipboard
Firebase trashes comments if two people are working at the same time.
Suggested fix to diable Firebase for now.
Can you provide steps to reproduce this?
- Two people viewing the same paper (in review state).
- Both start writing a new issue
- One saves, the other looses their (currently unsaved) annotation
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.
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.