Refined-github: `expand-all-hidden-comments` doesn't work on super-long issues

Created on 25 Mar 2020  Â·  2Comments  Â·  Source: sindresorhus/refined-github


I'm attempting to expand all 671 comments found in this issue: https://github.com/Koenkk/zigbee2mqtt/issues/1429

I have the Refined Github extension v20.3.16 added to Google Chrome v80.0.3987.149 on MacOS 10.15.3, and I have added a personal token within Options.

When I Option+Click the "Load More..." link, it very quickly disappears and just shows the first of the latest set of comments from 8 days ago. e.g.

image

After trying Opt+Click:
image

This is the related pull request: https://github.com/sindresorhus/refined-github/pull/2754

TIA

bug help wanted

All 2 comments

Did some debugging. Looks like if you do more than 250, it loads 60 and hides the button

I didn't check the limit, but yes, alt-clicking that "Load 672 more..." button returns a 404 instantly.

To be fair, this feature is rather hostile to GitHub because it forces them to render huge pages.

What we can do, if easy, is to limit it to ~200 items, so loading the whole conversation would require 4 clicks instead of the regular 12

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shivapoudel picture shivapoudel  Â·  3Comments

olso picture olso  Â·  3Comments

fregante picture fregante  Â·  3Comments

sindresorhus picture sindresorhus  Â·  3Comments

yakov116 picture yakov116  Â·  3Comments