Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better handling of user handles #1056

Closed
enn-nafnlaus opened this issue May 15, 2024 · 1 comment
Closed

Better handling of user handles #1056

enn-nafnlaus opened this issue May 15, 2024 · 1 comment

Comments

@enn-nafnlaus
Copy link

enn-nafnlaus commented May 15, 2024

Note how handles are translated within the text of posts:

First, viewed from the Mastodon side - a post (parent) written on Mastodon, referencing first a Mastodon user (@[email protected]), then their bridged Bluesky account (@[email protected]). The reply comes in over the bridge from Bluesky

https://fosstodon.org/@[email protected]/112444275462951591
image

Now, from the Bluesky side - the parent came in over the bridge from Mastodon, and a reply post is written on Bluesky, first referencing a Bluesky user (@nafnlaus.bsky.social), then their bridged Mastodon account (@nafnlaus.fosstodon.org.ap.brid.gy):

https://bsky.app/profile/nafnlaus.bsky.social/post/3ksjdcazrck2y
image

To sum up:

References written on Mastodon, as viewed on Bluesky:

Reference to a native Mastodon account: Links to the bridged Mastodon account (image #2, parent post). This is okay behavior, though even better would be, if both sides are bridged, to link to the user's normal Bluesky account.

Reference to bridged Bluesky account on Mastodon: Just shows up as plaintext (image #2, parent post). This is bad behavior; it should at least link to the user's bridged account on Bluesky, though ideally, their normal Bluesky account.

References written on Bluesky, as viewed on Mastodon:

Reference to a native Bluesky account: Just shows up as plaintext (image #1, reply post). This is bad behavior; it should at least link to the user's bridged account on Mastodon, though ideally, their normal Mastodon account.

Reference a bridged Mastodon account on Bluesky: Just shows up as plaintext (image #1, reply post). This is bad behavior; it should at least link to the user's bridged account on Mastodon, though ideally, their normal Mastodon account.


I would more to the point add that if the user links to someone's account on Mastodon or Bluesky, even if they're not a bridged user, it should still translate their handle as if they were - in case they were to join at a later date.

@snarfed
Copy link
Owner

snarfed commented May 15, 2024

Yes! Sorry, you're right, bridged @-mentions are currently buggy, those bugs are tracked in #959 and #957.

I would more to the point add that if the user links to someone's account on Mastodon or Bluesky, even if they're not a bridged user, it should still translate their handle as if they were - in case they were to join at a later date.

Interesting idea! The catch is that on both sides, in the underlying data, @-mentions are more than just plaintext. In Bluesky, they're based on the bridged account's DID, which we don't know until we create it. And in the fediverse, they're HTML links and Mention tags, which will result in confusing UX if the mentioned account doesn't exist yet.

Regardless, Bridgy Fed can definitely do better than it does now. Feel free to follow the issues above!

@snarfed snarfed closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants