Skip to content
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

[vscode] support CommentThread state property #77

Closed
wants to merge 1 commit into from

Conversation

rschnekenbu
Copy link

What it does

Add Comment#state optional property
This adds the state optional property from Comment to improve vscode api coverage. It also displays the state in the Comment Thread widget

Fixes eclipse-theia#12231

Contributed on behalf of ST Microelectronics

How to test

Note: there are currently some issues with menus, since theia 1.28.0. This is due to eclipse-theia#11290, integrated in 1.28.0. Prior to this change, the comment sample works on theia 1.27.0. So to test this change, I cherry-picked my commit on top of 1.27.0 tag.
This is the same case as for PR eclipse-theia#12007.

  1. Install forked extension #comment-sample-0.0.1 vsix file - Source
  2. Create a comment using the side bar while comparing 2 test files and reply with some comment with toggle or reply.
    12231
  3. The resolved state should be displayed along the thread label.

Review checklist

Reminder for reviewers

@tsmaeder
Copy link
Collaborator

@rschnekenbu do we have an issue for the problems with the menus you mentioned? If not, could you open one, please?

@rschnekenbu
Copy link
Author

@rschnekenbu do we have an issue for the problems with the menus you mentioned? If not, could you open one, please?

The issue eclipse-theia#12452 has been created to track those problems about menus.

@AlexandraBuzila AlexandraBuzila self-requested a review April 25, 2023 08:47
Copy link
Member

@AlexandraBuzila AlexandraBuzila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and works as expected (tested on top of v1.27)

Thanks Remi!

solves eclipse-theia#12231

Contributed on behalf of STMicroelectronics

Signed-off-by: Remi Schnekenburger <[email protected]>
@rschnekenbu
Copy link
Author

Closed in favor of eclipse-theia PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[vscode] Support CommentThread state property
3 participants