jerboa icon indicating copy to clipboard operation
jerboa copied to clipboard

Open links of posts and communities in app

Open PassionateG1t opened this issue 2 years ago • 7 comments

Right now when someone links another post or a community, it redirects to the web. The ability to open them in the app itself would be useful.

PassionateG1t avatar Jul 14 '22 18:07 PassionateG1t

This should be implemented in the app system settings, but with the possibility to add custom URLs, let's say for every single Lemmy instance. Alternatively - and that would be way better - it could be done via app updates, updating time by time the list of instances and adding the related URLs to the list.

EdoSecco avatar Sep 15 '22 19:09 EdoSecco

Agree, this would be useful to have. But this requires a hardcoded list of URLs, so I would probably only add these for the most popular instances, and any others on request.

dessalines avatar Sep 19 '22 19:09 dessalines

These do appear to be working.

dessalines avatar Oct 04 '22 22:10 dessalines

If I try to open https://feddit.it/post/75565 the app goes to https://lemmy.ml/post/75565 Same for groups, https://lemmygrad.ml/c/starwars > https://lemmy.ml/c/starwars

Should I check something in order to have it working in the right way?

EdoSecco avatar Oct 15 '22 09:10 EdoSecco

It can't use the right link unless your jerboa account is that server currently. I might be able to rework this but it'll pry be a while.

dessalines avatar Oct 15 '22 13:10 dessalines

I get the feeling constantly adding hardcoded instances to the deeplink support is going to get annoying, and yet as a user I would like to keep all my activity inside the app.

I've got the following instance requests

midwest.social mander.xyz slrpnk.net lemmy.ca

Thanks!

I'm going to put in a feature request with the Android dev team to let the user add custom URLs inside the system settings.

0hCome0n avatar Jun 02 '23 03:06 0hCome0n

It is definitely annoying. I think the way I'm going to handle it, is like other federated apps: just let the search box allow you to paste in urls, so you can view its representation in the app. Because this has been a mess to get working and maintain.

dessalines avatar Jun 02 '23 14:06 dessalines

I'd like to have the option to open these links directly in the app without going through the system. Since Android 12 crippled the "open with" dialogue, it's hardly usable at all.

But since these internal links tend to follow their own link scheme, it shouldn't be too hard to not render them as a link that goes through the system, but instead opens directly in the app.

Maybe make this toggleable, but I am pretty sure there aren't many people who want to switch to the browser when they press a link to a Lemmy community inside Jerboa. I'm in the app already, so obviously I want to use the app.

Dakkaron avatar Jun 13 '23 07:06 Dakkaron

Closing in favor of #524

twizmwazin avatar Jun 14 '23 04:06 twizmwazin