Posted 23 hours ago
I have added the ability to remember your preferred country / grouping / sort / filters. Click the "Remember and apply these settings by default" button underneath the applied filters. From then on, these will be applied automatically, specifically:
- when you visit the homepage
- when you search (with the explicit option to search without applying defaults)
You can still navigate to other countries, toggle off default filters, change the sort, toggle the grouping, etc as you'd expect. To make that possible without messing with state, defaults won't be applied if the URL contains
- any selected filter (also since that filter might conflict with your defaults, e.g. requiring and excluding the same field) - so someone can link to the results for a specific filter, and you will see what they intended.
- "defaults=false", which is automatically applied when changing country/grouping/sorting/removing the last filter - but for urls without filters, and without this variable, your defaults would override the intent.
Building this feature was a lot harder than it has any right to be. I had a bit of a combinatorial explosion with all the possible fields interacting together, and the way I'd modeled some data structures wasn't helping either. I managed to whack it into a shape which I'm mostly happy about, though. There are some ugly-ish corner-cases which I hope no one will notice consciously, but it's also quite possible that you'll encounter actual bugs - so if you see something behave in an unexpected way, please let me know! (It'd be very helpful to then include the exact URL you're on, together with the contents of your "defaults" cookie.)
SultanOfSuave: A feature that I would love to see but don't think is feasible (though I'll throw it out there nonetheless) would be a "reverse wishlist". That is to say, to have the ability to mark my disinterest towards games.
joppo: In Magog I created a tag called "Not interested" which I would put on all visual novels and everything by WhaleRock, for example. Then I would execute all my searches filtering out games that sported that tag. It worked wonderfully.
ASTROASS: There needs to be a function to hide certain publishers/games altogether somehow.
For example, whalerock's "games" consistently pollute the discount lists and just looking at them is a waste of time. Doing this for individual games remains for the long-term future (though I'm actively working toward it), but you can now remember excluding publishers/genres/... and thus have them never show up.
Cavalary: And then what I've said before, have a way to make sure that the include NSFW setting won't be cleared no matter what you do on the site. And yeah, that should also go for the selected country for prices, and for the sorting option. Remember and apply preferred country and sorting: ✅
mrkgnao: P.S. Would appreciate a cookie treatment (i.e. remember setting across sessions) for group=false, especially now that one can have owned game colouring. Remember and apply preferred grouping: ✅
Cavalary: Vivaldi. You can just add search engines manually in settings, put in the URL with %s for the keyword and good to go. So to make this work well together with the new option to remember and apply country/sort/grouping/filters, this is what you need to know:
- If you want your current defaults to apply to such a search, you should use the url with just the ?q=%s parameter (so without any other parameters - that way the defaults will always be added to it, and you won't need to update your browser search when your preferred defaults change).
- If you do NOT want your current defaults to apply to such a search, you should add &defaults=false to the url.
- when you visit the homepage
- when you search (with the explicit option to search without applying defaults)
You can still navigate to other countries, toggle off default filters, change the sort, toggle the grouping, etc as you'd expect. To make that possible without messing with state, defaults won't be applied if the URL contains
- any selected filter (also since that filter might conflict with your defaults, e.g. requiring and excluding the same field) - so someone can link to the results for a specific filter, and you will see what they intended.
- "defaults=false", which is automatically applied when changing country/grouping/sorting/removing the last filter - but for urls without filters, and without this variable, your defaults would override the intent.
Building this feature was a lot harder than it has any right to be. I had a bit of a combinatorial explosion with all the possible fields interacting together, and the way I'd modeled some data structures wasn't helping either. I managed to whack it into a shape which I'm mostly happy about, though. There are some ugly-ish corner-cases which I hope no one will notice consciously, but it's also quite possible that you'll encounter actual bugs - so if you see something behave in an unexpected way, please let me know! (It'd be very helpful to then include the exact URL you're on, together with the contents of your "defaults" cookie.)



For example, whalerock's "games" consistently pollute the discount lists and just looking at them is a waste of time.



- If you want your current defaults to apply to such a search, you should use the url with just the ?q=%s parameter (so without any other parameters - that way the defaults will always be added to it, and you won't need to update your browser search when your preferred defaults change).
- If you do NOT want your current defaults to apply to such a search, you should add &defaults=false to the url.
Post edited 22 hours ago by gogtrial34987