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

Handle file uri in CommentAuthorInformation.iconPath (fix #174690) #175361

Merged
merged 4 commits into from Mar 20, 2023

Conversation

gjsjohnmurray
Copy link
Contributor

This PR fixes #174690 and supersedes #174751

It handles the case where the CommentAuthorInformation.iconPath uri uses the file scheme (for example, to specify an avatar that is bundled with the extension).

@gjsjohnmurray
Copy link
Contributor Author

/assign @alexr00

Have I got the right idea here?

Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

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

Yes, this is the right idea.

src/vs/workbench/contrib/comments/browser/commentNode.ts Outdated Show resolved Hide resolved
@alexr00 alexr00 added this to the March 2023 milestone Feb 24, 2023
Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

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

Thank you for the PR!

@alexr00 alexr00 merged commit 14e7b24 into microsoft:main Mar 20, 2023
7 checks passed
@gjsjohnmurray gjsjohnmurray deleted the fix-174690v2 branch March 20, 2023 16:05
@github-actions github-actions bot locked and limited conversation to collaborators May 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Comments API - How can author.iconPath reference a file bundled with the extension?
4 participants