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 }}
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Pull request page should allow to expand all comments quickly #1190
When pull request has many comments, links from mail notifications no longer work. This happens when comment from mail is collapsed, hidden "behind" NN Hidden conversations \n Load More....
Please provide a button / option / whatever to expand all such hidden conversations.
Reacted by Matt Bauman, melissachang, Chun-wei Kuo, Maxime Gabut, Roberto Carboni, Shmulik Flint, Gautam Gupta, Felix Rabe, Ricardo Abreu, kuwa0224 and 31 more
Reacted by Łukasz Osipiuk, Grzegorz Kokosiński, melissachang, Grigorii Entin, Shmulik Flint, guy-blockchain, Connor Brinton, Steve Burkert, Denis Silva, Gordon Mohr and 1 more
// Expand all collapsed commits$$('.js-timeline-progressive-disclosure-button').forEach(el=>el.click());// Expand all collapsed conversations$$('button').filter(el=>el.innerText==='Load more…').forEach(el=>el.click());// Expand all collapsed threadsconstcollapsedEls=$$('.outdated-comment').filter(el=>!el.open);collapsedEls.map(el=>el.querySelector('.js-toggle-outdated-comments')).forEach(el=>el.click());// Expand all collapsed outdated threadscollapsedEls.map(el=>el.querySelector('.js-toggle-outdated-comments')).filter(el=>el.querySelector('.show-outdated-button').textContent==='Show outdated').forEach(el=>el.click());
As you see above, ! is valid part of URL (ie won't be url-escaped when copying from browser address bar) but is not treated as such by markdown (obviously), so after the initial publish with ! I also published without ot avoid 404s.
I didn't foresee this when picking up initial name...
Activity
findepi commentedon Feb 22, 2018
I crafted some ugly cheap workaround: https://openuserjs.org/scripts/findepi/GitHub_PR_expand,_expand,_expand!
findepi commentedon Mar 1, 2018
i mailed GH support about PR mail updates having dead links.
OliverJAsh commentedon Sep 12, 2018
https://gist.github.com/OliverJAsh/bc842d8e50fb946a03af7d7b356d832d
findepi commentedon Sep 12, 2018
@OliverJAsh this works unless there is even more comments; then "load more..." won't load everything at once, you need to click "load more..." in a loop until all are loaded.
Did you try the script i published on userscripts (https://openuserjs.org/scripts/findepi/GitHub_PR_expand,_expand,_expand!)? It does exactly that.
aeikum commentedon Dec 9, 2019
@findepi That script works great, nice work! I'd suggest also matching
issuesURLs. I did this locally and it seems to work fine.findepi commentedon Dec 17, 2019
@aeikum thanks for kind words. I published my userscript's source on Github (https://github.com/findepi/user.js/blob/master/github-expand-expand-expand.user.js) so it's easier to collaborate.
hassifmohd commentedon Mar 27, 2020
emm how to use? using GreaseMonkey?
edited
Install guide
you need to install TamperMonkey for Google Chrome
https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo/related?hl=en
Go here and click install
https://openuserjs.org/scripts/findepi/GitHub_PR_expand,_expand,_expand!
findepi commentedon Mar 27, 2020
@hassifmohd yes
As you see above,
!is valid part of URL (ie won't be url-escaped when copying from browser address bar) but is not treated as such by markdown (obviously), so after the initial publish with!I also published without ot avoid 404s.I didn't foresee this when picking up initial name...