Support for tracker URLs inside mihon
I implemented a field for website URLs.
Features:
Users can open a tracker-links manga inside the Mihon tracker search by pressing "Open in Mihon:
(Only logged in trackers have this option)
New custom icons for every external tracker:
Other
- Tracker use their name inside the
Chip. - I still need to implement URL validation for
Http-Sourcemanga. I would like some feedback about the best place to do this. KitsuandMangaUpdatesdo not have the manga id in their tracker URLs, so I'm only performing a normal search at the moment.- We could implement a copy metadata from tracker button once #398 is merged.
- The chip will only be shown if its manga is not already being tracked.
- The MyAnimeList logo has 2 versions, the current one is the "stretched" version, we could change back to the normal version if wanted.
Icons
I used the program mentioned in CustomIcons.kt (https://github.com/DevSrSouza/svg-to-compose) to turn the svg files into Kotlin code
The icons are from the following sources:
MyAnimeList: (CC0 License) https://icon-icons.com/icon/myanimelist-logo/248409
Anilist: (CC0 License) https://www.svgrepo.com/svg/329929/anilist
Kitsu: (CC0 License) https://www.svgrepo.com/svg/330791/kitsu
Shikimori: (CC0 License) https://www.svgrepo.com/svg/306721/shikimori
MangaUpdates: I used the image inside res/drawable-nodpi/ and made a svg from it.
Bangumi: I used the image inside res/drawable-nodpi/ and made a svg from it.
All external Icons are licensed under CC0
Tracker is one thing but like only 2 site I know include those, Not really interested in other web links.
Tracker is one thing but like only 2 site I know include those, Not really interested in other web links.
OK I'll change it to only display tracker links.
OK I'll change it to only display tracker links.
Done
Can you extract the non-ui bit on a separate pr