Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always hide files in root to "files" navigation item #90

Open
machal opened this issue Jul 17, 2013 · 2 comments
Open

Always hide files in root to "files" navigation item #90

machal opened this issue Jul 17, 2013 · 2 comments

Comments

@machal
Copy link

machal commented Jul 17, 2013

When there is in my root css/ folder 21 files, StyleDocco nicely hide them in "files" navigation item:

image

When there is 8 files, StyleDocco shows them in navigation as first-level items and navigation looks poor:

image

I think, StyleDocco should always work as in first example.

@marrs
Copy link
Collaborator

marrs commented Jul 17, 2013

I like the consistency of your suggestion, but then sometimes "files" would be the only item in the header bar, which isn't a good use of the space.

So I like the idea of having files as top-level items if there's room for them, but:

  1. they shouldn't break the styling
  2. it should be clear that they're a different kind of item from the other top-level items.

@machal
Copy link
Author

machal commented Jul 18, 2013

After a little thinking I agree that it's a navigation design problem.

Navigation should reflect structure of files and folders as far as possible.

For this purpose, however, is not suitable horizontal navigation. It can easily break the styling if it contains too many or too long items.

The solution is vertical navigation. Think of it as an idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants