-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Notes: Hide pinned sidebar when there are no notes #72872
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
base: trunk
Are you sure you want to change the base?
Conversation
|
Size Change: +2 B (0%) Total Size: 2.38 MB
ℹ️ View Unchanged
|
|
@Mamaduka - this empty pinned sidebar state will never show after this change: gutenberg/packages/editor/src/components/collab-sidebar/comments.js Lines 310 to 326 in b41c908
|
|
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. |
|
The test failures seem to be coming from focus loss, eg here is the first one: gutenberg/test/e2e/specs/editor/various/block-comments.spec.js Lines 69 to 70 in b41c908
When testing manually, after submitting the new note, I briefly see the note disappear, then reappear and regain focus. That seems off, ideally the new note form would transform into the new thread without that refresh. Are we already working on that? in any case, introducing a brief delay before the focus check might fix this? Screencast - everything but selecting "... Add note" is done with the keyboard: Screen.Recording.2025-11-01.at.11.56.16.AM.mov |
What?
Closes #72750.
🚧 Work in progress, some e2e tests are failing due to logic change 🚧
Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast