app icon indicating copy to clipboard operation
app copied to clipboard

[REQUEST] Open Manga through paperback://

Open ofelizestevez opened this issue 2 years ago • 2 comments

Description Expanding the paperback:// url to open a manga from external links. For example, paperback://addRepo automatically takes us to adding a repo, so an example url could be paperback://openManga?sourceId={sourceId}&mangaId={mangaId} which opens directly into a manga.

How would it improve the App? It would give source developers the ability to create external services, such as a notification service, that links back to the Paperback app seamlessly.

ofelizestevez avatar Jul 16 '23 19:07 ofelizestevez

Hmm, interesting usecase. How would the app handle sourceIds that aren't installed?

FaizanDurrani avatar Jul 16 '23 20:07 FaizanDurrani

I think the simplest solution would be to use an alert with a close button with text such as "Source was not found." it might not be the best for UX , as it leaves the user hanging, but its simplest and has the least amount of assumptions.

another solution could be an alert informing the user that the source hasn't been installed and asks them if they'd like it to install it or not. But I think that would be more complicated as we'd have to make sure the user has added the repository to paperback (otherwise it could be installed automatically if the repo link is included in the url query). If this approach is taken then maybe show a loading wheel while the app does all that in the background, then when ready it could automatically open up to the manga.

Overall I'd probably go with the first one though.

ofelizestevez avatar Jul 16 '23 22:07 ofelizestevez