Open
Conversation
|
I think it's ok to blow away existing code there. Yeah, I can see possibly getting frustrated, but no dev is doing 'real' work there. |
cfjedimaster
approved these changes
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We have examples on the API Explorer tab and you can run them with the new Run button, but in many cases the example from the docs may not be exactly what you want to do. So this PR adds a "Copy to playground" button that copies the code to the playground tab where you can edit and run it.
Possible dangers: The Copy to playground button overwrites any code that was in there, so you may lose something. We could throw a warning or just add to the end of the existing code?
Really we need better examples in here that will run regardless of what's going on on the canvas instead of assuming the names of things. I also notice that in some cases the containing function is shown in the examples.