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

Disable deletion of an anchored entity #2227

Open davidzbiral opened 1 month ago

davidzbiral commented 1 month ago

Just as it is not allowed to delete an entity which as any relation or any other use, disable also its deletion when it has an anchor. But specify notification, so that the user knows what is the blocker of deletion.

But to make the removal, if needed, smoother, we need a way of removing anchors from Detail.

The anchors will be easy to check when the issue is implemented on listing the anchors under Detail, and allowing to jump in the annotator to the place in the full-text where the anchor is.

For the record: perhaps partly related to #2225.