-
Notifications
You must be signed in to change notification settings - Fork 82
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
fix: adding a selectlist based solution switcher #168
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Related to #158 |
@majornista @indra2gurjar can you please review this? |
@indra2gurjar @majornista can you please review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
coral-shell-selectlistswitcher does not seem to populate the items in the list box correctly.
Looking at the rendered source for the menu, you can see that there is an empty coral-selectlist
element, with no select list items that should have role="menuitem".
<coral-shell-selectlistswitcher class="_coral-Shell-selectListSwitcher"><coral-selectlist handle="container" class="_coral-Shell-selectList-container _coral-Menu" role="listbox" aria-label="List" data-ol-has-click-handler=""></coral-selectlist>
<coral-shell-switcherlist-item href="http://www.adobe.com/go/aem6_5_experiencecloud">Experience Cloud</coral-shell-switcherlist-item>
<coral-shell-switcherlist-item href="http://www.adobe.com/go/aem6_5_advertisingcloud">Advertising Cloud</coral-shell-switcherlist-item>
<coral-shell-switcherlist-item href="http://www.adobe.com/go/aem6_5_analytics">Analytics</coral-shell-switcherlist-item>
<coral-shell-switcherlist-item href="http://www.adobe.com/go/aem6_5_audiencemanager">Audience Manager</coral-shell-switcherlist-item>
</coral-shell-selectlistswitcher>
I think the problem is within the example: coral-shell-switcherlist-item
elements should be coral-shell-selectlistswitcher-item
.
<coral-shell-switcherlist-item href="http://www.adobe.com/go/aem6_5_experiencecloud">Experience Cloud</coral-shell-switcherlist-item> | ||
<coral-shell-switcherlist-item href="http://www.adobe.com/go/aem6_5_advertisingcloud">Advertising Cloud</coral-shell-switcherlist-item> | ||
<coral-shell-switcherlist-item href="http://www.adobe.com/go/aem6_5_analytics">Analytics</coral-shell-switcherlist-item> | ||
<coral-shell-switcherlist-item href="http://www.adobe.com/go/aem6_5_audiencemanager">Audience Manager</coral-shell-switcherlist-item> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a problem within the example: coral-shell-switcherlist-item
elements should be coral-shell-selectlistswitcher-item
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have made the necessary changes @majornista
With AEM branding changes now the switcher nneds to be updated as the unified shell this is an implementation for the same
@ShreeSub , Please update the PR description |
🎉 This PR is included in version 4.10.22 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
With AEM branding changes now the switcher needs to be updated as the unified shell this is an
implementation for the same
changes will have to be added in foundation as well to be visible on the instance
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: