-
Notifications
You must be signed in to change notification settings - Fork 902
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
add nested menu dropdowns to crud #5289
Conversation
This looks nice! -- One question @pxpm - any reason we can't do this as a feature of the menu-dropdown component? If we absolutely need to specify that it's nested, we could do I'm thinking from a DX/docs perspective. Seems odd to have to write What do you think, wouldn't this be an improvement in terms of DX? |
Also. On that note. Would a |
Awesome! Sounds good to me! |
Excellent write-up on this PR, btw 👏👏👏 |
I've triple-checked this. Well done here @pxpm :
I see no reason to merge the ones that are ready. We're launching this today anyway. Woohooo 🎉 |
WHY
BEFORE - What was wrong? What was happening before this PR?
reported in #5268 . we didn't take into account the support for multi-level menu items in our themes.
This adds the base
nested
attribute tox-backpack::menu-dropdown
, so that developers can say "this is a sub-dropdown" to the theme. Then each theme can use that marker, to display sub-dropdowns differently, if needed. CoreUIv2 and CoreUIv4 do no need anything different. Tabler does.AFTER - What is happening after this PR?
We have nested menus accross all our themes using components.
COREUI - v4
COREUI - v2
TABLER
Is it a breaking change?
I don't think so, no.
How can we test the before & after?
This requires the following PRs: