# Keep unfinished canvas edits when a teammate's change streams in \(\#207\) · dara/icarus

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

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

Visibility: public

Requested revision: ff825f2d5f0ddf8c96c0b5810aaed498323929f4

Requested commit: ff825f2d5f0ddf8c96c0b5810aaed498323929f4

Commit: ff825f2d5f0ddf8c96c0b5810aaed498323929f4

Tree: 303fa580d8b04de06546de635f98acf77cabe6ea

Author: Dara Adedeji

Committer: GitHub

## Message

```
Keep unfinished canvas edits when a teammate's change streams in (#207)

* Keep unfinished canvas edits when a teammate's change streams in

A remote snapshot reloads the whole active page. The safety check waited
for unsaved work and text drafts but not for a stroke, drag, resize, or
lineup placement still in progress, so the reload wiped it.

The check now also waits while a pointer or trackpad gesture is held,
a drawing or lineup placement is unfinished, or a text draft is open,
and applies the latest snapshot once the edit ends. The reload re-checks
after its async load and yields to a page switch that started meanwhile.

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

* Check the held-back remote change applies once the stroke lands

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
```

## Parents

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

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