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

Scrolling through all guesses #12

Open
espadrine opened this issue Aug 20, 2013 · 2 comments
Open

Scrolling through all guesses #12

espadrine opened this issue Aug 20, 2013 · 2 comments

Comments

@espadrine
Copy link
Owner

In the default UI, it would be great to have the option of scrolling through all entries, instead of restraining to a fixed number of shown guesses. @scrapmac, what do you think?

@grssam
Copy link
Contributor

grssam commented Aug 21, 2013

So here is my take on this:
If lets say there are more than 15 entries, say 25, thus a scrollbar appears. Now the use of scrollbar is to be able to reach to every suggestion, even the 25th one. Now there are two ways to reach the overflowed entries :

  • Scroll to bottom, or
  • Use Tab maaany times to go to end, or Shift Tab a few times to go to end entries.

In both of the cases, he will need more than 3-4 keystrokes to reach to the desired entry. Now if instead, we show only 15 entries, thus the last 10 are not shown, and he wants to reach to them, he can type one or two characters to have them visible.

Now lets us consider the case when the user does not know the property starting characters, or the whole property at all, in that case, it almost has the same effect on having or not having the last 10 entries visible. But if we show the entries by default, we might break the popup by the introduction of a scrollbar, which causes a lot of awful things :( . Thus I want to avoid a scrollbar as much as possible. Moreover, in most of the cases, the last entries are the not_so_much required entries like __proto__, toSource, etc

@espadrine
Copy link
Owner Author

If integrating a scrollbar is more work than it's worth, here's another option: tab'ing to the bottom goes beyond on the list. I do realize how cryptic that last sentence was, so here's ASCII art.

window.|         |  window.|            |   window.|
      <Object>   |         Object       |          Object
      Function   |        <Function>    |          Function
      eval       |         eval         |         <eval>

window.|         |  window.|
       Function  |         eval
       eval      |         netscape
      <netscape> |        <Window>

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

No branches or pull requests

2 participants