Plugin API: What should `panels.show` and `panels.visible` do on mobile?

hi @personalizedrefriger ,

With this, .show(panelId, false) will prevent a user from opening a plugin panel in the UI on mobile until .show(panelId, true) is called.

Is there an alternative way to close a panel that allows the user to open it again? I am the author of DDDot, a multifunction sidebar plugin. One of the features provided by the plugin is showing the list of backlinks for the current note.

If it is opened on mobile and the user clicks on a backlink, I would like to open the backlink and close the panel view automatically. However, if I call .show(panelId, false), the user won't be able to reopen the plugin using the tool button, which is quite inconvenient. So, I am looking for an alternative solution.

Thanks.