paleobot / pbot-api

MIT License
2 stars 0 forks source link

Implement Comments for Synonyms #25

Closed NoisyFlowers closed 2 years ago

NoisyFlowers commented 2 years ago

Add a new Comment node type that can be used to comment on Synonym nodes.

NoisyFlowers commented 2 years ago

For now, Comments can only be made on Synonyms and other Comments. The latter allows for comment threading.

We may later allow Comments on other node types, but that is beyond the scope of this issue.

NoisyFlowers commented 2 years ago

This is in f4153f1c018619198a54753186848b9b2cc2e99e, 85a7616fb0233c7575f16b0e26411e23f3ce4439, 5865fe1bb645cf50814b5e81edb405e2db8bfba3, ba9acf6c235bce0289b250d332ed9824f6f25036, 6664c25103c7dda318602d808087dc3fb7752d3e, and 0bdfeb9c000ca645e287ecf3e6d23b58aa13418a.

Comments are related to Synonyms and other Comments via REFERS_TO relationships.

This is merged to master and running on dev.

NoisyFlowers commented 2 years ago

Note: Comments can be nested to arbitrary depth in mutations. OTU queries limit Comment display to five levels for now.