LemmyNet / jerboa

A native android app for Lemmy
GNU Affero General Public License v3.0
1.16k stars 166 forks source link

"internal" deeplinks should open in Jerboa, not in a browser #524

Open oscarnylander opened 1 year ago

oscarnylander commented 1 year ago

Describe the feature request below

Currently, when tapping a link that is a Lemmy-link, the link opens in the browser. While handling links externally to open in the app is quite a bit more challenging due to the at build-time unknown Lemmy-hosts, we should be able to intercept link opening while inside the app, to load these Lemmy-links inside Jerboa.

Supported link types could be:

Perhaps more that I can't think of right now.

beatgammit commented 1 year ago

It looks like communities and users are already implemented.

So the only things left are comments and posts, and I think those could be done pretty easily. We already have permalink support, so it should be as easy as following the logic here to implement the rest.

This would probably be a good first issue for someone since there's already examples of what to do.