-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Inline Commenting: Next iteration #66377
Comments
@ellatrix disregard my original comment. Edited to just have this as a sub-issue of the main overview issue and with a new title to make it clearer this is around what's next. Thanks for pulling this together! |
Working on some mockups at the moment.
Not sure about this. It might eventually have value, but until it does, I'd tread carefully. Notably I would not want to add a notification number to the public sidebar API until we have a clearer vision for the future of this API. So I'd suggest this one being in the lower priority bucket. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@jasmussen It's not possible to show block comment in the canvas, since that's for content only. However, it should be possible to enlarge the canvas and position the comment UI over it (as popovers), much like the block toolbar. But this would require us to somehow "reserve" an area inside the canvas so no content can be below the comments. Perhaps a margin on the An alternative idea would be to detect the colour of the canvas and fill the sidebar with it. In both cases, comments still must be rendered in the side area and be repositioned to horizontally align with the blocks. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
While @jasmussen is busy polishing the near-term vision, I thought I'd explore the future if commenting was a separate mode in the editor. The user would start by selecting the We could display comments in a collapsed state next to the blocks they refer to. We’d highlight the associated text string or block when the user hovers over them. When people click the comment in the collapsed state, it expands and displays the full thread. The other comment 'bubbles' would be faded and pushed down to make room for the selected one. The reply input field would be immediately in focus when the commend expands. Clicking ‘Cancel’ would collapse the thread and all other bubbles would return to their places. At any moment the user can open the sidebar to view and interact with all comments and manage visibility settings (when the sidebar is open, the collapsed bubbles are not visible). In the sidebar, the user can decide to show/hide resolved comments as well as their own. Clicking on any of the comments would highlight the text string or block in the canvas and show controls, including the reply field. Now, looking even further into the future, I explored what suggestions might look like. We could display them similarly to comments, though we'd also need to provide all other editing tools. For instance, to replace text, people would just start typing and an automated message would show up in the Suggestions panel (it'd also be accounted for in the 'bubbles' shown in the canvas). The messaging would vary based on the action taken:
Users could approve and reject suggestions in the sidebar (hence why it's a separate mode) and filter by them in the sidebar. Perhaps later on we'd introduce sharing permission and make it possible for devs to share links to the site editor where they'd only comment and update copy changes without interacting with blocks? I'm excited about all the new opportunities multicollab will unlock. Let me know if these ideas help! cc @annezazu |
Following on the lovely visioning by Jarek, and forgive me for the back and forth, here's yet another iteration, based on conversations and collaborations with @jarekmorawski as well (many kudos). Our goal remains to keep the iteration as small as we can for this next iteration, while still capturing some of the longer term goals. First off, adding comments: Still the same flow: add on the block level, show an overlay marker, show those bubbles. As noted for other mockups, vertically aligning comments to text is meaningful, and in fact despite our conversation above about a "looking like the background" sidebar, there was an express desire to actually have those bubbles appear in context of the block. I recognize this comment notes it to be hard to impossible, so this is a topic worth digging into, a little bit. In a way, I could think of these being positioned near the block same as how the block toolbar is positioned near the block, just hugging the right side of the screen. Let's brainstorm and see what's reasonable. Here are some additional screens in the same category, allowing you to add multiple block level comments: Note in all of these, the sidebar is toggled off, because—after all—these comments are shown directly in the document, in context of the block. The sidebar, and its purpose That brings us to the sidebar, which can serve the purpose of showing all comments added, in chronological order: When the sidebar is opened, like in this mockup, all the comments in the canvas disappear. This sidebar is also where you might search comments, or see comments already resolved. Let me know anything you see here that's off, and I'm happy to course correct, and talk further. |
@jarekmorawski re:
Perhaps should focus also go to the reply field for that comment as well? |
@jeffpaul Absolutely. My proposal builds off of @jasmussen's design and doesn't impact his proposed interactions. |
I wanted to bring in some feedback from wordpress.org slack from folks on the WSJ side of things in reflection to what @jarekmorawski shared in particular:
Food for thought going forward from a real world newsroom 💥 I'll do a call for testing on Make Test in a few weeks when we are further along too. |
@ellatrix - I'm having trouble retrieving the block client ID in site editor mode, which makes it challenging to arrange the comments in the correct order. Is there a way to locate the block client ID within the site editor? |
Love this. This was also highlighted by a couple of other large media customers - Having the option to review and even enable/disable the feature altogether was high up on their initial feedback. |
+1 to this sentiment. I immediately ran into this when doing some testing this evening. Block-level is a great start, though. |
Hello! A few observations/remarks from Gannett's perspective... we'd be thrilled to help demo/beta test any built-in commenting functionality as it moves ahead.
|
Thanks for the feedback, Adam. Much appreciated and very timely as I'm currently working on a new design that's exactly what you're describing. I'll share the details in a few days. |
The initial PR: #60622
Next tasks
Summary: based on the new designs, we need two separate sidebars:
Next on design
We should also make progress on the design for inline comments.
First off, adding comments:
Add on the block level, show an overlay marker, show those bubbles. As noted for other mockups, vertically aligning comments to text is meaningful, and in fact despite our conversation above about a "looking like the background" sidebar, there was an express desire to actually have those bubbles appear in context of the block. I recognize this comment notes it to be hard to impossible, so this is a topic worth digging into, a little bit.
In a way, I could think of these being positioned near the block same as how the block toolbar is positioned near the block, just hugging the right side of the screen. Let's brainstorm and see what's reasonable.
Here are some additional screens in the same category, allowing you to add multiple block level comments:
Note in all of these, the sidebar is toggled off, because—after all—these comments are shown directly in the document, in context of the block.
The sidebar, and its purpose
That brings us to the sidebar, which can serve the purpose of showing all comments added, in chronological order:
When the sidebar is opened, like in this mockup, all the comments in the canvas disappear. This sidebar is also where you might search comments, or see comments already resolved.
I'll leave this open for others to add items. Cc @annezazu @jasmussen @mtias
The text was updated successfully, but these errors were encountered: