-
Notifications
You must be signed in to change notification settings - Fork 642
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
Convert context menu on element edit page to disclosure menu #12946
Convert context menu on element edit page to disclosure menu #12946
Conversation
…disclosure menu to "Switch version" (TODO: add translation)
…e code to CP so it works on past revision pages
…CP.js instead of ElementEditor.js
…O add screen reader messages
…new select if was previously on revision select
DEV-237 Convert context menus to disclosure-type menus
IMPORTANT: This should only happen on the element pages, not on index pages/tables. This is because they cause a change of context instead of just loading new page content. However, this could also be accomplished by breaking this out two separate select components and adding a "Go" button. |
@gcamacho079 What is the status of this draft? :) |
@marcusgaius, this draft raised some design/UX concerns we’re working through, so this will likely be a Craft 5 update. 👍🏼 |
Description
@brandonkelly marking as a draft because I still need to make changes for this component in the JavaScript.
This is similar to the change we made on element index pages to break the Sort Attribute and Sort Direction into separate form controls, this PR separates Site and Revision/Draft into two separate form controls inside of a disclosure menu.
Related issues