DISSINET / InkVisitor

An open-source, browser-based front-end application for the collection of complex structured data from textual resources in history and the social sciences into a RethinkDB database for further analysis.
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

"Copy entity" function in Detail #805

Closed davidzbiral closed 2 years ago

davidzbiral commented 2 years ago

Use case: there is a nicely filled entity. I want to make a new one similar to it, or I want to make a template out of it.

Therefore, in Detail, we need a "Copy entity" button, which will create a new ID with a full copy of the JSON: copy all attributes (incl. links to gazetteers, treebanks etc.) and metaprops. The user can then edit: change things, add/delete metaprops etc.

When copying S, it is probably the same function as copy in Statement list - remember to keep those two places to do what probably is the same thing coherent somehow.

davidzbiral commented 2 years ago

@adammertel : Is this not implemented in the "duplicate" button already? (I think it is. Just check whether duplicating S works the same way, i.e. whether this is covered somehow - it is the same thing.)

adammertel commented 2 years ago

Yes, the "duplicate button both in the statement list and the detail show have this function. I will close now, feel free to reopen if you needed something else...