Skip to content

Suggestions for UX improvements #1636

@stefanchrobot

Description

@stefanchrobot

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.

quick-search

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".

quick-search-section

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":

expand-module

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:

links-no-hovers

Some idea of implementing this:

bigger-with-hover

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.

flicker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions