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

[WIP] Changing the Pull Request node icon to represent merge-ability #1020

Closed
wants to merge 2 commits into from

Conversation

StanleyGoldman
Copy link
Contributor

@StanleyGoldman StanleyGoldman commented Mar 1, 2019

Fixes #681

@msftclas
Copy link

msftclas commented Mar 1, 2019

CLA assistant check
All CLA requirements met.

@@ -376,13 +377,18 @@ export class PRNode extends TreeNode {
const tooltip = `${tooltipPrefix}${title} (#${formattedPRNumber}) by @${login}`;
const description = `#${formattedPRNumber} by @${login}`;

const iconPath = {
light: mergeable ? 'resources/icons/light/check.svg' : 'resources/icons/delete.svg',
Copy link
Contributor

Choose a reason for hiding this comment

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

for these paths, I think we need to use a VSCode API to find the absolute path for them, since VSCode will know where the extension is installed

src/common/resources.ts has code for this, you can add the check and delete icons there and then import them here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the hints, I was going to have to ask that question eventually.

Base automatically changed from master to main February 17, 2021 21:41
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.

Show PR review status
3 participants