this post was submitted on 01 Jun 2023
312 points (100.0% liked)
Lemmy.ca's Main Community
45 readers
1 users here now
Welcome to lemmy.ca's c/main!
Since everyone on lemmy.ca gets subscribed here, this is the place to chat about the goings on at lemmy.ca, support-type items, suggestions, etc.
Announcements can be found at https://lemmy.ca/c/meta
For support related to this instance, use https://lemmy.ca/c/lemmy_ca_support
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
My big question is why can't we have auto-generated links to the appropriate lemmy.ca page for communities on remote instances. It seems odd that following links to communities takes you to the host instance when you generally speaking you won't be logged in there. Hopefully this feature will come in the future (or maybe it already exists but I haven't found it)
That feature is actually partially implemented, but the client you're using (web browser or mobile app) fights you a bit in interesting ways:
On web, when typing in a Lemmy community like !fediverse@lemmy.ml the client will try to help you complete it, but it completes to a remote instance link: !fediverse@lemmy.ml
If you change the markdown for that link to point relatively, then it follows standard URL conventions and works in your current instance: !fediverse@lemmy.ml (You can select
view source
on this comment to see how I modified this link) However, this same link will probably not work on mobile clients, as the operating system determines how to handle URLs.Thanks. I'm not sure that's exactly what I'm imagining, because this still involves hard-coding an instance to the link. People from many different instances might be viewing the link, so I'd imagine a flow like: when you mouse-hover a link to a community, a little popup appears which provides a custom link based on your home instance. So whether !fediverse@lemmy.ml is a link to the lemmy.ml or lemmy.ca domain wouldn't matter, ideally you'd always get the option of viewing the community from your home instance at a single click. Hope that makes sense, today is my first day after all.
I totally agree. That's the behaviour I also expected from the default "!"-prefaced community links. Unfortunately it currently doesn't work that way, but if I have time later this week I may take another look into the source code to see if an easy fix can be done.
Found this recent GitHub issue discussing this.