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

Make Fixes tooltip show the title of the issue #2543

Closed
szmarczak opened this issue Nov 15, 2019 · 11 comments
Closed

Make Fixes tooltip show the title of the issue #2543

szmarczak opened this issue Nov 15, 2019 · 11 comments

Comments

@szmarczak
Copy link

Example URL: sindresorhus/got#921

image

Expected:

This pull request closes issue #925: Don't throw on 204 No Content when parsing response

It's quite similar to https://chrome.google.com/webstore/detail/github-hovercard/mmoahbbnojgkclgceahhakhnccimnplk (see the 4th screenshot)

@fregante
Copy link
Member

It's already there for all issue links.

@szmarczak
Copy link
Author

Then the tooltip is useless I think :P

@szmarczak
Copy link
Author

Consider reopening the issue. Showing the big tooltip instead of the small one would be nice IMO.

@fregante
Copy link
Member

If it’s considered obvious it can be hidden (we already hide many tooltips like that) but I noticed that many people don’t even know about that keyword so it’s good to keep it.

The tooltip and the hovercard are for two separate pieces of information and IMHO it doesn’t make much sense to show the issue information while hovering the fixes keyword.

@fregante fregante reopened this Nov 15, 2019
@szmarczak
Copy link
Author

The tooltip and the hovercard are for two separate pieces of information

Then why not merge them into one? Just place This pull request closes issue #... above the [tooltip] issue title.

@yakov116
Copy link
Member

I think its important to show this info it teaches people how to open a pull request that will close another issue

@szmarczak
Copy link
Author

I think its important to show this info it teaches people how to open a pull request that will close another issue

Then why not merge them into one?

@fregante
Copy link
Member

fregante commented Nov 18, 2019

Why do merge into one? Just because they’re both important it doesn’t mean that they should be merged. One appears on the issue, like everywhere on the site; The other one appears on the trigger word. I don’t think it’s worth the time to merge them.

@szmarczak
Copy link
Author

Sometimes I just hover on the Fixes text (the cursor is only a few pixels away from #...) and I'm annoyed that I have to move my mouse again just to point at #...

Anyway, if you think these shouldn't be merged, feel free to close this issue.

@fregante
Copy link
Member

What you say makes sense and I too am mildly annoyed by the two different tooltips, but:

  1. Moving that information inside the large hovercard will get lost in the rest of the text
  2. It's such a nitpick that IMHO it's not worth the discussion/complexity of code and UI

@szmarczak
Copy link
Author

Hmmm. Fair point 🙂 Anyway, I'll try to do this. I don't think this would be to complicated, but I may be wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants