instantiator / listsky

List manager for bsky (and other AT protocol social networks)
MIT License
0 stars 0 forks source link

[FR] Turn @mentions in the update posts into mentions #11

Closed instantiator closed 1 month ago

instantiator commented 2 months ago

Feature request

Let's add a facet to indicate where the mentions are in the update posts from ListSky. eg. in this post, the account should be a mention:

➕ Added Cthonyxa, @cthonyxa.bsky.social to list: List Trek

Proposed modification

ATConnection.PostAsync should be able to identify facets alongside the post. Update the method to allow the composition of messages with easily identifiable facets.

FishyFlip supports this:

Clever points

The documented example also illustrates identification of the facets with regexes. This is clever, and we should do it. Modify the method to use regexes to identify the facets by adapting the python regexes into .NET regexes.

Bonus points

Let's also compose the mention of the list as a link - so that people can follow it back to the list itself.

This is another supported type of facet, as indicated in the documentation.

instantiator commented 1 month ago

Currently working on this.

instantiator commented 1 month ago

Complete (for now)