-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Adding timestamp to comment. fixes #11702 #12007
Conversation
packages/plugin-ext/src/main/browser/comments/comment-thread-widget.tsx
Outdated
Show resolved
Hide resolved
packages/plugin-ext/src/main/browser/comments/comment-thread-widget.tsx
Outdated
Show resolved
Hide resolved
e29c860
to
376dbca
Compare
@vince-fugnitto, with the new version, I get a green flag on the vscode-theia-comparator: Note: I also updated the comment vsix extension sample archive, which has the same typo issue. |
packages/plugin-ext/src/main/browser/comments/comment-thread-widget.tsx
Outdated
Show resolved
Hide resolved
376dbca
to
5d615cd
Compare
Contributed on behalf of STMicroelectronics Fixes eclipse-theia#11702
5d615cd
to
6895086
Compare
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.
The code looks great. Thank you!
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.
Looks good to me as well 👍
@vince-fugnitto Are you fine with merging this? |
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.
LGTM
What it does
Add Comment#timestamp optional property
This adds the timeStamp optional property from Comment to improve vscode api coverage. It also displays the timestamp of each comments in the Comment Thread widget
Fixes #11702
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 #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. Please see also #11730 for this menu issues.
Install forked extension vscode-comment-api-example-0.0.1.zip
vsix file
Create a comment using the side bar while comparing 2 test files.
The timestamp should be displayed along the user name.
Review checklist
Reminder for reviewers