feat: add visual warning for mismatched commit email#118
Merged
pol-rivero merged 1 commit intoApr 1, 2026
Conversation
Owner
|
Looks good to me, thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
When the commit email doesn't match the linked account, the existing warning is easy to miss - it's just a small yellow triangle on the avatar. First-time users especially have no idea what it means or what to do about it.
This PR makes the misattribution warning more noticeable and actionable:
The goal is simple - when this mismatch happens, users should notice it faster and understand what to do without guessing.
Screenshots
1. Before changes
Only a small triangle icon on the avatar, no explanation of what's wrong or how to fix it
2. After changes
(1) yellow accent line
(2) colored email make the warning visible at a glance
(3) and the tooltip explains the problem with a link to fix it
(4) Action text and direct link to place in settings
How to reproduce:
Release notes
Notes: When commit email doesn't match the linked repository account, the warning is now more visible with a yellow accent line and colored email text. The tooltip explains the issue and links directly to repository settings.