# Tell, don't restore: the server cannot take a deleted page back whole · dara/icarus

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

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

Visibility: public

Requested revision: 999bbe13e4195e8d6d9e380f51ff469cf6f49eed

Requested commit: 999bbe13e4195e8d6d9e380f51ff469cf6f49eed

Commit: 999bbe13e4195e8d6d9e380f51ff469cf6f49eed

Tree: b9143220e7ddbd6410dfd1a56c5a4274ba2768d2

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Tell, don't restore: the server cannot take a deleted page back whole

Review round 2 found restoring the page in place still loses or corrupts
work: the purge of its rows runs after the page is gone, so restored ids
can be refused while the page reads as saved; lineup screenshots were
not re-uploaded; page metadata queued before the deletion was dropped.
Each is a guess the client cannot verify, and AGENTS.md says to fail
loudly rather than save something wrong. The dialog now tells the user
their latest changes could not be saved, and the canvas moves on once
they have read it. Keeping the work needs the server's help.

Switching pages checks the page being left first, so the notice shows
even when a switch comes before anything else asked.

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

```

## Parents

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

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