STEP-12 Comments for Admin Users

At this Step we going to add useful comments and fix some bugs

​STEP-12​

During The testing we figured out that in react-share 4.4.0 facebook counter is not working, also Facebook messenger is not working correctly on mobile phones, and there is no actual need for share buttons on the homepage, let’s populate backend configuration comments. Which will say that to users.

1. Here is our updated social_share.xml

line 25 - 29
line 25 - 29
line 49 - 53
line 25 - 29
ScandiPWA/SocialShareGraphQl/etc/adminhtml/system/social_share.xml line 25 - 29
<field id="home_page" translate="label" type="select" sortOrder="4" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Display On HomePage</label>
<comment>Not Supported.</comment>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
line 25 - 29
ScandiPWA/SocialShareGraphQl/etc/adminhtml/system/social_share.xml line 55 - 67
<field id="enable_counter" translate="label" type="select" sortOrder="2" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Enable Facebook Counter</label>
<comment>https://www.npmjs.com/package/react-share 4.4.0 Bugged, waiting for update</comment>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
line 49 - 53
ScandiPWA/SocialShareGraphQl/etc/adminhtml/system/social_share.xml line 49 - 53
<!-- Facebook Messenger-->
<group id="facebook_messenger" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Facebook Messenger</label>
<comment>Not Working on mobile devices waiting for Update https://github.com/nygardk/react-share/pull/357</comment>
<field id="enable" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Enable Facebook Messenger</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
​
<field id="app_id" translate="text" type="text" sortOrder="2" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Facebook Messenger App ID</label>
</field>
</group>

​

​