Paperback-iOS / app

Repository to host app releases, issues, and feature requests for Paperback
https://paperback.moe/
663 stars 20 forks source link

[REQUEST] Open Manga through paperback:// #781

Open ofelizestevez opened 1 year ago

ofelizestevez commented 1 year ago

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.

FaizanDurrani commented 1 year ago

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

ofelizestevez commented 1 year ago

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.