-
Notifications
You must be signed in to change notification settings - Fork 59
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 select panel title #957
Conversation
Dependency on PR : adobe/aem-core-wcm-components#2568 |
.../apps/core/fd/components/form/container/v2/container/clientlibs/editorhook/js/panelselect.js
Show resolved
Hide resolved
|
||
title = title + " " + Granite.I18n.getVar(ns.editableHelper.getEditableDisplayableName(editable)); | ||
|
||
if (item && item.label && item.label.value) { |
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.
This might break for SITES components if form container is used inside SITES editor, you still have to also fallback to cq:panelTitle as done in the original implementation
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.
There is already fallback condition on line 36
|
||
(function(ns) { | ||
|
||
var PanelSelector = CQ.CoreComponents.PanelSelector; |
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.
Please add safe checks like this CQ?.CoreComponents?.PanelSelector
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.
check comments
01aaf28
to
926f9ac
Compare
Lighthouse scores (mobile)
|
Lighthouse scores (desktop)
|
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: