geovistory / toolbox

Geovistory
MIT License
3 stars 0 forks source link

Add linguistic object in the content tree #352

Open joschne opened 7 months ago

joschne commented 7 months ago

Current Situation

In the content tree, it is currently possible to add Table, Text, and Section as child of an Expression.

Screenshot 2024-04-04 at 10 41 13

This is insufficient because some projects have linguistic objects that don't contain text. So the Text class does not meet the needs.

Solution

  1. Content tree edit 1.a. In the menu of Source Content and Section (and Linguistic Object once created), we need to add a button Linguistic Object, below Section but before Table and Text. That creates a statement with: subject: Clicked Instance (of class, Expression | Section | Linguistic Object) property: crm:P165 incorporates object: Linguistic Object The button should be Blue (Entity) FOR THE MOMENT.

1.b. The Linguistic Object cannot be the parent of something else than a Text, Table or another Linguistic Object. Expressions and Expressions sections are NOT linguistic objects.

  1. Content tree view In the content tree visualize also property crm:P165 incorporates and its objects, as well as instances of geov:C16 Text (see issue #353) with the property geov:P1i is reproduced of

  2. Show the content tree tab on entity cards of Linguistic Objects On the View of Lingusitic Object, show the content tree on the right.

joschne commented 7 months ago

Resolved by this commit and toolbox configuration.

Can you please check and close this issue, if resolved @stephenhart8 ?