theoj icon indicating copy to clipboard operation
theoj copied to clipboard

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

Open arfon opened this issue 10 years ago • 3 comments

Suggested fix to diable Firebase for now.

arfon avatar Aug 07 '15 16:08 arfon

Can you provide steps to reproduce this?

marcrohloff avatar Aug 07 '15 16:08 marcrohloff

  • 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.

arfon avatar Aug 07 '15 18:08 arfon

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. ​

marcrohloff avatar Aug 07 '15 18:08 marcrohloff