David Sheldrick

Results 262 comments of David Sheldrick

I suspect you're thinking of the user undo/redo history? That would be important to preserve yeah. But this issue is just referring to the signal's internal diff history, which is...

It's a nice idea! I had the same idea but I ran into issues trying to implement it back in the early days of signia. The problem is: During a...

Ah sorry about that. The error is intentional but in this case it's probably not an error as long as the state values don't mix. I can't think of an...

> Suddenly he switches the page Is this happening programatically? i.e. are you are calling `setCurrentPage` somehow while the user is editing a shape? I was able to reproduce this...

Our SDK API doesn't support that explicitly at the moment but if you never want to show a frame label you should be able to use css ```css .tl-frame-heading {...

Hello! For images we store two records: - an image `shape` record, which stores information about where the image is in the document, how big it is, whether it has...

ah interesting thanks. Are you able to share the schema part of the snapshot too? I suspect the migrations are running when they needn't be.

hm that looks wrong, those dashes should be dots. It should be like ```json { "schemaVersion": 2, "sequences": { "com.tldraw.store": 4, "com.tldraw.asset": 1, "com.tldraw.camera": 1, "com.tldraw.document": 2, "com.tldraw.instance": 24, "com.tldraw.instance_page_state":...

oh yeah I see it here `JSON.stringify(parsedData).replace(/\.(?![0-9])/g, '-'),` you shouldn't be doing that

Gonna close this know. Let me know if removing the `.replace(...)` call there doesn't fix the problem and I'll reopen. Cheers 🙏🏼