Skip to content

Add settings to control the icons used in Issues and PR tree views #6798

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kabel
Copy link
Contributor

@kabel kabel commented Apr 18, 2025

Implements the feature request #6641.

Both tree views support an icon mode of author (default), state, or generic.

author follows the existing logic prior to this setting, where we attempt to fetch a rounded avatar. PRs fall back to a GitHub icon and Issues fall back to state-specific icon.

state will always use a state-specific icon that matches the Issue/PR type and state.

generic will always use the GitHub icon for a PR and an uncolored issues theme icon for Issues.

Implements the feature request microsoft#6641.

Both tree views support an icon mode of `author` (default), `state`, or `generic`.

`author` follows the existing logic prior to this setting, where we attempt to fetch a rounded avatar. PRs fall back to a GitHub icon and Issues fall back to state-specific icon.

`state` will always use a state-specific icon that matches the Issue/PR type and state.

`generic` will always use the GitHub icon for a PR and an uncolored issues theme icon for Issues.
@kabel
Copy link
Contributor Author

kabel commented Apr 18, 2025

Example render screenshots:

PR mode state:

image

Issues mode state:

image

PR mode generic:

image

Issues mode generic:

image

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.

1 participant