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

Better manage requests for tooltip content #65

Open
goodmami opened this issue Mar 29, 2019 · 0 comments
Open

Better manage requests for tooltip content #65

goodmami opened this issue Mar 29, 2019 · 0 comments
Labels

Comments

@goodmami
Copy link
Member

The tooltips for synsets and things makes a request to the server, so there is a delay between when the tooltip shows up and when the content is shown. Worse, the content from the previous entry is shown until then. Even worse, moving the mouse over several entries causes each one to be loaded sequentially, so you have to wait for each request to complete until the one you want is displayed.

To improve this:

  • clear the previous tooltip contents before making the request
  • cancel any in-flight requests upon issuing a new one
  • put a short delay between mouse hover and tooltip display; hopefully this will be about the same amount of time for the server to respond, but the two events should be asynchronous
@goodmami goodmami added the bug label Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant