-
Notifications
You must be signed in to change notification settings - Fork 354
Description
Hey, I'm opening this issue to suggest some user experience improvements for ExDoc. Not an UX expert, so some of these things are definitely up for discussion.
1. Delay on quick search
Typing "/string" to quick search for "string" doesn't work - some initial characters are eaten up. This might be due to the animation or throttling. Either way, this is pretty annoying.
2. "Quick-search" into a section
Some docs make great use of sections. It would be nice if they were discoverable through quick search. Here's an example: "How do I handle errors in Oban?". I'd love the quick search to suggest me the relevant section if I typed "error".
3. Expand clicked module by default
Maybe it's not the right way to do it, but when I want to have an overview of public functions on a module, I usually click the module name and then click "Functions":
That one extra click could be removed if the "Types" and "Functions" sections were expanded by default.
4. Bigger click surface and hover state for sidebar links
I think it would be an improvement for people who use mouse navigation to have a bigger clickable surface with a hover state for sidebar navigation links. Current approach:
Some idea of implementing this:
5. Link flickering on page render
For some reason, when a page is rendered, some of the links flicker (e.g. IO.Stream in this example). This might have something to do with how the styles are structured. Not sure if there's a solution to this.





