How to determine if the third-party plugins appear in the main list or the third-party premium list.
Put in the standard dependency list IF
If redux_pro -> true is in plugin data
if 'version' is in the plugin data
If free_slug is in the plugin data
Show in Third-Party list if:
If free_slug is in the plugin data
AND
If redux_pro -> true is NOT in plugin data
AND
if 'version' is NOT in the plugin data
The All / None / Installed / Reset buttons will not affect this third-party list.
Store the state for this third party in its own localStore object. If a plugin is in that localStore object, but now have "version" attached to the plugin object, remove it from the localStore object as it no longer applies.
This is the goal:
Users are expressing confusion over going to Redux Pro and needing third-party premium plugins. So we are going to separate them.
The HTML for the above preview is here: https://gist.github.com/dovy/f0f946faa23fbcb8fa9356b6b467ac20
How to determine if the third-party plugins appear in the main list or the third-party premium list.
Put in the standard dependency list IF
redux_pro -> true
is in plugin dataShow in Third-Party list if:
redux_pro -> true
is NOT in plugin data ANDThe All / None / Installed / Reset buttons will not affect this third-party list.
Store the state for this third party in its own localStore object. If a plugin is in that localStore object, but now have "version" attached to the plugin object, remove it from the localStore object as it no longer applies.