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

The menu order is not always alphabetical #158

Closed
tsnolan23 opened this issue Jul 20, 2018 · 3 comments
Closed

The menu order is not always alphabetical #158

tsnolan23 opened this issue Jul 20, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@tsnolan23
Copy link

tsnolan23 commented Jul 20, 2018

Bug Report

Describe the bug

When there are a lot of items in a menu, it seems that the menu order is being messed up. For example, I created this repo:

https://github.com/tsnolan23/docz-menu-order-issue

There are 26 menu items under the "Components" menu. I didn't modify the order in any of the files, yes, the 2 of the files are out of position.

To Reproduce

  1. Clone that repo
  2. Install dependencies
  3. npm run docs
  4. Look at the menu order

Expected behavior

If no order has been modified, everything should be sorted alphabetically.

Enviroment

  • OS: Windows 10
  • Node/npm version: v8.9.3 / v5.5.1

Additional context/Screenshots

menu_order

@moedong
Copy link

moedong commented Jul 21, 2018

If you do not mind, we can manually set the menu order, such as

---
name: Button
menu: Components
order: 100
---

the bigger the order number, the more the front

@tsnolan23
Copy link
Author

@moedong Not really sure that's a solution to the problem...I don't want to have to maintain the order of any components directly, I just want them alphabetical.

I understand that order is an option, but it doesn't solve the underlying problem in this case, it just masks it.

@pedronauck pedronauck added the bug Something isn't working label Jul 23, 2018
@pedronauck
Copy link
Member

✅ Fixed on v0.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants