Laravel-Backpack / demo

A working demo of Laravel with all Backpack packages installed.

Home Page:http://backpackforlaravel.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v6 Menu arrangement

promatik opened this issue · comments

I don't love the way the menus are organized in the new v6 demo, it makes the theme highlight everything ...

Any chance we can ->flatten() the addons group?

image

Good catch! I did that for two reasons:

Reason 1. To have fewer first-level items in total, so that it looks better in our default view which is horizontal:

CleanShot 2023-07-02 at 14 34 27

With the amount of items we had previously, it looked OK on 1440px but on 1280px one item.

Reason 2. It makes more sense to me this way:

  • addons are grouped together
  • examples are grouped together

What we COULD do... ideally... is to allow multi-level menus. That way we can:

  • group 3 items into "Authentication"
  • group 3 items into "News"
  • then when you're in one of those CRUDs only the third-level item would be highlighted

But that needs to be done inside all 3 themes 🤦‍♂️ So how about...

What we SHOULD DO... is change the active highlight on this theme, so that it makes purple only the CURRENT ITEM, not the entire dropdown the current item is in;


In the end, I think this menu change highlighted a design problem. Rather than an organisation problem.