Hirse / brackets-outline-list

Extension for Brackets and Phoenix to display a list of the functions or definitions in the currently opened document.
MIT License
79 stars 30 forks source link

Autohide: expose delay #108

Closed pelatx closed 5 years ago

pelatx commented 5 years ago

Initial PR on the delay when we expose the outline (the autohide is activated).

Discussed in the issue #106.

Hirse commented 5 years ago

After trying it out for a bit, I feel like 500ms delay feels a bit slow, maybe I would go with 300ms. Additionally, we should add some immediate feedback on hover so the user knows there is a delay and doesn't feel like it's broken. Maybe highlighting (as in slightly lighter background) the placeholder? Also see https://ux.stackexchange.com/a/119975 for the UX perspective.

pelatx commented 5 years ago

It's not so hard about the names, it's that I'm a bit lazy. Your comments were expected. :wink:

I added the highlighting and changed what you said. Let me know if you find anything else.

pelatx commented 5 years ago

OK @Hirse.

I had thought about implementing a range slider so that the user can change the delay. From an entry in the view menu.

I will do it to entertain me. But I'll show it to you because maybe you find it interesting to be added.

Hirse commented 5 years ago

I would be happy to take a look whenever you have any features ready. 😁 Thanks for your continued work on the extension.