jerboa icon indicating copy to clipboard operation
jerboa copied to clipboard

Rewrite links in /c/community@server or /u/user@server in appropriate ways

Open Barbariandude opened this issue 2 years ago • 4 comments

In lemmy-ui, a link formatted in the ways described in the title are automatically rewritten to the appropriate URL by prepending the URL of the instance the account is from. This functionality is missing from Jerboa. Not the most urgent thing in the world as users can use the website instead, but definitely something that should be looked at at some point.

Barbariandude avatar Jun 07 '23 21:06 Barbariandude

Is this referring to the copy permalink button? Or content that's in the markdown fields?

If its the permalink, we should probably use the original links, and if its the latter, jerboa doesn't even have a smart auto-filler for users and communities yet like lemmy-ui does.

And when it does, we'll need to match lemmy-ui, and add both links (a local and a fedi-link) : https://github.com/LemmyNet/lemmy-ui/issues/1048

dessalines avatar Jun 08 '23 19:06 dessalines

If I format a link like [this](/c/[email protected]) in the web UI, then other users see the link as https://my.server/c/[email protected]. This is very useful functionality once people get used to it. It would be nice if the functionality matched in Jerboa.

Barbariandude avatar Jun 09 '23 11:06 Barbariandude

There's a good example here:

https://lemmy.ml/comment/482011

The link works fine in the web UI but not in Jerboa.

a1studmuffin avatar Jun 09 '23 14:06 a1studmuffin

This has been merged and I believe resolved.

beatgammit avatar Jun 21 '23 13:06 beatgammit