Plugin activation depending on system


  • Plugin & Theme Dev

    I know this a big core change but it would be nice to let disable plugins on mobile versions of nodebb while keeping them active on desktop
    some plugins works ok on desktop but the client computer time and JS size becomes problematic on mobiles
    That way is possible to have a complete desktop experience while having a light and fast mobile version if needed
    thank you


  • Global Moderator

    hmmm... well ideally plugins and core would only load their assets when necessary. For instance, in core, we only load jQuery UI if we have some jQuery UI thing. There are many other places where we could pull more code out to be on-demand.


  • Plugin & Theme Dev

    @pitaj said in Plugin activation depending on system:

    hmmm... well ideally plugins and core would only load their assets when necessary. For instance, in core, we only load jQuery UI if we have some jQuery UI thing. There are many other places where we could pull more code out to be on-demand.

    you mean ideally but not on reality, right? :D
    my idea was for example to enable plugins like...
    -people viewing this topic, reactions, polls, etc only on desktop


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.