← Todas las ideas
0

Board: Merge concurrent edits per element instead of whole-scene 'keep mine' overwrite

LanzadaBoardArreglo

Until full multiplayer lands, the conflict path is destructive: keepMine() in components/board/BoardEditor.tsx re-PUTs the entire local scene over the server version, silently deleting anything a teammate added, and 'reload' throws away local work. Miro never asks users to pick a winner, and Excalidraw already exports reconcileElements (present in node_modules/@excalidraw/excalidraw types) to merge two element arrays by id and version. This is a data-loss defect for any team of 2+ editing the same board. First scope: on 409, GET the server scene, reconcile with local elements, updateScene with the merged result and retry the save against the new version, only showing a banner when the merge is ambiguous. Priority: high. Effort: M. Compared with Miro.

Comentarios 0

Sin comentarios todavía.