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

Menu admin feature #18

Open
mazsudo opened this issue Apr 9, 2019 · 2 comments
Open

Menu admin feature #18

mazsudo opened this issue Apr 9, 2019 · 2 comments
Assignees
Labels

Comments

@mazsudo
Copy link
Contributor

mazsudo commented Apr 9, 2019

We always need to configure menu for CMS purpose. It could be activated by configuration.
A menu is a often a simple thing:

  • type | string
  • name | string
  • site | Sonata\Entity\Site

It contains some items:

  • back office title | string
  • type | string
  • title (can be translated) | string|json
  • parent (to build a tree) | self-reference
  • menu | reference to Sonata\Entity\Menu
    ( - link | url)
    ( - article | Sonata\Entity\Article)
    ( - page | Sonata\Entity\Page)
    ( - parameters | array)
    ( - icon/class/etc...)

IMO, we would need :

  • a nice UX/UI admin panel to manage menu with visual tree building, maybe drag & drop feature
  • a generic (if possible) menu builder to exploited by twig
  • maybe configuration to define menu's type, limited depth, others..

WDYT?

@mazsudo mazsudo changed the title Entities & admin for menu Menu admin feature Apr 9, 2019
@Bladrak
Copy link

Bladrak commented Apr 9, 2019

IIRC we've worked on something similar on a project, @qsomazzi @Wharenn @bdejacobet rings a bell? ;-)

@mazsudo
Copy link
Contributor Author

mazsudo commented Apr 10, 2019

agree that we did that a lot that's why i proposed this feature.
but think we can do better that we did. UI was poor and not friendly. IMO, many-to-many between Menu & Item was useless as i never saw someone reuse some already created items.

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

No branches or pull requests

7 participants