Panels - strings to elements - #1819
Merged
Merged
Conversation
Collaborator
|
I'd really like to try to keep existing APIs stable and not regress. So how about another angle, what if I ask you to design a new API "from scratch" so without having to worry what's already there. We can have it be available in parallel and slowly deprecate the old one (maybe). What would it look like? Maybe it doesn't rely on iframes at all, for instance? What are the use cases? |
Contributor
Author
|
After a nice break, was able to come back and fix it! Tested it with the treeview panel and Document explorer and no errors, this time! |
Collaborator
|
Ok, so is this still in draft then? |
onespaceman
marked this pull request as ready for review
March 5, 2026 17:16
Contributor
Author
|
oops, forgot I can mark it ready. |
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.
This does work, but is a breaking change. It returns a shadow dom instead of an iframe, allowing to pass elements with their own attached methods/onclicks.
I tried to make it backwards compatible but wasn't able to.
Idk where to go from here. If you or someone more knowledgeable could fix it, that would be great, otherwise feel free to reject this.
A simple example to see it in action: