No way to easily view all unresolved conversations #7638
Replies: 23 comments 16 replies
-
On top of this, it would be nice to also see resolved conversations (sometimes it's good to check that the PR author hasn't just resolved a comment without actually addressing the issue). I kind of feel like the little "Conversations" popover should be a full-blown view of its own. |
Beta Was this translation helpful? Give feedback.
-
I have a PR with over 400 conversations. I am only interested in the unresolved items. The experience is slow (chrome offering the wait or kill page) also, when I expand my 180 items to find the golden 5 items that are unresolved there is a random experience that all the resolved items expand out. I can not tell you what triggers this. |
Beta Was this translation helpful? Give feedback.
-
Some more thoughts on this: Maybe it could be a solution to put the conversations into a separate view? Maybe there could be a link from a conversation to the file (only the file, not the whole file view)? |
Beta Was this translation helpful? Give feedback.
-
The current way of navigating through unresolved conversations is counter-intuitive. Only a couple minutes ago I had to break out from a 3-day training, because it turned out that GitHub hid several random conversations in an important PR and I missed them. Please avoid making UI that hides important stuff from the view. A good and deterministic summary of all changes I need to make or comment is a must - this is why I'm opening the pull request view in Github, when I'm about to fix something. |
Beta Was this translation helpful? Give feedback.
-
Yes, this is incredibly annoying and often harmful. Please don't hide relevant comments. Anything with new comments should not be hidden. Resolved conversations are already hidden. Hide old comments in thread if you want, but not new ones. |
Beta Was this translation helpful? Give feedback.
-
Here's a short JS snippet I use (with the extension Custom Javascript for Websites to work around this: function findAllLoadMoreBtns() {
return document.querySelectorAll('button[class*="ajax-pagination-btn"]')
}
function clickAllLoadMoreBtns() {
var allBtns = findAllLoadMoreBtns()
allBtns.forEach(function (e) { e.click() })
return allBtns.length
}
function hideAllElems(elemArr) {
elemArr.forEach(function (e) { e.style.display = "none" })
}
function findAllResolvedComments() {
return document.querySelectorAll('details[data-resolved=true]')
}
function hideAllResolvedComments() {
hideAllElems(findAllResolvedComments())
}
function findAllCommitGroups() {
return [...document.querySelectorAll('div[data-test-selector="pr-timeline-commits-list"]')].map(d => d.parentNode)
}
function hideAllCommitGroups() {
hideAllElems(findAllCommitGroups())
}
function clear() {
button = document.getElementById('clear_btn')
button.classList.add('disabled')
button.innerHTML = "Clearing............"
if (clickAllLoadMoreBtns() > 0) {
setTimeout(clear, 100)
} else {
hideAllResolvedComments()
hideAllCommitGroups()
button.innerHTML = "Cleared"
}
}
function bOnPullRequestConversation() {
onPR = window.location.pathname.split('/')[3] == "pull"
onConvTab = document.querySelector('a.tabnav-tab.selected').text.includes('Conversation')
return onPR && onConvTab
}
function addClearButton() {
var button = document.createElement('button')
button.id = "clear_btn"
button.innerHTML = "Show only unresolved comments"
button.onclick = clear
button.className = 'btn btn-sm btn-outline'
button.style.marginBottom = '10px'
discussDiv = document.getElementById('discussion_bucket')
discussDiv.insertBefore(button, discussDiv.firstChild)
}
if (bOnPullRequestConversation()) {
addClearButton()
} |
Beta Was this translation helpful? Give feedback.
-
Any updated? or plan to resolve this issue? |
Beta Was this translation helpful? Give feedback.
-
I'm looking for this feature too and found this discussion. It's very annoying search manually for the opened review comments. Some times a PR is approved and however we leave some itens that were acceptable to see later. I think a filter can be good enough. |
Beta Was this translation helpful? Give feedback.
-
Also after a rebase or changing file some unresolved discussions becomes "Outdated", which does not mean resolved. When I click on them via new Conversations popup I'm getting "We went looking everywhere, but couldn’t find those commits." and I can't see them. |
Beta Was this translation helpful? Give feedback.
-
This is the most frustrating issue in GH issues and PRs. |
Beta Was this translation helpful? Give feedback.
-
100% agreed, making even a medium-sized code reviews on GH is incredibly frustrating. I don't say the main competitor here GitLab is perfect, yet working with comments threads is so much more intuitive (and productive!) there, IMO. Add to this you can't even start a top level thread (#8469) or that you can't always easily post new comments / replies to the PR in batch (i.e. why is the option to start a review, then add some comments and then send them not available everywhere?). Instead of doing something with these problems, it looks like GitHub rather focuses on things like #52083 which apparently adds little to zero value to the UX (e.g., it looks like one still cannot get to pages available just from the |
Beta Was this translation helpful? Give feedback.
-
Somehow the PR review experience managed to get worse over the years. I cannot understand why comments are hidden under a dropdown after a new commit is added. What is the value of a comment tool if it will be hidden every time a commit is added? It would be more valuable if I took a screenshot and send it in a chat instead, at least I could use it as a reference for reviewing the new commits later. GitHub PR experience used to be the best. |
Beta Was this translation helpful? Give feedback.
-
I totally agree. Code review is just plain painful. I loved using github on the FOSS projects I was occasionally contributing to, but now that I use it for a new job, it is terrible. I always disliked Atlassians lack of features and speed of development, but they definitely do the bitbucket UI way better then github. |
Beta Was this translation helpful? Give feedback.
-
+1 to this. If the post reaches a few hundred upvotes, I'd be comfortable bringing it with some of my personal contacts at GitHub. |
Beta Was this translation helpful? Give feedback.
-
+1, this issue is extremely frustrating and costing a lot of time from developers |
Beta Was this translation helpful? Give feedback.
-
+1 the experience is so bad this way when you have multiple unresolved comments |
Beta Was this translation helpful? Give feedback.
-
Hey everyone! I made a Tampermonkey Plugin to quickly view unsolved conversations: Github-PR-View-Unresolved-Conversations demo.mov |
Beta Was this translation helpful? Give feedback.
-
Just adding this to the list of very inconvenient UX from GitHub's side (the others being about "pending" and "outdated" comments) It's just crazy how comments and feedback, which is The One most important thing with pull requests, just sort of disappears in the rest of all the info and is heavily de-prioritized. Sometimes I feel like GitHub loves to hide comments away when you need them, and then suddenly starts to behave like an archaeologist, digging up comments from two months ago you've never seen. |
Beta Was this translation helpful? Give feedback.
-
Coming from Azure DevOps, their PR system was absolutely delightful:
Please fix these issues on your PR system. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I struggle with this problem all the time. I swear I uncollapse every comment, and they all appear to be resolved. It happens on multiple PRs for me, regularly. Eventually I give up, add a general comment apologizing and noting that I'm dismissing the outstanding requested change. Something is clearly wrong with the UI or the stats on the backend of Github. |
Beta Was this translation helpful? Give feedback.
-
This will load all hidden discussions and also remove this which are resolved. Enjoy |
Beta Was this translation helpful? Give feedback.
-
Just adding to the thread here in the hopes that the github team takes the chorus of complaints on this seriously. We lose literally days of dev cycles due to going back and forth saying "xyz comments remain unaddressed." These comments are super critical to ensure we're addressing everything that needs to be addressed on a PR. Github team -- please address this or we'll be forced to using alternatives |
Beta Was this translation helpful? Give feedback.
-
Am I missing something? in the files changed view you only get a tiny dropdown of the conversations and clicking them doesn't even seem to work when the file is marked as viewed.
In the conversation view, I need to keep scrolling and clicking load more. Thus, I can't even do a text search with my browser without "opening" all the hidden threads (and this also excludes solved conversations)
Beta Was this translation helpful? Give feedback.
All reactions