Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embed: prevent nested tldraw #3659

Merged
merged 1 commit into from
Apr 30, 2024
Merged

embed: prevent nested tldraw #3659

merged 1 commit into from
Apr 30, 2024

Conversation

mimecuvalo
Copy link
Member

don't allow infinite nesting :)

Screenshot 2024-04-30 at 12 02 41

Change Type

  • sdk — Changes the tldraw SDK
  • dotcom — Changes the tldraw.com web app
  • docs — Changes to the documentation, examples, or templates.
  • vs code — Changes to the vscode plugin
  • internal — Does not affect user-facing stuff
  • bugfix — Bug fix
  • feature — New feature
  • improvement — Improving existing features
  • chore — Updating dependencies, other boring stuff
  • galaxy brain — Architectural changes
  • tests — Changes to any test code
  • tools — Changes to infrastructure, CI, internal scripts, debugging tools, etc.
  • dunno — I don't know

Release Notes

  • Embeds: Fix infinite nesting of tldraw rooms.

@huppy-bot huppy-bot bot added bugfix Fixes a bug of some kind sdk Affects the tldraw sdk labels Apr 30, 2024
Copy link

vercel bot commented Apr 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
examples ✅ Ready (Inspect) Visit Preview Apr 30, 2024 11:05am
1 Ignored Deployment
Name Status Preview Updated (UTC)
tldraw-docs ⬜️ Ignored (Inspect) Apr 30, 2024 11:05am

Copy link
Contributor

@MitjaBezensek MitjaBezensek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Contributor

@SomeHats SomeHats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@mimecuvalo mimecuvalo added this pull request to the merge queue Apr 30, 2024
Merged via the queue into main with commit 06509bf Apr 30, 2024
14 checks passed
@mimecuvalo mimecuvalo deleted the mime/nested-tldraw branch April 30, 2024 11:20
@MitjaBezensek
Copy link
Contributor

I guess this will prevent 1 level deep nesting if people embed this somewhere else.

So on tldraw.com nesting a room inside a room will work. But doing the same inside notion won't. I'm fine with that tbh, but we'll see if somebody complains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes a bug of some kind sdk Affects the tldraw sdk
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants