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

[Feature] username in blame #578

Open
SpotlightForBugs opened this issue Nov 2, 2024 · 3 comments
Open

[Feature] username in blame #578

SpotlightForBugs opened this issue Nov 2, 2024 · 3 comments
Assignees

Comments

@SpotlightForBugs
Copy link

Hi, I'd love to have my username on GitHub show up in the Git Blame.
I also don't like that committed code has my Legal name in the Blame, while uncommitted code just says "You"

image
image

I want it to say either "You" or (in my case) "SpotlightForBugs" at all times. Spotlightforbugs (You) would be great to have as well.

@zielu
Copy link
Owner

zielu commented Nov 2, 2024

Hi, there are some options under Settings > Version Control > GitToolBox > Blame > Author name but they depend on what is in commit author field.
To have GH username would mean integrating with GitHub directly, which I have planned but it won't be coming soon. Fastest way would be to add some mapping based on commit author.
As for "You" - it's a nice idea, I'll add it.

@SpotlightForBugs
Copy link
Author

SpotlightForBugs commented Nov 2, 2024

Hiii @zielu, thank you so much for your prompt response!

I believe there might be a straightforward solution that avoids the need for GitHub integration:

You could simply request the user’s commit email address and GitHub username (or their username in general). Then, internally, replace the email address with the username if they match.

This approach should cover most use cases and is incredibly easy to implement! 😊

Ps: please tag me if there's an update on the matter

@SpotlightForBugs
Copy link
Author

SpotlightForBugs commented Nov 2, 2024

Other people want this as well:

#510
And
#550

@zielu zielu moved this to Backlog in Development status 2025 Jan 22, 2025
@zielu zielu moved this from Backlog to Ready in Development status 2025 Jan 23, 2025
@zielu zielu moved this from Ready to In progress in Development status 2025 Feb 14, 2025
@zielu zielu self-assigned this Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

No branches or pull requests

2 participants