I think this occurs because people haven’t gotten used to linking to communities on other instances properly.
They usually post the direct link like beehaw.org/c/technology . Instead they should start using the federated link which is more instance agnostic like this: /c/[email protected] . This link will load the community from your instance.
Maybe a pull request can be made to change the auto fill behaviour. At least in the browser, start typing !technology and it will display a list of the technology communities. Unfortunately, selecting one, [email protected] for example, autofills to [[email protected]](https://beehaw.org/c/technology). This method opens up the Beehaw instance directly.
Maybe it should autofill [email protected] to [[email protected]](/c/technology@beehaw.org). This method opens the community through your current instance.
Yeah. A shorter-term solution might be a browser plugin that recognizes links like that and converts it to a hyperlink to that community on whatever instance you tell it. I’m not a programmer but that does seem like a relatively simple plugin for somebody that actually knows what they’re doing.
I think this occurs because people haven’t gotten used to linking to communities on other instances properly.
They usually post the direct link like beehaw.org/c/technology . Instead they should start using the federated link which is more instance agnostic like this: /c/[email protected] . This link will load the community from your instance.
FWIW, on a browser the /c/technology link you posted isn’t a hyperlink, so I can’t actually interact with it. It doesn’t work in mlem either.
For now, as a workaround, you can manually make it a hyperlink: /c/[email protected]
Just use
[/c/[email protected]](/c/technology@beehaw.org)
. This should open correctly on all instances.Maybe a pull request can be made to change the auto fill behaviour. At least in the browser, start typing
!technology
and it will display a list of the technology communities. Unfortunately, selecting one, [email protected] for example, autofills to[[email protected]](https://beehaw.org/c/technology)
. This method opens up the Beehaw instance directly.Maybe it should autofill [email protected] to
[[email protected]](/c/technology@beehaw.org)
. This method opens the community through your current instance.Seems like line 703 of https://github.com/LemmyNet/lemmy-ui/blob/main/src/shared/utils.ts#L703 is the relevant code. I’m away for the weekend so can’t do much myself at the moment
Yeah. A shorter-term solution might be a browser plugin that recognizes links like that and converts it to a hyperlink to that community on whatever instance you tell it. I’m not a programmer but that does seem like a relatively simple plugin for somebody that actually knows what they’re doing.
Yeah, I’m sure we’ll eventually get apps and such that handle it better.
It’s the ui that should rewrite links to the local instance
It also doesn’t work in the mobile app, I’d love to see it work there soon too