Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @deralict

    I’m not familiar with that plugin. However, since I add the toolbar menu according to WP core docs I would say that UIPress should make their plugin compatible with this default way of adding items instead of me creating custom code for their specific code.

    Of course I could be wrong here, please let me know. I’m not at home at this moment so will take a look at this plugin after the weekend.

    Cheers, Jory

    Thread Starter deralict

    (@deralict)

    Cool, and I don’t disagree. I’ll wait to see what you come up with before I complain to their dev team too much.

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @deralict

    I’ve did some tests on their demo sandbox and scanned through the docs but cannot really find how I could integrate this plugin with this tool.

    One option is to create an admin page for this plugin and let you switch from there, however, this goes drastically against my view on how this plugin should work.

    IMO, a better solution would be to let them improve their integration with existing toolbar items.
    For example, they already made some compatibility code for the Yoast SEO toolbar item. Though I’m not sure if this is a general piece of code or a specific piece made for Yoast SEO.

    One thing I could do is making this plugin compatible with custom endpoints. Currently it’s only working though XHR requests (AJAX), I could change this to listen to both POST and GET requests so you could create your own block and make it work with View Admin As by using these endpoints.

    In any case, since they fully rebuild the interface with (I believe) VUE it will probably not be a simple task to integrate it with any toolbar item.
    It would indeed be best to include their team in such an integration to discuss what needs to be done and where.
    Also, since this is more of an integration than support, GitHub would be a preferred location to continue this topic. https://github.com/JoryHogeveen/view-admin-as

    Cheers, Jory

    Thread Starter deralict

    (@deralict)

    Thanks, I’ve asked them to provide compatibility and pointed then to your Github page, where I’ll also add any new comments.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Any way to make this compatible with UIPress?’ is closed to new replies.