# Ask what to do with unsaved work on a page a teammate deleted · dara/icarus

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

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

Visibility: public

Requested revision: 6316487c816f26d765b09c0f7b3f78032d130012

Requested commit: 6316487c816f26d765b09c0f7b3f78032d130012

Commit: 6316487c816f26d765b09c0f7b3f78032d130012

Tree: 068e544c1c3a0e38b2b31faec6d86ec5b00c8d9a

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Ask what to do with unsaved work on a page a teammate deleted

Live sync cannot send work to a page the server no longer has, so the
unsaved mark never cleared and the page swap waited forever: the canvas
stayed on the deleted page with the sync button spinning, and switching
pages dropped the work without a word.

When the page on screen is gone and holds work the server never got, the
session now stops and asks: restore the page (re-created with everything
on screen, then synced from it) or discard the changes and move to a page
that exists. With nothing unsent, the stale unsaved mark is cleared and
the canvas moves on as before.

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

```

## Parents

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

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