When multiple co-authors both make edits to a deck's primer, the one that saves last may overwrite the other's changes.
It would be helpful if the primer since it was last loaded were cached, so that upon saving it may be compared to the live version to detect conflicts.
These could then be resolved like git merges; if the changes are compatible then they can be merged automatically (perhaps with a notice that changes were merged); and if there is a conflict on the same line then UI could display options to keep one version or to allow the user to rewrite to incorporate both changes.
Recent edit history for primers would also be useful.
When multiple co-authors both make edits to a deck's primer, the one that saves last may overwrite the other's changes.
It would be helpful if the primer since it was last loaded were cached, so that upon saving it may be compared to the live version to detect conflicts.
These could then be resolved like git merges; if the changes are compatible then they can be merged automatically (perhaps with a notice that changes were merged); and if there is a conflict on the same line then UI could display options to keep one version or to allow the user to rewrite to incorporate both changes.
Recent edit history for primers would also be useful.