-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Notes: Fix block toolbar indicator logic #72736
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
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. |
|
Size Change: -226 B (-0.01%) Total Size: 2.37 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 44048ea. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/18865344046
|
jasmussen
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.
|
Thanks for testing, @jasmussen! Yes, let's follow up on avatar design. Do you mind creating an issue? The feature now also uses global discussion settings. I'm not sure if it should depend entirely. For example, the avatar fallback comes from the site settings, but it might be better served by a "no avatar" SVG. While the Notes are built using comments, it's not the same as a general discussion. |
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: jasmussen <joen@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: adamsilverstein <adamsilverstein@git.wordpress.org>
|
I just cherry-picked this PR to the wp/6.9 branch to get it included in the next release: 35c2063 |
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.
LGTM!
In some of the later designs, there's a little inner gap between the circle and the avatar:
I believe this was addressed in #71917. However, I noticed that the padding between the circle and the avatar is transparent, resulting in the background behind it showing through. The avatar itself needs a background color. This can be addressed as a bug fix in the 6.9 release.
| Actual | Expected |
|---|---|
![]() |
![]() |
| } | ||
|
|
||
| // Comment avatar indicators. | ||
| .comment-avatar-indicator { |
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.
Nit: Based on my testing, removing all of these styles should not cause any visual problems.
|
Created an issue here! #72738 |




What?
Closes #72532
PR pushes following fixes for the block toolbar indicator component:
threadHasMoreParticipantsis counted. It should be based on unique participants per block note, not the total number of notes per post. Now we're also fetching all the notes - Notes: Load all records #72692.Testing Instructions
Testing Instructions for Keyboard
Same.
Screenshots or screencast