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

[CLOSED] Delay before hover preview #3316

Open
core-ai-bot opened this issue Aug 29, 2021 · 5 comments
Open

[CLOSED] Delay before hover preview #3316

core-ai-bot opened this issue Aug 29, 2021 · 5 comments

Comments

@core-ai-bot
Copy link
Member

Issue by peterflynn
Sunday Apr 21, 2013 at 22:43 GMT
Originally opened as adobe/brackets#3531


  • Changes providers so they're not responsible for showing popover. They return an object with the info needed to show one later.
  • Add a popoverState object that can represent both visible and pending (waiting on timer) popovers. If mouse movement invalidates the popoverState, it is canceled -- hidden if visible, timer stopped if pending.
  • Unrelated minor fix: ignore mousemove while dragging.
  • mousemove processing is now slightly more efficient: we don't reprocess the same line:ch pos repeatedly, and if a popover is already pending/open we don't do any more processing until the mouse leaves that popover's range of text.

peterflynn included the following code: https://github.com/adobe/brackets/pull/3531/commits

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Monday Apr 22, 2013 at 20:43 GMT


Merged with Raymond's unit tests. However, Raymond just merged some changes from Randy that require a second merge. Stand by...

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Monday Apr 22, 2013 at 21:32 GMT


@gruehle finally all merged up & ready for review

@core-ai-bot
Copy link
Member Author

Comment by gruehle
Monday Apr 22, 2013 at 22:55 GMT


Initial review complete.

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Tuesday Apr 23, 2013 at 19:06 GMT


@gruehle Pushed up responses to code review (including@TomMalbran's code-consolidation suggestion).

I didn't do the spinner part yet since that seemed a little trickier and it sounded like we might want to land the rest of this sooner.

@core-ai-bot
Copy link
Member Author

Comment by gruehle
Tuesday Apr 23, 2013 at 19:07 GMT


Looks good. Merging.

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

1 participant