ls1intum / Artemis

Artemis - Interactive Learning with Automated Feedback
https://docs.artemis.cit.tum.de
MIT License
506 stars 293 forks source link

Team text editor sync #8500

Open staalexa opened 6 months ago

staalexa commented 6 months ago

Describe the bug

While working on a team task, the shared text editor does not sync the inputs properly if multiple people type at the same time. The words are typed, then disappear and reappear at some random position in the textbox.

To Reproduce

  1. Go to any Team task with text exercise
  2. Click on "open text editor"
  3. Write in the field with multiple people at the same time
  4. See bug

Expected behavior

We expect it to sync properly like any collaboration tool. If it doesn't work, disable the input for the other users while one is typing.

Screenshots

No response

Which version of Artemis are you seeing the problem on?

7.0.2

What browsers are you seeing the problem on?

Chrome, Safari, Microsoft Edge, Firefox

Additional context

No response

Relevant log output

No response

krusche commented 6 months ago

Please keep in mind that Artemis does not support real time collaboration. We just make sure that changes are synced quickly when one person works at the text at the same time.

Of course it would be nice to have real time collaboration support, but this is challenging to implement

staalexa commented 6 months ago

Thank you for your response. It would still be nice, if the UI suggests that it is not made for live collaboration. Maybe disable text input, while one user is typing? Of course this is more of a quality of life feature.