You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this is for an admin notice/pointer - but I think the listener should only be added for the color palettes expanded state to help reduce some of the memory/cpu consumption which is causing slow performance.
The text was updated successfully, but these errors were encountered:
as another thought on this - the idea it appears was to show help on the first time a user visits this section. Now that notices are/have been introduced in the customizer by core - it might be more fitting to just move this logic over into a dismissable notice. Since it is just help information - I'm not entirely sure this logic is even needed anymore as we already have a paragraph of text explaining how to use it, and external links out to our documentation that further explains how to use it with pictures. My feeling is that if the UI needs to be explained 3 different ways - then it's a bad UI. I don't think it's a bad UI - so it doesn't need to be explained 3 different ways.
The colorPalette.bind_help_section_visibility has an event listener registered triggering for every click on .accordion-section. This is causing some performance issues as every registered section has listeners registered here:
https://github.com/BoldGrid/boldgrid-theme-framework/blob/dev/src/assets/js/customizer/color-palette.js#L74
I believe this is for an admin notice/pointer - but I think the listener should only be added for the color palettes expanded state to help reduce some of the memory/cpu consumption which is causing slow performance.
The text was updated successfully, but these errors were encountered: