-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[enhancement] [webui]: Add colour coding to indexer results paragraph #15080
Comments
The current design of Jackett does not allow for that information to be made available. There are multiple enhancement tickets open for adding pagination processing, but most have stalled. The Jackett dashboard search is actually a small part of the Jackett function, its main goal is to provide Torznab responses for *arr apps, which only expect up to 100 results (some reject more), and do not need to fetch every possible result in one request as they provide a full query, so usually get back a smaller number of specific results. I would suggest red for error, green for success and leave it at that. I'm always open to opinions from the other team members, so don't treat what I've said as the definitive answer set in concrete. ;-) |
Thanks for your feedback.
Yea, this makes sense. I wasn't thinking about performing extra requests per tracker for single dashboard search, more in the lines of... if parser, while parsing first page of results, also takes a look at the pagination on the tracker's 1st results page and returns total number of torrents along with actual torrents from first page. I could make use of that, but its not something to add just for a bit of styling on dashboard search page. |
Red for error makes sense. I do like 0.5 opacity/grey for 0 results (a quick way to identify them, without being in your face), then just leave those with results as black, rather than making things too colourful. Make a PR, we can comment more once we can play around with it, get a better idea of how it looks. Thanks. |
v0.21.1855 |
Is there already a request for your feature?
Is your feature request related to a problem? Please describe.
Not a problem, but it makes it easier to spot indexers that returned errors, no results or max results, especially if using10+ indexers.
Describe the solution you'd like
Add color coding to list of indexers used in search:
Question: Is there a way to know for all (or most) indexers if they query generated more results than displayed (for example, multiple pages of results, but Jackett only parses the first one)?
If not, how hard would it be to add this? One solution is to add textbox into tracker configuration for users to enter max number of results configured for that tracker. If user does not add any number, they never see yellow style.
Example:
![image](https://private-user-images.githubusercontent.com/132844947/307506892-dc02a169-a2f0-44b0-a89a-c45f38368e1e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1ODg0NTYsIm5iZiI6MTcyMDU4ODE1NiwicGF0aCI6Ii8xMzI4NDQ5NDcvMzA3NTA2ODkyLWRjMDJhMTY5LWEyZjAtNDRiMC1hODlhLWM0NWYzODM2OGUxZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMFQwNTA5MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iNWM3YzQ0NGFhOGJkNTk4MGE5MGY5YzI2NWM2ZTA4ZTQ0YThkMDIxZjA1MGJmZDE4MDcxZDgzZDEwOTZiZjJkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.uiJ2vsU5dsc3cn07gw7dJYq1FPEIsyGauZ5EFKEA2E4)
If approved, I can submit PR.
Describe alternatives you've considered
No response
The text was updated successfully, but these errors were encountered: