oaregithub / oare_mono

1 stars 0 forks source link

Individual Person Page #1551

Closed edstratford closed 1 year ago

edstratford commented 2 years ago

The individual person page will display lots of information eventually, but for now, we'll display the same information as on the Persons page (though now editable), plus:

1) family members (partially taken from properties of person, already in the backend), ** properties are set up so that the person will have own properties to say they are parent of other persons -- but to get their parent we will have to find where in the database they appear as in the object_uuid for that person.-- and then get the other persons that appear on that parent to list as siblings - so this will need a new dao(?)

2) other durable roles (administrative) - taken from properties (for example limmum or ḫamuštum official)

3) text occurrences sorted by the temporary role of the person in that occurrence (properties attached to the phrase or word that the person is connected to). -- this will require mapping these properties onto the text_occurrences object 4) text occurrences that have no role (at this point that will be most of them).

Display--- see attached image (NOTE THE IMAGE SHOWS SEVERAL OF THESE THINGS EDITABLE -- THAT MIGHT NEED TO WAIT UNTIL properties are finished). Title of page will be the same display as in the list. - with references number

Then family members(A) - Father: With display of father person as link OR 'Unknown' Mother: Siblings: (each on newline)
Spouse(s): (Aššātum and amutm) Children: (each on newline)

Administrative roles (B)

Discussion field to generally describe the person (same as a lemma discussion) (C)

Where person appears as a letter addressor (temporary role) (D)

Where person appears as a letter addressee (temporary role) (E)

Where persons appears as a series of commercial roles (buyer, seller, creditor) (F)

Where person appears as representative of someone else (this will need to be broken down as a list of the persons that were represented). (G)

All other text occurrences, where there is no role designated (H).

image