Replies: 1 comment 2 replies
|
For this one what is tricky is to handle the relationships / know which child to copy. Copying the parent is easy, but then do you link it to the same child? do you duplicate some of the childs? the parents? etc. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Scope & Context
We want to enable users to easily duplicate one or multiple records directly from the interface, without having to use the API, workflows, or manually recreate them. This feature should be accessible through keyboard shortcuts and the command menu to provide a seamless and quick user experience.
Current behavior
Currently, there is no native way to duplicate a record in the UI. Users have to either manually create a new record and copy-paste all the fields from the original one, use the API, or build a specific workflow (e.g., using "Upsert").
In the command menu (opened with
Ctrl+KorCmd+K), options exist for editing the page layout or deleting a record, but not for duplicating.Expected behavior
Users should be able to duplicate a selected record (or multiple selected records in a view) using the standard keyboard shortcuts
Ctrl+C(orCmd+C) to copy, andCtrl+V(orCmd+V) to paste and create the duplicate(s).Additionally, a "Duplicate" action should be available in the command menu (
Ctrl+K/Cmd+K), ideally positioned right near or under the "Delete" option for easy access.When a record is duplicated, the new record should copy all standard and custom field values from the original, except for unique identifiers (like system IDs) which should be newly generated.
Technical inputs
Ctrl+C/Cmd+CandCtrl+V/Cmd+Vat the view/table level and record page level when a record is focused/selected.Ctrl+K) component to include a new "Duplicate record"MenuItem.id,createdAt, etc.) and triggers acreatemutation with the duplicated data.All reactions