zed
zed copied to clipboard
Inline git blame author (you logic)
Check for existing issues
- [X] Completed
Describe the feature
Would be neat if the newly merged inline git blame could show "You" instead of your username if it is in fact you that is to blame. Just easier/faster to recognise at glance.
If applicable, add mockups / screenshots to help present your vision of the feature
I'd personally be hesitant to do this, it's just a matter of time before someone would change their username to "you" to try and hide a commit. If this was togglable or had some visual difference from other usernames I'd be all for it.
I think there are some plans to add avatars, so one would have to change both their committer name and github avatar to impersonate someone.
But there definitely could be some additional highlight, maybe with the background color?
Not really sure what's to gain from hiding your commit from inline code, you can simply hover the git blame and you will get all the details if it's really important in a very particular case. This is just a quality of life improvement. This is a none issue.
One downside of showing "You" is that screenshots of the editor become less contextually relevant, so maybe it should just be highlighted in a different color but without changing the displayed name.
It's like having "x hours ago" in a screenshot with no date information :slightly_smiling_face: