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

Provide a pin button to remember when I move the tooltip and have it shown in that location always #36

Open
somewhatabstract opened this issue Oct 10, 2024 · 6 comments

Comments

@somewhatabstract
Copy link

somewhatabstract commented Oct 10, 2024

This extension is fantastic and I use it a lot. However, when I'm editing a GitHub PR description or comment, it can get a little intrusive if the mouse rests in the wrong place.

As mentioned in the comments, the tooltip can be moved out of the way and it will pin in that location. However, upon closing it, and then hovering again, it will reappear at the pointer location. It would be really cool to me if we could pin the tooltip to the moved location (like a corner of the screen, for example) so that subsequent hovers still had it show up in that location until the "pinning" were removed.

Perhaps enabled with a little pin icon button.

@somewhatabstract
Copy link
Author

I raised this in case someone has bandwidth for it before I get a chance to give it a go.

@helmus
Copy link
Owner

helmus commented Oct 10, 2024

Hello, this feature is already supported, simply drag the notification to where you would like to pin it. Hit esc to close

@somewhatabstract
Copy link
Author

Oooo, how did I miss this. Trying it now. Thanks!

@somewhatabstract
Copy link
Author

Ah, ok, I am updating this issue to a slightly different request. :)

@somewhatabstract somewhatabstract changed the title Provide a way to pin or otherwise move the tooltip Provide a pin button to remember when I move the tooltip and have it shown in that location always Oct 10, 2024
@helmus
Copy link
Owner

helmus commented Oct 14, 2024

So it sounds like you want to separate the location pinning from the display pinning. ( e.g. don't show the tooltip all the time once it's pinned ).
It should be relativity easy to add, all the code is there, you just need to hide the pin again when hovering out of a ticket. I will buy you a coffee if you send a PR !

@somewhatabstract
Copy link
Author

No need for a coffee, but I'll try to carve out some time to do this :)

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

No branches or pull requests

2 participants