Southclaws / storyden

With a fresh new take on traditional bulletin board forum software, Storyden is a modern, secure and extensible platform for building communities.
https://www.storyden.org/
Mozilla Public License 2.0
93 stars 11 forks source link

Implement referencing other datagraph objects within posts via sdr: URIs #226

Open Southclaws opened 1 month ago

Southclaws commented 1 month ago

Similar to #185 but this requires some backend work as well as frontend work.

Backend: complete SDR extraction by emitting pubsub messages to draw links between related resources. So when a post or node (any written content resource, basically) uses an SDR URI to reference another datagraph item, the relationships are created in the database.

Also gotta think about removals too, so if a mention/reference is removed from a piece of content, the relationships must be removed too.

Frontend: fairly similar to @mentions where / (probably, like Notion) is used to bring up a selection+search menu for referencing datagraph items via the existing search endpoint.

Basically like GitHub:

image