You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add way to load *all* comments when some are hidden due to number of comments #1892
Scroll down the the "Load more ..." (below "NNN hidden items" for some NNN).
The link there only loads some of the comments. It would be great to have a way to load all of them (e.g. it would help for people who then use search to find text in the page).
(I did try Alt-click; it did not work for me in this context.)
Reacted by fregante, Sindre Sorhus, yourduskquibbles, Gabriel Ebner, embeddedt, Jean Mertz, Oleg Pryadko, Aaron Hill, lucy, Marcin Warpechowski and 16 more
This kinda makes sense because if I'm looking for something in those comments, chances are I want to check them all out. However we still need to limit this to, maybe 3 loads at a time, or else on the rare super-long discussion it might load too many pages nobody needs.
Here’s maybe a simpler request: could we add a “load more ...” button that is always in the same (hopefully easily accessible) location, eg right below the description, and just grated out when all are loaded, so that the work flow for loading all comments doesn’t involve repeatedly searching for the link after each load, and instead one can just sit and hit the button in one place until it’s all done?
This can just be added with alt+click, it will probably look a lot like infinite-scroll but instead of using IntersectionObserver it just waits for the click event.
Funnily enough, I came searching for this feature request for the exact same reason (searching for a string in Rust RFCs, and not finding them because the comments are collapsed).
What makes this even more awkward is that searching for that string in the repo itself does return issues containing that string as a result, but then opening that issue, the string can no longer be found, because it is collapsed.
Personally, I'd like to have a "load all" button, or even better yet "always load all", but I can see how that might be detremental to page loading times (although the current workflow described by @pnkfelix of having to grep for "load more" clicking it, and repeating that several times takes way more time than an initial load all would cost).
Reacted by Tapio Nurminen, Ryo Onodera, Tim Spriggs, AGSPhoenix, Guilherme Borges Dias, Tres Finocchiaro, Josh, Maël Valais, llamasking, Jiacong Fang and 13 more
Reacted by Harshit Maurya, Brent, Yu FUJISAKI, JulianSza, Josh, roman-khazanskii, Ben Tilley, Marc-Philipp Knechtle and HIROYUKI HIGUCHI
Activity
fregante commentedon Mar 30, 2019
This kinda makes sense because if I'm looking for something in those comments, chances are I want to check them all out. However we still need to limit this to, maybe 3 loads at a time, or else on the rare super-long discussion it might load too many pages nobody needs.
pnkfelix commentedon Mar 31, 2019
Here’s maybe a simpler request: could we add a “load more ...” button that is always in the same (hopefully easily accessible) location, eg right below the description, and just grated out when all are loaded, so that the work flow for loading all comments doesn’t involve repeatedly searching for the link after each load, and instead one can just sit and hit the button in one place until it’s all done?
fregante commentedon Apr 1, 2019
I don’t think that can integrate nicely with the design.
fregante commentedon Jun 6, 2019
This can just be added with alt+click, it will probably look a lot like
infinite-scrollbut instead of usingIntersectionObserverit just waits for the click event.JeanMertz commentedon Aug 21, 2019
Funnily enough, I came searching for this feature request for the exact same reason (searching for a string in Rust RFCs, and not finding them because the comments are collapsed).
What makes this even more awkward is that searching for that string in the repo itself does return issues containing that string as a result, but then opening that issue, the string can no longer be found, because it is collapsed.
Personally, I'd like to have a "load all" button, or even better yet "always load all", but I can see how that might be detremental to page loading times (although the current workflow described by @pnkfelix of having to grep for "load more" clicking it, and repeating that several times takes way more time than an initial load all would cost).
warpech commentedon Nov 4, 2019
I would really appreciate this feature. For now, here's a recursive user script that works for me:
Here's a version that also expands "Show resolved" comments:
Load all hidden comments on page load
Load all hidden comments on page load
RentecAaron commentedon Feb 18, 2022
The above recursive script is outdated. Here's a script that will load all hidden comments, including resolved.