Conversation
also in product details and owned games
|
Thanks for this PR — great work upgrading to the v3 endpoint and adding plan/market configurability. The 100+ missing games fix is a big improvement. A few changed I would like to request: Naming convention
KeyError risk on invalid plan In Default plan mismatch
Inconsistent parameter passing
Otherwise this looks good — the plan map structure is clean, the UI fixes are solid, and the settings plumbing follows existing patterns well. |
Fixed, sorry about that - old habits die hard. Of course, Ruff could prevent such issues in the future: #46
Technically that should never happen (unless the user uses devtools to change the option, or directly modify the DB, or something). So generally speaking, if it does happen, it's mostly likely a bug in the program which a developer would have to fix anyway. The exception would say something like
Agreed, didn't realize there was such a state where no setting was stored.
Fair enough, fixed - I admit I didn't closely follow what calls what, maybe I'll take a stab at some refactoring to make the methods a bit shorter and easy to follow. |
|
Oh and BTW, may I suggest separate, semantic, contextual comments (on the relevant lines of code)? instead of one large comment in the discussion? Easier to track and less likely for things to be missed IMHO (you fix one, mark as resolved, the commenter verified). There is a reason they exist after all :) |
Tested against my plan (
ultimate) and region (IL) - I can confirm the exact same game count as the official Xbox web catalog (which was not the case before this change, where 100+ games were missing, including all EA Play games).