-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap an element using the new component picker (#5691)
**Problem:** The "Wrap" feature currently doesn't use the new component picker **Fix:** This PR makes the "Wrap..." option use the new component picker - currently only for a single element. (subsequent PR for supporting multiple selection). This PR includes: - [x] Open the new picker when wrapping an element (from UI and shortcut) - [x] Call the correct action for wrapping the element - [x] Show only HTML elements that can accept children - [x] Have the picker API _support_ multiple selection This PR _doesn't_ include: - [ ] Filter out custom elements that don't support children - [ ] Wrap in non-elements (conditionals, etc) - [ ] Wrap multiple elements <video src="https://github.com/concrete-utopia/utopia/assets/7003853/824f1c26-6bb5-4b0c-9213-5378b256214e"></video> This PR also skips the element tests (5ac6d25) that will be re-enabled in the subsequent PR - [X] I opened a hydrogen project and it loaded - [X] I could navigate to various routes in Preview mode Related to #5442
- Loading branch information
Showing
11 changed files
with
104 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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