this post was submitted on 10 Jun 2023
1382 points (98.8% liked)

Memes

45895 readers
1314 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
1382
submitted 2 years ago* (last edited 2 years ago) by SeaStar to c/[email protected]
 

People need to realize you can use alternatives

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 18 points 2 years ago (3 children)

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.

[–] [email protected] 16 points 2 years ago (2 children)

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.

[–] [email protected] 13 points 2 years ago (1 children)

For now, as a workaround, you can manually make it a hyperlink: /c/[email protected]

Just use [/c/[email protected]](/c/[email protected]). This should open correctly on all instances.

[–] [email protected] 9 points 2 years ago* (last edited 2 years ago)

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/[email protected]). 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

[–] [email protected] 8 points 2 years ago (1 children)

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.

[–] [email protected] 5 points 2 years ago

Yeah, I’m sure we’ll eventually get apps and such that handle it better.

[–] [email protected] 3 points 2 years ago

It also doesn't work in the mobile app, I'd love to see it work there soon too