mihonapp / mihon

Free and open source manga reader for Android
Apache License 2.0
10.72k stars 492 forks source link

Expand Tracker Search #514

Open nopeha opened 8 months ago

nopeha commented 8 months ago

Describe your suggested feature

There are times when a tracker I know has a manga, but it doesn't appear in the list of available manga when I search the tracker through mihon. I sometimes find I have to come back to an entry in my library and hope that the next time I search a tracker it pops up so I can select it.

What I'm suggesting is a "load more" feature to allow users to search a bit further. I wouldn't suggest loading up all search results at once (seems bad for both mihon and tracking service), but having the ability to search more results would be helpful.

If this is optional for users, I think that would best to keep them from spamming trackers. If there is a toggle in the settings to expand tracking services searches with a warning regarding spamming the tracker could result in consequences from the tracking sevice (if that's an issue), I believe it'd be best.

Other details

No response

Acknowledgements

MajorTanya commented 8 months ago

You could try variants of the title, like Romaji, Japanese, or English titles when you search a tracker.

Most of them try to return results ordered by relevance, so a "Show More" would just show even less relevant entries.

nopeha commented 8 months ago

You could try variants of the title, like Romaji, Japanese, or English titles when you search a tracker.

Most of them try to return results ordered by relevance, so a "Show More" would just show even less relevant entries.

Unfortunately, I have a series simply called "Vampire" which, as you can imagine, yields a lot of results regardless of the language chosen, but none are the correct one. However, I can go onto the trackers site and it is there.

That's just an example of where a load more would be helpful, or further search filters (author or artist particularly).

BrutuZ commented 8 months ago

I am pretty sure you can search for the ID in these cases

nopeha commented 8 months ago

I am pretty sure you can search for the ID in these cases

Tried that for the title with MAL, didn't see it come up (https://myanimelist.net/manga/156200). It did, however, prioritize showing me results with "200" in the title when searching for 156200. If I need to include something else for the search for ID, please let me know. If it works for certain trackers that may be why I didn't see it for MAL, in this instance.

Even if the ID method did work, that isn't very intuitive or directed by the app to do for the average user who may not know there is even an entry on a tracker. I only know there is one on MAL because a source has it listed. This isn't always the case. If it did work by ID, I'd suggest the placeholder text of "Search..." should change to "Search by Work Name or ID" or something closer. That'd be a separate ticket, though.

MajorTanya commented 8 months ago

I am pretty sure you can search for the ID in these cases

Tried that for the title with MAL, didn't see it come up (https://myanimelist.net/manga/156200). It did, however, prioritize showing me results with "200" in the title when searching for 156200. If I need to include something else for the search for ID, please let me know. If it works for certain trackers that may be why I didn't see it for MAL, in this instance.

Even if the ID method did work, that isn't very intuitive or directed by the app to do for the average user who may not know there is even an entry on a tracker. I only know there is one on MAL because a source has it listed. This isn't always the case. If it did work by ID, I'd suggest the placeholder text of "Search..." should change to "Search by Work Name or ID" or something closer. That'd be a separate ticket, though.

ID search uses the id: prefix, as seen here Screenshot_2024-03-14-20-35-43-995_app.mihonya.png

BrutuZ commented 8 months ago

For MAL you have to prefix the ID with id:, so it would be id:156200

nopeha commented 8 months ago

That makes so much more sense! Thank your for helping me find it via the ID method. This will really help me out.

I do think a show more is a good idea, however I understand why it wouldn't be implemented. If not, I think it would be a good idea to make note in the search field to search by id if needed. Or even a note on the Tracking Settings page that it's a method of searching.

This thread can be closed if neither suggestion is taken, no biggie.

mm12 commented 3 months ago

You could try variants of the title, like Romaji, Japanese, or English titles when you search a tracker.

^^ I would love if it was easier to do this, like instead of "show more" we had "check alternative titles" when the source provides them.

BrutuZ commented 3 months ago

"check alternative titles" when the source provides them

Non-standard, so not happening. Can only wish for such a field on extensions-lib v2

mm12 commented 3 months ago

True. Perhaps scan the description for a format ?

BrutuZ commented 3 months ago

Perhaps scan the description for a format ?

Again, non-standard. Each source is free to slap whatever they want and each extension can process it on their own way or even ignore the information completely. Are the alternatives provided separately on the site/API or built into the description? If the latter, does the "list" have a header? What's the separator, comma, semi-colon, pipe, newlines, newlines with prefixes...

Too many variables to account for. It needs to be a proper field on the SManga interface so that extensions handle processing the information when available and declare it consistently.

mm12 commented 3 months ago

Perhaps scan the description for a format ?

Again, non-standard.

Fair enough.