Skip to content

[pull] main from tldraw:main#250

Merged
pull[bot] merged 1 commit intocode:mainfrom
tldraw:main
Oct 31, 2025
Merged

[pull] main from tldraw:main#250
pull[bot] merged 1 commit intocode:mainfrom
tldraw:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Oct 31, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

- make it impossible to overwrite a store with shapes already in it
- add randomness to all local store ids.

### Change type

- [x] `other`

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Only slurp when the store has no shapes, and generate per-user random
scratch persistence keys.
> 
> - **Slurping behavior (`tla/utils/slurping.tsx`)**:
> - Only perform `slurp()` when the editor store has no `shape` records
(`records('shape').get().length === 0`).
>   - Keep uploading local assets in the background.
> - **Persistence keys (`utils/scratch-persistence-key.ts`)**:
> - `getScratchPersistenceKey()` now returns
`tldraw_document_v3_<uniqueId>` instead of a constant.
> - `resetScratchPersistenceKey()` continues to set a new
`tldraw_document_v3_<uniqueId>`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
2ca25a5. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@pull pull Bot locked and limited conversation to collaborators Oct 31, 2025
@pull pull Bot added the ⤵️ pull label Oct 31, 2025
@pull pull Bot had a problem deploying to deploy-staging October 31, 2025 21:13 Failure
@pull pull Bot merged commit baaac2b into code:main Oct 31, 2025
1 of 8 checks passed
@pull pull Bot had a problem deploying to deploy-production October 31, 2025 21:13 Failure
@pull pull Bot had a problem deploying to deploy-staging October 31, 2025 21:13 Failure
@pull pull Bot had a problem deploying to deploy-staging November 1, 2025 00:24 Failure
@pull pull Bot temporarily deployed to e2e-dotcom November 1, 2025 02:20 Inactive
@pull pull Bot had a problem deploying to deploy-staging November 2, 2025 00:24 Failure
@pull pull Bot temporarily deployed to e2e-dotcom November 2, 2025 02:22 Inactive
@pull pull Bot had a problem deploying to deploy-staging November 3, 2025 00:24 Failure
@pull pull Bot temporarily deployed to e2e-dotcom November 3, 2025 02:22 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant