-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Inline commenting: Comment board alignment to relative blocks #67622
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
|
Size Change: +6.5 kB (+0.33%) Total Size: 1.95 MB
ℹ️ View Unchanged
|
|
@ellatrix I might need your help with this one. I have aligned the comment board with the respective block. How do I get the sidebar to scroll with the editor now? |
|
Could you try adding a scroll event listener? Or maybe try to use |
Thank you @ellatrix , ill check these.
That's the intent.
Yes, I have noticed it too and its in my list. |
…nline-commenting-comment-board-position
|
This is how it works now. Edit-Post-.Inline-commenting-test.-.-gutenberg-.-WordPress.webm |
…nline-commenting-comment-board-position
…nline-commenting-comment-board-position
…nline-commenting-comment-board-position
…nline-commenting-comment-board-position
…nline-commenting-comment-board-position
|
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. |
…enhance/inline-commenting-comment-board-position
|
Hi @ellatrix Could your review here. |
…enhance/inline-commenting-comment-board-position
|
Sorry, @akasunil, my main focus is on WP 6.8 release. I’ll try to review this after beta 1, but can’t promise anything before that. |
| ], | ||
| "dependencies": { | ||
| "@babel/runtime": "7.25.7", | ||
| "@floating-ui/react-dom": "2.0.8", |
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.
Why can't we use the popover component again?
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.
It’s been a while since I worked on this PR. I’ll need to review it again and will get back to you.
…enhance/inline-commenting-comment-board-position
|
Closing this in favor of new work in #71393 |
|
@akasunil Thanks for your work here, which was helpful in working on #71856 which takes a slightly simpler approach by leveraging existing components. Could you help by reviewing that PR to see if we missed anything you are working on here? If I missed something, please feel free to re-open this PR! |
Part of - #66377
What? & Why?
Following the designed provide in #66377, This PR aligns the comment board with the corresponding block element and ensures the comment board scrolls along with the editor.
Along with this, Few more fixes/enhancements done in this PR are below:
Testing Instructions
Gutenberg → ExperimentsScreenshots or screencast