System Design Atlas

Collaborative documents with offline edits

01 / 10Worked example

Purpose and system boundary

Which promise distinguishes locally stored work from the confirmed document status?

Document D-91 first contains the text AB. Device G-91 inserts X between A and B; Device G-92 simultaneously inserts Y in the same position. The change identities O-91 and O-92 determine the order X before Y in this fictitious tie-break rule. The confirmed text is AXYB. A text document with a character sequence and comments; multiple devices per person; deterministic merging; server-side checked permissions during synchronization.

Starting point A person works without connection.

Assumptions for the example case

Our own fictitious example design: A text document with a character sequence and comments; several devices per person; deterministic merging; server-side checked permissions during synchronization. Figures and quality goals are illustrative test assumptions. Outside are table formulas, encrypted end-to-end cooperation and automatic content conflict resolution.

Context and responsibilities

Edit, synchronize and converge offline

Editorschange text online/offline

Document cooperation

Locally editedOperation permanently on device
Reconciling changesRights + Checking the payload
Confirming the common statusBringing together deterministically
Document ownersRights + conflicts
Identity servicePerson + organisation

Local changes remain visible pending; only operations authorized on the server side enter the common status.

A person works without connection. Show pending and confirmed changes separately. Offline work remains intact and its commitment status clear.

Assumptions for the worked example

Scope
A text document with a character sequence and comments; multiple devices per person; deterministic merging; server-side checked permissions during synchronization.
Possible extensions
Table formulas, encrypted end-to-end collaboration and automatic content conflict resolution.

Keep local work visible

Keep local work visible

Display pending and confirmed changes separately.

A person works without connection.

Offline work remains intact and its commitment status clear.

Alternative considered
An unqualified “Saved” message could imply server confirmation.
Trade-off
The interface needs two states.
Reassess
User tests show misleading status displays.

Terms in this step

Keep local work visible
Offline work remains intact and its commitment status clear.

Try it yourself

A device displays text saved offline. State two separate guarantees the interface can give.

A hint for your attempt

Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.

Compare with a possible solution
First part of the solution
Stored locally means that the change is preserved on this device.
Second part of the solution
Server confirmation is still missing. The interface shows pending and does not yet promise a common document status.

Apply to your project

Which corresponding assumption in your project would you check first? Use as an occasion: User tests show misleading status display.

Step 2 Examined: Defining Convergence.