LemmyNet/lemmyBB

[Feature]: Separate mentions at the beginning of a post

forenta opened this issue ยท 5 comments

Is your proposal related to a problem?

The longer discussions run, the more likely the display of addressed users will be distracting. Then follows a 'No, I don't think so' on 6-7 handles. To me, the display of the mention here seems more disturbing than useful.

Describe the solution you'd like

I would find it ideal if the handles appear next to the date, so that they are on the one hand visible for traceability, but do not disturb the reading flow. Or a separate line below the date in the same small font size. Or, if there's no other way, they should be completely hidden, as in the case of Elk and the bird.

Describe alternatives you've considered

Discuss topics on lemmyBB via Elk ๐Ÿ˜‰

Additional context

No response

I assume you mean these @user in the beginning of posts which are sent by Mastodon and similar platforms. This is not only a problem in lemmybb but also in lemmy-ui so Im moving the issue.

Screenshot_20230502_215351

Screenshot_20230502_215421

Solving this is difficult, because these mentions are part of the HTML as sent by Mastodon. So removing them would require rewriting the HTML, which is complicated and error-prone. Replies from Lemmy dont have this problem because Lemmy doesnt include parent mentions in the comment HTML, but writes them to the metadata automatically.

There could be a lot of unforseen problems in actually rewriting and saving an altered version html sent from mastodon and twitter-type ones.

But it could be solved in the front ends, by grouping mentions, and putting them behind a <details><summary IE a hidden spoiler type tag. Or any other number of ways to represent them.

Same issue in lemmy-ui repo: LemmyNet/lemmy-ui#1019

I think its better to implement it there, so that Lemmy backend doesnt have to do any HTML parsing and editing. Doing that in lemmy-ui should be easier.

Actually this issue was originally opened for lemmybb, so solving it in lemmy-ui doesn't help.

This is something that the front-ends should handle IMO, because its an issue of representation of data. Different front ends might collapse these mentions in different ways, or not at all.