jerboa
jerboa copied to clipboard
"internal" deeplinks should open in Jerboa, not in a browser
- [X] Did you check to see if this issue already exists?
- [X] Is this only a single feature request? Do not put multiple feature requests in one issue.
- [ ] Is this a question or discussion? Don't use this, use https://lemmy.ml/c/jerboa
** 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:
- Community
- Post
- Comment in Post
- User
Perhaps more that I can't think of right now.
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.