Idea for an easy "copy component"

  • 3
  • Idea
  • Updated 1 year ago
  • Implemented
  • (Edited)
So I've been creating the same set of components (field editors in grids in a wrapper in another wrapper) 15 times for the same page. With all the background, padding, boarders, sizing, etc... It takes a bunch of time. It came to mind that You could probably put a wrapper-like component at the bottom of the page builder with a single button labeled "copy". The user could drag any component or component cluster into the wrapper. When the user hits copy, Skuid would copy all XML code between the open and close tag of that wrapper component and paste it back into the xml right before the close tag. The user would see a carbon copy of their component cluster appear right below the existing one on the page builder. All the models would match up because the original components were built on the same page. . They could then drag wherever they want. The user could leave frequently used component clusters in the copy section and just use the copies, that way they they would always be just one button push from a fresh copy.
Even better, there would be an "import Skuid page" button that would allow you to select any Skuid page into the existing page, but strip out all the xml except the models, components actions, etc... The components would all magically appear in the copy section for drag and drop to anywhere. If there are components that don't get used, the user Wilkins just delete them out like they would any component.
Photo of Skuidward Tentacles (Raymond)

Skuidward Tentacles (Raymond), Champion

  • 17,224 Points 10k badge 2x thumb

Posted 3 years ago

  • 3
Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 11,050 Points 10k badge 2x thumb
Official Response
We really appreciate your suggestion about allowing for easy cutting/copying/pasting/cloning of components. It has been implemented and is now available in the Millau release, now available from the Skuid Releases page at https://www.skuid.com/releases/. As a reminder, Salesforce does not allow reverting back to prior versions of managed packages. Skuid always recommends installing new versions in a non-business critical sandbox environment to test all mission critical functionality before installing into a production environment. We also recommend that you update out of date themes when you upgrade. Thanks again for helping Skuid become an even better product!

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
(Edited)