teable icon indicating copy to clipboard operation
teable copied to clipboard

[Feature Request] Duplicate Rows

Open solankimihir opened this issue 1 year ago • 8 comments

Is your feature request related to a problem? Please describe. No its not related to a problem

Describe the solution you'd like I would like an option to duplicate rows. I have a "Tasks" table where I create tasks for my team members. There are few tasks that are repeatative in nature where I just need to change 1 field in the row. It would be great if I can just duplicate the existing task(i.e. row) and just update one field in the duplicated row, instead of creating the row from scratch.

Describe alternatives you've considered Currently I add a blank row and copy paste from another row.

Additional context None.

solankimihir avatar May 04 '24 09:05 solankimihir

We'll make it happen when the time is right

tea-artist avatar May 05 '24 03:05 tea-artist

@tea-artist hi I am newbie to the project,I have a problem with paste. I read the source code for the paste. image It needs clipDataEvent argument ,how to I get the param.

AliceLanniste avatar Jul 31 '24 08:07 AliceLanniste

@AliceLanniste Do you mean to contribute code for this feature?

tea-artist avatar Jul 31 '24 09:07 tea-artist

@AliceLanniste Do you mean to contribute code for this feature?

ye, I completed copy via doCopy function image I dont' know how to implement paste

AliceLanniste avatar Jul 31 '24 11:07 AliceLanniste

@AliceLanniste Duplicate a record is different from copying and pasting. It is nothing todo with clipboard and should be done through an API. Select one or several records and achieve copying through the right-click menu. This API should be placed under the selection controller. You can start from there to get familiar with the processing flow of the server side.

tea-artist avatar Jul 31 '24 17:07 tea-artist

@AliceLanniste Duplicate a record is different from copying and pasting. It is nothing todo with clipboard and should be done through an API. Select one or several records and achieve copying through the right-click menu. This API should be placed under the selection controller. You can start from there to get familiar with the processing flow of the server side.

thank you

AliceLanniste avatar Aug 01 '24 02:08 AliceLanniste

@tea-artist hi ,I complete duplicate rows. image I am trapped with render. when I click duplicate menu, it'll show a 'duplicate successful' toast.
It will only render if you refresh the web page manually.

AliceLanniste avatar Aug 17 '24 08:08 AliceLanniste

@tea-artist hi ,I complete duplicate rows. image I am trapped with render. when I click duplicate menu, it'll show a 'duplicate successful' toast. It will only render if you refresh the web page manually.

May be it's because of websocket? Can you check how the "Add Row" function works? Is there a way it asks websocket to refresh the data stream or something?

solankimihir avatar Aug 19 '24 03:08 solankimihir