-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Fix: Hide resolved comments in unpinned mode #71409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Hide resolved comments in unpinned mode #71409
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
@R1shabh-Gupta - this worked well in my testing, thanks for the PR! I left some small feedback on the filter approach. |
|
Hey @adamsilverstein, |
adamsilverstein
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work.
|
@t-hamano does this one look ok to you? |
Mamaduka
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's give this a try.
What?
Closes #71394
This PR filters out resolved comments from the unpinned collaboration sidebar to declutter the editor display while keeping them visible in the pinned sidebar for complete comment history.
Why?
When comments are resolved, they should disappear from the default unpinned view to reduce visual clutter and help editors focus on active, unresolved comments that need attention. Previously, both resolved and unresolved comments were shown in all sidebar modes.
How?
status === 'approved'from the unpinned sidebarsortedThreads→unresolvedSortedThreads)Testing Instructions
Screenshots or screencast
Before
Before.mov
After
After.mov