# fix: Undo and Redo pressed while a page or action is on its way wait for it · clo/snowbound

[View on GitCafe](https://git.cafe/clo/snowbound/commit/577710e1d47638bbd086a22366de263d858f4475)

Repository: [clo/snowbound](https://git.cafe/clo/snowbound)

Visibility: public

Requested revision: 577710e1d47638bbd086a22366de263d858f4475

Requested commit: 577710e1d47638bbd086a22366de263d858f4475

Commit: 577710e1d47638bbd086a22366de263d858f4475

Tree: 2c03317dcef272b0ef7c986aab8f918f9c13ff4f

Author: clover caruso

Committer: clover caruso

## Message

```
fix: Undo and Redo pressed while a page or action is on its way wait for it

Presses during an in-flight page action or page switch were dropped
(the command was disabled while busy), so quick Undo presses were lost
and the replay test undo_walks_back_through_new_pages_and_their_titles
flaked under load. They now queue and are taken in order once nothing
is on its way. An action that shows a page counts as switching until
it lands.

Replay gains `settle`, and `accessibility` waits for the same settled
state before writing the tree, so replay tests stop racing background
work.

Assisted-by: claude-opus-5.5

```

## Parents

- [30964a9cc80080214547f04dcb744f23406dffd6](https://git.cafe/clo/snowbound/commit/30964a9cc80080214547f04dcb744f23406dffd6?format=markdown)

[Source at this commit](https://git.cafe/clo/snowbound/tree/577710e1d47638bbd086a22366de263d858f4475?format=markdown)
