Add a "Duplicate row" action to the Table Editor #49966
Unanswered
Mohammed-Saif-Ibrahim
asked this question in
Feature Requests
Replies: 1 comment
|
Just wanted to bump this in case it slipped through — happy to share more detail if useful. A couple of things I didn't mention initially that might help clarify scope:
No rush at all — just didn't want it to get lost. Let me know if a different approach or more context would help move this forward. |
0 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.
Feature request
Add a "Duplicate row" action to the Supabase Studio Table Editor.
Proposed behavior
From the row context menu, users should be able to select "Duplicate row" to create a new row based on an existing row.
The workflow would be:
<table>".Why
When users need to create a new record with values similar to an existing record, they currently have to manually copy the values into a new row. A dedicated Duplicate row action would make this workflow faster and more intuitive.
Considerations
The behavior should account for database-specific constraints and column behavior, including:
Status
I've already put together a working implementation of this on a branch, including handling for the considerations above (friendlier error messaging when a duplicated row hits a constraint, a distinct success message, etc.). Happy to open a PR if this is a direction the team is interested in — just wanted to check on the design/approach first per the contributing guidelines.
All reactions