raimohanska / ourboard

An online whiteboard
Other
745 stars 58 forks source link

Collaborative editing step 2 #243

Open raimohanska opened 4 months ago

raimohanska commented 4 months ago

Goal

Enable collaborative text editing on Text and Area items like one does on Google Docs. Additionally, by applying the Quill editor, we get nicer text-editing features, such as automatic bullets.

Status

As implemented in #240 , collaborative editing can now be enabled by signed in users when creating a new board. After some experience in production, the opt-in flag should be removed and collborative editing be the default. However, there's stuff to do before that. This Issue represents the work to be done.

Must-have TODO items

Nice-to-haves

Design

Utilizing CRDT more widely

It would be interesting to see if we can switch the whole board state into CRDT. Would likely simplify code. Performance might also improve, but this is something to investigate. Anyway, it makes sense to me to first reap the immediate collaborative editing benefits and then see how far we can go.

raimohanska commented 3 months ago

Collaborative editing is now the default in production.