r/JoeyForReddit • u/ZoomSass • 15h ago
Suggestion Mighty Morphing Patches 1.7
I've just released 1.7 which you should get shortly. Alongside quite a few underlying fixes I've simplified the patch list for ease and added in some smaller features/tweaks.
I've also been reviewing the loading comments issue that some users get, while others don't. In short: Use login with client ID patch and redreader ID.
In summary, after logging and digging through the api calls made, it seems that the client ID for joey currently has a much smaller number of permitted requests compared to the redreader ID. It actually appears that this may be somewhat shared between users somehow and has a 10 minute refresh window for 1000 requests.
This would explain why sometimes refreshes immediately fail (the limit has been exceeded and 10 minute window hasn't refreshed), sometimes its slow to refresh (I believe a general reddit loading issue/heavy load etc) and when a refresh fixes things (10 minute window is refreshed). It would also explain why other 3rd party clients needed the client ID fix and others less so, if the pool is shared and apps had different levels of users.
Redreader on the other hand has a seemingly singluar pool, just for yourself, of 10,000 requests in 10 minutes. A post/comment load counts as one here.
Here's an example from some debugging code I used to test the client ID findings:
Joey's own client ID, first call of a run (1.3.6.165): Pool size (used + left): 1000, highest used seen: 979, last left: 21, resets in: 39s First call of this run already showed 979 used, 21 left (at 20:39:22). Anything above what this phone sent is other people's traffic.
and redreader:
RedReader's client ID, same check (1.3.6.164): Reddit said slow down (429): 0 time(s) this run Pool size (used + left): 10000, highest used seen: 12, last left: 9997, resets in: 236s First call of this run already showed 12 used, 9988 left (at 09:36:24).
This is purely my own debugging and reading of the api responses, and I would be happy to be corrected by someone more informed.
What you can do about it
As I mentioned above, use the Login with own client ID patch and use your redreader ID. I've had this applied for several days now and haven't had a single loading issue. I'm also a bit burnt out checking logs here and don't plan to look into this much further unless someone sees something different.
The other minor fix (and this is likely to have a small affect if any) is additional toggles in Morphe settings from the updated/revised Comment loading fixes patch. These are off by default, but do allow you to see how long to wait when the limit is reached (very temperamental), and one that looks to only loads comments for the post you're on. Be default joey loads the posts on either sides to make swiping between these have comments pre-loaded i.e. 1 request compared to 3.
I'll be working through the to be added list and issues list, and I do go through each reddit post for issues/feature requests too, even if I don't reply to each so feel free to add these below.
https://github.com/ZoomSass/Mighty-Morphing
Github Release notes: New and changed
- Patches are tidier: 21 become 16. Comment loading fixes replaces Fix collapsed replies and Reddit rate limit. Media and tweaks replaces Media enhancements, Dismiss without tearing, Disable tooltips, Search auto open keyboard and Subreddit filter options. Everything else keeps its name, default and settings.
- Rate limits (off by default, in Morphe Settings; not needed with your own client ID): when Reddit says to wait, Joey shows how long and stops retrying until then. Comments for neighbouring posts load only when you swipe to them, so one post costs one request.
- Report a problem is now for users: pick what's wrong, review the report, and choose Copy, Share or Upload. It leaves out names, post IDs and links.
- Fonts: new Fonts window with a live preview, one font for all text in a single tap, imported .ttf and .otf fonts. Finer testing likely needed here so report any issues.
- Post titles now use the font you pick, and tags and flair have a tickbox to use the phone's font.
- Thumbnail can sit on the left in the Thumbnail post style.
- Video and GIF pages have a Back button.
- Modern UI keeps Joey's bottom toolbar when it's turned on.
- The seasonal banner now switches on the day the season starts, even if Joey was left open overnight.