mihon icon indicating copy to clipboard operation
mihon copied to clipboard

Support for tracker URLs inside mihon

Open Shamicen opened this issue 1 year ago • 4 comments

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-Source manga. I would like some feedback about the best place to do this.
  • Kitsu and MangaUpdates do 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

Shamicen avatar Mar 02 '24 17:03 Shamicen

Tracker is one thing but like only 2 site I know include those, Not really interested in other web links.

AntsyLich avatar Mar 03 '24 21:03 AntsyLich

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.

Shamicen avatar Mar 03 '24 22:03 Shamicen

OK I'll change it to only display tracker links.

Done

Shamicen avatar Mar 06 '24 01:03 Shamicen

Can you extract the non-ui bit on a separate pr

AntsyLich avatar Mar 22 '24 13:03 AntsyLich