# Let a newer page switch, or a deletion, win while the next page is read · dara/icarus

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

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

Visibility: public

Requested revision: f37dde4947a885210ecb5bd4212221436c3bafa3

Requested commit: f37dde4947a885210ecb5bd4212221436c3bafa3

Commit: f37dde4947a885210ecb5bd4212221436c3bafa3

Tree: a524f8b689401a68f9e0bb72b29ee05e4783b026

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Let a newer page switch, or a deletion, win while the next page is read

Reading the next page before leaving the current one added a wait in
which other things can happen. A newer switch started meanwhile now
keeps the page it asked for: the older one gives way without touching
the newer one's transition. A teammate deleting the page on screen
during the read is caught by checking again before leaving it, so the
user is told about work only it holds. A switch that stays put resumes
the server update it held back, as every other way out of a switch does.

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

```

## Parents

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

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