tables icon indicating copy to clipboard operation
tables copied to clipboard

duplicate rows / copy and modify

Open tatrapikao opened this issue 3 years ago • 7 comments

First and foremost thank you for this app! It's gonna be amazing. It would be nice to be able to copy one or multiple rows. Perhaps an additional "copy and modify" Option in the Edit Menu of an existing Row would be a great feature.

tatrapikao avatar Oct 09 '22 13:10 tatrapikao

Sounds good! Some options how to do that:

  1. We put it in the "Edit row" modal, like how "Delete" is placed currently. Good thing about this is that all is in one place and editing is quick, bad thing is that it’s not easy to discover, and stuff is a bit cramped.
  2. We make the "Edit" button a menu with 3 entries: Edit row, Duplicate row, Delete row. This is a fairly standard and well understandable approach, it just requires an extra click to edit a row compared to now. I would say though it’s fine.
  3. Extra inbetweener option: We do it like we do it in our own user/account management of Nextcloud with 2 buttons next to each other. "Edit row" is outside of the "More actions" menu, and the other actions like "Duplicate row" and "Delete row" are inside the 3-dot menu.

@datenangebot @nimishavijay what do you think? I tend towards 2 or 3.

jancborchardt avatar Jan 09 '23 13:01 jancborchardt

Really nice idea! I like the 3rd approach as well! We could do 3 on desktop and 2 on mobile :)

nimishavijay avatar Jan 09 '23 14:01 nimishavijay

Workaround: insert one row, export as CSV. Make duplicates in the downloaded file. Upload again.

ChristophWurst avatar May 06 '24 08:05 ChristophWurst

Workaround: insert one row, export as CSV. Make duplicates in the downloaded file. Upload again.

Does not even work for me. If i export the selcted row to csv and then try to re-import it in to the table to "duplicate" it, the import dialog just hangs forever..

tatrapikao avatar Jul 21 '24 18:07 tatrapikao

Open the browser console. It could be something like https://github.com/nextcloud/tables/issues/1067. Also :eyes: @luka-nextcloud there might still be no error handling for generic errors.

ChristophWurst avatar Jul 22 '24 06:07 ChristophWurst

Open the browser console. It could be something like #1067. Also 👀 @luka-nextcloud there might still be no error handling for generic errors.

absolutely. So we identified following issues:

  • not possible to copy Data
  • csv export works but uses wrong mime Type "text/plain"
  • csv import has no error handling for MIME-Check #1067
  • csv import does not accept "text/csv" as MIME-Type (..it really should when used in export)

tatrapikao avatar Jul 22 '24 19:07 tatrapikao