Copy and Paste Components

This basically stems from me being in a hurry. I want to be able to cut/copy and paste components, field editor sections, and maybe even fields from the page composer without going into XML (using command c, x, & v).
10
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
It would work similar to a Page Include but get pulled in to the containing page synchronously as the page is built instead of asynchronously. Essentially it's a custom component but using the builder instead of code. Models would have to exist on the containing page but you could define the same model (by name) on the "Page Component" page so you could use declarative functionality while building the page. The component then inherits the models from the containing page instead of the models from the page component itself. Could even do a "santity" check to make sure the containing page has all the models matched by name that were defined on the page component page.
Some high-level thoughts:
1) Add a new type of "page" called Page Component - so you would have Desktop pages, mobile pages and Page Components offered on the "Create new"
2) Add a new component called "Page Component Include" to the toolbox that lets you pick the page component you want "included" (same concept as Page Include)
3) At runtime, the XML from the Page Component is slipstreamed in to the containing page where the "Page Component Include" is defined just like if the actual XML was there the entire time. Note that this would not need to include all the stock skuid runtime js, component factory, etc.
Here is our documentation about this new and long-awaited feature! https://docs.skuid.com/v11.0.0/en/skuid/components/#cut-copy-paste-and-clone-components