microsoft / live-share

Real-time collaborative development from the comfort of your favorite tools
http://aka.ms/vsls
Creative Commons Attribution 4.0 International
2.28k stars 253 forks source link

Comment UI and experience #4829

Open bamurtaugh opened 1 year ago

bamurtaugh commented 1 year ago

As discussed today, it'd be worthwhile to revisit Live Share comments.

cc @derekbekoe @fubaduba @isidorn

danielbee commented 1 year ago

I've just started using Live Share and the comments feature got me really excited. I'd like to use live share to run through code and do a design review with a few collaborators. I was really disappointed to learn that this feature might get sunsetted.

Current Experience

The current experience is fantastic in that I can very quickly add a comment that maybe explains the design intent or explains why we wouldn't do something in a certain way or maybe captures a future todo related to that line of code. Then someone else on the collab session can add additional flavour or engage in a text-discussion around that code-block.

Eventually, someone will take an action to translate these in-the-moment comments into github issues (bugs, enhancements, doc changes, feature-requests, discussions, etc), but it's a little bit too much hassle to do that during a fast-paced review meeting.

We also don't want to add literal code comments, because then we'd need to commit changes and trigger a whole set of CI/CD workflows.

The Problem(s)

The most severe problem I have with the current implementation of comments is that they are completely lost when the live share session ends, which renders them almost useless. This is especially worrying, because if I suddenly lose internet connection and the Live Share session ends, I've unintentionally lost those comments and have no way or time to back them up!

An additional problem is that the comments don't support tagging, so it makes it harder to then do this post-discussion triage into github issues.

An additional problem is that the comments don't support markdown, so links are often very messy.

Suggestions

Concluding Thoughts

Whilst the exact details need ironing out and sense-checking, I think the broad strokes of the suggestion would be a better implementation of this feature. The comments have value, because they can be saved, tracked and mentioned in future issues. The github ecosystem is heavily integrated. And options exist to integrate further with third party communication apps.

Basically, code comments could be an invaluable tool during Live Share Collaboration sessions, all it needs is a bit of integration or export capabilities. Please don't sunset them!

At the very least, spin it out into it's own separate extension, "Live Share Comments" and make that part open source rather than removing and deprecating it entirely.

I appreciate that your telemetry may indicate that no-one uses the feature yet, but I hope you can see that this might be due to the current implementation's problems and could be resolved with a nice integration or export ability.

I'd love to get your thoughts on this @derekbekoe / @bamurtaugh !

Maybe there's a better & separate tool/extension that addresses this use-case? If so, please let me know!

derekbekoe commented 1 year ago

@danielbee Thanks for the detailed comment. Unfortunately we’re not able to prioritize this right now. However, rest assured that we value your input. We will keep this issue open just to ensure we can continue to gather feedback. Thanks.