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

Tweak git blame tooltip design #17517

Conversation

danilo-leal
Copy link
Contributor

This PR adds some tiny design tweaks to the git blame tooltip. I guess the most "notable", so to speak, thing is the addition of a divider between the pull request and commit hash buttons. I was motivated to do that because, at first, I was unsure what the copy button would copy (the PR number or the hash?). From the position only, you eventually figure out, but hopefully, the divider will help bumping this affordance a bit more. I experimented with adding a labeled "Copy commit hash" button, but that'd clutter the design too much. Additionally, the top border on the footer should also slightly help indicating the commit message area is scrollable.

Before After
Screenshot 2024-09-06 at 4 54 41 PM Screenshot 2024-09-06 at 4 55 26 PM

Release Notes:

  • N/A

@danilo-leal danilo-leal self-assigned this Sep 6, 2024
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Sep 6, 2024
@danilo-leal danilo-leal merged commit cfd4357 into zed-industries:main Sep 6, 2024
9 checks passed
@danilo-leal danilo-leal deleted the tweak-blame-entry-tooltip-design branch September 6, 2024 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant