Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Duplicate Rows #587

Closed
solankimihir opened this issue May 4, 2024 · 8 comments · Fixed by #930
Closed

[Feature Request] Duplicate Rows #587

solankimihir opened this issue May 4, 2024 · 8 comments · Fixed by #930
Labels
good first issue Good for newcomers roadmap This looks great. We want to make it happen.

Comments

@solankimihir
Copy link
Contributor

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.

@tea-artist tea-artist added the roadmap This looks great. We want to make it happen. label May 5, 2024
@tea-artist
Copy link
Contributor

We'll make it happen when the time is right

@tea-artist tea-artist added the good first issue Good for newcomers label Jul 26, 2024
@AliceLanniste
Copy link
Contributor

@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.

@tea-artist
Copy link
Contributor

tea-artist commented Jul 31, 2024

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

@AliceLanniste
Copy link
Contributor

AliceLanniste commented Jul 31, 2024

@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

@tea-artist
Copy link
Contributor

tea-artist commented Jul 31, 2024

@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.

@AliceLanniste
Copy link
Contributor

@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
Copy link
Contributor

@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.

@solankimihir
Copy link
Contributor Author

@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?

@tea-artist tea-artist linked a pull request Aug 20, 2024 that will close this issue
@tea-artist tea-artist linked a pull request Nov 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers roadmap This looks great. We want to make it happen.
Projects
None yet
3 participants