Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Make search UX more integrated with module selector #36

Open
ashishsc opened this issue Sep 8, 2019 · 2 comments
Open

Make search UX more integrated with module selector #36

ashishsc opened this issue Sep 8, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@ashishsc
Copy link
Collaborator

ashishsc commented Sep 8, 2019

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

giv-elm-pkg

@ashishsc ashishsc added the enhancement New feature or request label Sep 8, 2019
@mitchellwrosen
Copy link
Member

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

@ashishsc
Copy link
Collaborator Author

ashishsc commented Sep 10, 2019

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants