elm-browser icon indicating copy to clipboard operation
elm-browser copied to clipboard

Make search UX more integrated with module selector

Open ashishsc opened this issue 5 years ago • 2 comments

Similar to package.elm-lang.org, the search should narrow down the modules that have the string.

giv-elm-pkg

ashishsc avatar Sep 08 '19 15:09 ashishsc

Hm, I assigned myself to this ticket, but then unassigned. I actually don't really like the Elm style, it seems a bit limited. Wouldn't you want the main view to contain the terms that you've filtered to, not just the little sidebar?

Anyway, if someone wants to pick this up, the above screenshot would be a welcome improvement, so go for it. i just feel like there's a better design around somewhere...

mitchellwrosen avatar Sep 10 '19 00:09 mitchellwrosen

Hmm, what do we want the main view to contain is the real question here.

The documentation + implementations (foldable) of the module is what I would most want probably

As far as filtering out terms in the main view, a lot of the time, the proximity of the terms in a module actually matters (you can design docs to be read top to bottom). I generally like the guidelines here: https://package.elm-lang.org/help/documentation-format

Although my guess here is that unison has no notion of the 'order' in which a module is written?

ashishsc avatar Sep 10 '19 22:09 ashishsc