itch.io: browse the Store tab by sort and price, with paging and a disk cache

The Store tab only had four fixed shelves and a title search. A row of sort
(Popular, New, Top rated, Top sellers) and price (Any, Free, On sale) chips now
sets a BrowseQuery; anything but the defaults swaps the shelves for that query's
games, loaded page by page as the grid scrolls.

ItchBrowse builds itch's listing-feed URL (platform and tag segments are in the
builder for the next change), tries each spelling of a price filter until one
answers, spaces requests 1.2 s apart, backs off once on a 429, and keeps pages
in the app cache for three hours. Every request is logged with its status and
game count so a wrong URL guess can be fixed from a device. Owned games replace
their browse copy so Install and the owned markers are right, and the detail
page finds browse results.

Strings for all 33 locales; URL-builder tests; docs/development/itch-browse.md.
This commit is contained in:
FX192 committed 2026-10-24 07:49:05 +03:00
1 parent 8f0bd51fd8
commit cc0a4f5aa9
40 files changed
+708 -8

No files matched your search

+9
View File
@@ -2004,6 +2004,15 @@
<string name="stores_itch_no_exe">डाउनलोड में कोई Windows गेम नहीं मिला</string>
<string name="stores_itch_extract_failed">डाउनलोड एक्सट्रैक्ट नहीं हो सका (कोड %1$d)</string>
<string name="stores_itch_no_catalog">itch.io ने जवाब नहीं दिया</string>
<string name="stores_itch_sort_popular">लोकप्रिय</string>
<string name="stores_itch_sort_new">नए</string>
<string name="stores_itch_sort_top_rated">सबसे ऊँची रेटिंग</string>
<string name="stores_itch_sort_top_sellers">सबसे ज़्यादा बिकने वाले</string>
<string name="stores_itch_price_any">कोई भी कीमत</string>
<string name="stores_itch_price_free">मुफ़्त</string>
<string name="stores_itch_price_sale">सेल में</string>
<string name="stores_itch_load_more">और लोड करें</string>
<string name="stores_itch_browse_failed">itch.io से गेम लोड नहीं हो सके</string>
<string name="stores_itch_archive">%1$s आर्काइव समर्थित नहीं हैं</string>
<string name="stores_itch_download_failed">itch.io ने HTTP %1$d लौटाया</string>
<string name="stores_free">फ़्री</string>