# Draw the outbox's waiting changes when a cloud page loads · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/ee205e538a7e3ba737e8f7b58abc2b0baf18db1b)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: ee205e538a7e3ba737e8f7b58abc2b0baf18db1b

Requested commit: ee205e538a7e3ba737e8f7b58abc2b0baf18db1b

Commit: ee205e538a7e3ba737e8f7b58abc2b0baf18db1b

Tree: d11843362fefb62fe7c8d0d25afb180d14cb73f4

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Draw the outbox's waiting changes when a cloud page loads

After a restart (or a trip to another strategy) with changes still in the
outbox, opening the strategy drew the server's version, and the waiting
changes stayed invisible until they landed. Every page load now draws the
page plus the outbox's records for it: queued, sent, paused and refused
alike, a patch merged by field drawing only the fields it names over the
server's version. While the canvas shows that work unchanged, the record is
left exactly as the queue holds it (paused stays paused, refused stays
refused, nothing is rewritten or sent again); an edit on top of it keeps
the base and revision the record was made against.

Work is sent as the last write only when the page it was made on was drawn
from a live server answer received since the connection last came back,
never from this computer's copy (RemotePageSnapshot.fromCopy).

Offline, the editor's sync chip counts the changes saved on this computer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [d8698e13762eaca1c6de838af84a1aa5074ab511](https://git.cafe/dara/icarus/commit/d8698e13762eaca1c6de838af84a1aa5074ab511?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/ee205e538a7e3ba737e8f7b58abc2b0baf18db1b?format=markdown)
