# Keep items' roots when a cloud strategy is duplicated · dara/icarus

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

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

Visibility: public

Requested revision: 969a2cd9c4b9823e728814e7d7bc915b02f1be1b

Requested commit: 969a2cd9c4b9823e728814e7d7bc915b02f1be1b

Commit: 969a2cd9c4b9823e728814e7d7bc915b02f1be1b

Tree: 851a84469d56a94f4dca442a22ff69f88caf6afb

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Keep items' roots when a cloud strategy is duplicated

A duplicate gave every item and lineup a fresh random id, so items the
source had copied between pages were no longer copies of each other in
the duplicate: its page transitions faded them instead of gliding. Each
now gets a copy id that keeps its root (lib/pageCopyId.ts, mirroring the
app's page_copy_id.dart), unless the root is too long for the app to
store a change under.

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

```

## Parents

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

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