aerugo / bbu

Babel Between Us
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Add, edit and remove annotations #5

Open aerugo opened 2 years ago

aerugo commented 2 years ago

Logged-in users with the right permissions can add, edit and remove annotations.

Annotation spans can be shifted, multiple codes can be added to the same annotation, comments can be added.

We are planning to implement a modified version of RecogitoJS. See mockups below to see how the annotation tool should look and work.

Select a highlighted fragment by clicking on it once

1 - select fragment

Clicking on a highlighted fragment brings up the controllers that can be used to shift the span of the annotation-

2 - extend fragment

Double click on a selected fragment to bring up the annotation tool.

3 - fragment extended

4 - fragment double click

If multiple codes belong to the same annotation, the code description is for the last code added.

5 - annotation tool

When codes are selected, the code description is changed.

6 - select a code

7 - select another code

Note: When codes are added, you select them from an auto-complete dropdown. You can also create a new code by writing a new code into the prompt.

Comments can be added to annotations

8 - comment on annotation

Annotations are saved on close

9 - annotation closed