-
Notifications
You must be signed in to change notification settings - Fork 4
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
Better handling of unrecognized shortcodes. #156
Comments
I'm with you, although it doesn't seem like a remote request to RBP would be efficient or practical. Couldn't we just have a check in the plugin itself that examines |
Is a library of known extensions too heavy to include with core? Couldn't we run a comparison on the clients server between a list of known extensions and the list of existing plugins, without pinging RBP? Just update the list of known extensions when core is updated. Then present the results of that query to the to the End User in a relevant way. So the logic would be as follows:
Alternatively, Is it a better use case to, upon clicking an unrecognized shortcode within the "Other" tab,open a new modal window, much like the way column content editing has been reconstructed , to allow an end user to edit the "unrecognized" shortcode and apply attributes. I believe this standardizes the workflow of known and unknown shortcodes and facilitates the use of extensions when they are relevant. Is it possible that the tab is mislabeled? Other may not provide the right expected outcome? Could it be a bettter use case to have a new tab show up for each extension? Installing an extension truly removes a shortcode from the "Unknown" category anyway. |
@brashrebel What you're asking is what I'm suggesting. I believe it's very practical and efficient to ping RBP every so often, and the most reliable way to get up-to-date information on available extensions.
@BigActual I think including a list of extensions within core isn't very good practice. It just adds a level of maintainability to core that I think doesn't need to exist in core. And I agree we need to re-think how the "unrecognized" shortcodes are presented to the end-user. More clarity on what they are and how to use them. |
After a conversation with @brashrebel, we've decided to put all of the pieces into play to accomplish this, but forgo the remote calls and use static data implemented into core for now. |
This stems off of a lengthy discussion I had with @BigActual.
Basically, it's not clear that "Other" shortcodes don't belong to Render, and that they don't really work well. I'm going to try to accomplish 2 things.
Better generic message to the end-user that the given shortcodes are NOT supported by Render, and they should refer to some plugin documentation.
Render should ping RBP for information on available extensions, and which shortcodes those extensions integrate. SO this way we can actually present information to the user on which plugin the shortcode is from, that we have an extension to better integrate it, and a direct link to do so.
The text was updated successfully, but these errors were encountered: