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

List of anchors in entity Detail; open text in annotator from anchor list in one click; anchor removal in Detail #2065

Open davidzbiral opened 6 months ago

davidzbiral commented 6 months ago

(EDITED.) We need a list of anchors in Detail, where the entity is anchored - similar to the list of statements in which an entity is used. Function buttons/icons:

  1. Jump to the anchor in the full-text. (E.g., when I open a subT in T list, I want to jump to the place in Annotator where first its anchor is used.) As part of this, consider also opening the subT in which the anchor is used in the territory tree and thus statement list, if it is not a bad idea.
  2. Remove anchor. (E.g., the user needs to remove anchors before deleting an entity - see #2227.)
  3. Copy text string covered by this anchor (and at the top of the list, all text strings covered by all anchors in the list) into the system clipboard, separated by an extra empty line.

(I am so clever :-) .)

adammertel commented 3 weeks ago

Just one note here for the first point:

davidzbiral commented 3 weeks ago

Even though the entity might have been anchored through the "statement list" box

@adammertel Oh we need it! No waiting. We need to jump in the text to where the anchor is (start anchor). I don't understand here - I thought anchors are created only in Annotator, not Statement list. Most Ts will only have one anchor ever. I want to jump in Annotator there where the start anchor is. Perhaps I somewhat misled you in No. 1 by my disquisition on the opening of subT. But the basic thing is that I want to jump in Annotator to the start anchor from Detail, where I want to have the opportunity to click on the anchor and jump there. If the entity (e.g. a Location or Person) has more anchors, all will appear in Detail (paginated), and I will be able to decide based on text span snippet to which one I want to jump.

adammertel commented 3 weeks ago

Link to the design in Figma

davidzbiral commented 3 weeks ago

@adammertel This is a list of Resources. Rather, what I need is a list of anchors. For instance, let's say that Location "Bologna" is anchored 200 times in one Document, and 5 times in one. Thus, what I need to see here is 205 records (paginated), introduced with the anchor icon probably, and identify the anchor with the text it spans, just as you do now - the spanned text will be the first "column" of the display. It will also be possible to click on the anchor, and this will bring me to that specific anchor in the fulltext in Annotator. Otherwise the structure is good, i.e. to each anchor, add Resource, full-text opener. But in addition, add the subT entity in which the anchor sits (if the subT exists). Heading should be "205 Anchors", not "2 Documents (anchors)".