Postponed
Project:
ActivityPub
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Oct 2020 at 11:13 UTC
Updated:
4 Aug 2026 at 09:20 UTC
Jump to comment: Most recent
Mentions are a separate entry in the activity and work fine, but they are extracted and should be presentable from the UI in the editor?
This means we need more data storage of users in general, and allow lookup as well?
There's a poor man's version of this via #3614656: Inspect outgoing activities for mentions - requires manual editing, but that's ok for now. The reader support this also for prepopulate.
Comments
Comment #2
swentel commentedBetter title
Comment #3
swentel commentedRelated with #3319290: ActivityStreams compliance: Microsyntaxes
Comment #4
aleixAs more I work I need to plan how mentions will work. So how I am planning:
A ckeditor5 mentions plugin to assist while writing, so it suggests accounts:
@bob@example.orgit should try to resolve (as fast as it can so it needs some caching) and suggests the account if resolved. If well resolved it will transform to<span class=\"h-card\"><a href=\"https://example.com/@bob\" class=\"u-url mention\">@<span>bob</span>@example.com</a></span>(some implementations do not prepend domain when using stored actors but I thing it's better to add it).When submitting, a microformats2 parser could transform to mentions as specified in https://www.w3.org/TR/activitystreams-vocabulary/#microsyntaxes .
We are waiting for ckeditor5 feature request and https://github.com/ckeditor/ckeditor5/issues/12907 , and need to discuss how can we get the preferred username from the followers/following . So while not there, by now, I'll create a ckeditor5 plugin for link, to allow add the url of the user directly and it will surround with microformats and mention as mastodon does.
Comment #5
swentel commentedComment #6
swentel commentedComment #7
swentel commented