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

Change the way children work #91

Open
kytta opened this issue May 31, 2022 · 0 comments
Open

Change the way children work #91

kytta opened this issue May 31, 2022 · 0 comments
Assignees
Labels
discussion enhancement Something can be improved

Comments

@kytta
Copy link
Member

kytta commented May 31, 2022

Currently, using submenu is quite confusing. It works fine for two menu levels, but there are problems using it with more levels (see also #47).

I wonder, if changing the underlying structure of the tags might help. I imagine a linked-list kind of deal, which itself describes a path in the menu tree from the root to the current active page. This way, one could search and/or iterate the whole way from the root to the page, making working with children AND grandchildren easy.

I will try to jot down some idea of how this should work :)

@kytta kytta added enhancement Something can be improved discussion labels May 31, 2022
@kytta kytta added this to the v2.0.0 milestone May 31, 2022
@kytta kytta self-assigned this May 31, 2022
@kytta kytta modified the milestones: v2.0.0, v2.1.0 Aug 26, 2022
@kytta kytta removed this from the v2.1.0 milestone Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement Something can be improved
Projects
None yet
Development

No branches or pull requests

1 participant