casework / CASE-Mapping-Python

Apache License 2.0
0 stars 3 forks source link

Issue 5 message thread #38

Closed fabrizio-turchi closed 6 months ago

fabrizio-turchi commented 6 months ago

Fix #5 issue, I changed the FacetMessagethread class. The class doesn't generate a complex structure as illustrated in the message example:

https://github.com/casework/CASE-Examples/blob/master/examples/illustrations/message/message.json).

The class takes into consideration the list of participants (array of Account ObservableObject), the list of messages (array of Message ObservableObjects) and the visibility.

BTW, the example on the repo should be slightly updated replacing the properties: "uco-observable:displayName": "Best Friend Chat!!" --> uco-core:name outside of the uco-core:hasFacet array and "drafting:visibility": "PRIVATE" --> boolean value False.

ajnelson-nist commented 6 months ago

I'm addressing the merge conflict now.