this post was submitted on 23 Jul 2023
22 points (95.8% liked)

Meta (lemm.ee)

3473 readers
2 users here now

lemm.ee Meta

This is a community for discussion about this particular Lemmy instance.

News and updates about lemm.ee will be posted here, so if that's something that interests you, make sure to subscribe!


Rules:


If you're a Discord user, you can also join our Discord server: https://discord.gg/XM9nZwUn9K

Discord is only a back-up channel, [email protected] will always be the main place for lemm.ee communications.


If you need help with anything, please post in !support instead.

founded 1 year ago
MODERATORS
 

Maybe this post would be more at home on a lemmy.ml community, or on github, but this place is my home and I feel like I'd like to get opinions here first :o)

Right now, there is no way to make an instance agnostic link for a post or comment, like you can do with users or communities. Each instance assigns its own number to posts and comments, and there isn't really an easy way to find a post or comment on one instance when starting from another.

For example, if I get a lemmy.world link to a post in a lemmy.world community, in order for me to comment from lemm.ee I would first have to go to lemm.ee/c/[email protected], then find the post in there manually. If I want to reply to a specific comment, I would have to find the post on lemm.ee in this way, then also search that thread for the comment. If you're looking for an old post with a lot of comments, this can be quite challenging.

Instead, I think lemmy needs to revise how it numbers comments and posts, using the same system used for users and communities. Rather than every instance using a different number, they should use the federated host's number followed by @hostinstance. The local user would still see the original federated link, but users from other instances would see it in their own instance with a tag for the federated host instance. This way, anyone could easily edit any link to make it work in their own instance (provided that link has already been federated in their own instance).


Here is a specific example I wrote in a comment elsewhere:

For a specific example, to me, this post is https://lemm.ee/post/1726780. In the original, federated instance, the post is https://lemmy.ml/post/2308622. Instead, it should appear to me as https://lemm.ee/post/[email protected].

Your comment, to me, is https://lemm.ee/comment/1409174. The federated link is https://lemmy.one/comment/1393053. This is the link you see, and should continue to see, but I should see https://lemm.ee/comment/[email protected].

Using the instance in the numbering scheme means each federated host instance manages its own numbering while ensuring there will never be a clash between instances. https://lemm.ee/comment/[email protected] and https://lemm.ee/comment/1393053 would refer to two completely different comments. This information is already being transmitted in the process of federation, so it’s just a matter of tagging the data when it’s received.

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 11 months ago* (last edited 11 months ago) (1 children)

honestly i think it should be more like this (or this)

i know people don't like to talk about reddit, but the URLs were perfect. i could see whether a post was the one i wanted just from the url, and if i wanted a shorter link i could just omit the title and it would soft redirect

i would much prefer https://lemm.ee/post/2308622/[email protected] [^1] so i know the topic of a post before even loading the page and wasting my time and data

[^1]: or even https://lemm.ee/c/snoopocalypse/post/2308622/[email protected] actually. i know minimalism is trendy these days, but seeing as much info at a glance is really useful in my opinion

[–] [email protected] 3 points 11 months ago* (last edited 11 months ago) (1 children)

I agree with that, however I think that's a separate issue to federation and instance agnostic links. Fixing both at the same time sure would be efficient, though.

Edit: Also, what's with the #fnref1 tag at the end of your URL and the symbol at the end? How did [^1] do that??

Edit2: Ohhhh I think I see now, citations, with a link back to the position the citation was in. That looks really good for long comments.

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (1 children)

I agree with that, however I think that's a separate issue to federation and instance agnostic links. Fixing both at the same time sure would be efficient, though.

that's a fair point, i guess i just saw that and my mind jumped to other url related points

it would be nice to have them both solved together though

Edit2: Ohhhh I think I see now, citations, with a link back to the position the citation was in. That looks really good for long comments.

yeah they're not in the lemmy markdown cheat sheet, but they're supported by markdown-it, the library that lemmy uses^[there's actually two different formats available as well]

[–] [email protected] 2 points 11 months ago (1 children)

One other thing that just occurred to me, putting the title in the link might not work so well with lemmy, because post titles can be edited.

[–] [email protected] 2 points 11 months ago (1 children)

actually that is a good point, i didn't think of that

still though, there's no reason not to have the original title in the url. transparency, and all

[–] [email protected] 2 points 11 months ago

Yeah, and I mean even it was abused that could be pretty funny. People posting things with weird titles then changing them immediately after, and seeing how long it takes people to notice the url.

load more comments
view more: next ›