steamdb.info-issues
steamdb.info-issues copied to clipboard
Show only games of my library in the instant search
This is a feature request to add an option in the left menu to show only the games you already have and check metacritic scores and information about your library in one sight.
I added my +1. It could also be interesting to later expand it to search trough another profile's library, or specify more than one library to filter with (it could show the common games in a group, for instance, or just someone else's games). The opposite would be nice to have as well: "not in library".
they still didnt add this feature...
Doesn't this issue belong to the web extension? Anyway, I agree it would really be nice to use collection filters, such as owned/unowned/ignored/wishlisted.
Doesn't this issue belong to the web extension?
This is a site feature.
These filters are hard to do efficiently, because your browser would have to keep requesting pages from Algolia until it can fill a screen (we can't upload what you own to Algolia for filtering).
How well does Algolia handle thousands of filters?
How well does Algolia handle thousands of filters?
I am not going to put your entire game list into every request.
When you are doing any search request, there is an icon indicating a game is in your library. There is a request to check your library for sure, I think the solution could be filter the games that doesn't have this mark
When you are doing any search request, there is an icon indicating a game is in your library. There is a request to check your library for sure, I think the solution could be filter the games that doesn't have this mark
Well that's not done by the agorlia backend, but on the clientside in instantsearch.js:
return window.SteamDB.OwnedApps.has(n) ? e.ownClass = "owned" : window.SteamDB.WishedApps.has(n) && (e.ownClass = "wished"),
So, you could technically just hide the results you don't want, but that may lead to empty pages or at the very least very inconsistent pages of search results.
I see. Could you request more pages from the backend module until you have enough results to format them in the frontend?
I see. Could you request more pages from the backend module until you have enough results to format them in the frontend?
I think you can, but I also believe that defeats the purpose of using this search engine. Ultimately, it's up to @xPaw.
maybe there is another way... could you do the search sending all the games ids from the frontend and filter in the backend? with some libraries it could be a little overkill, but you do less request in the end
oh, I have just seen @xPaw response https://github.com/SteamDatabase/steamdb.info-issues/issues/533#issuecomment-827856429 forget about it haha