obsidian-customizable-sidebar icon indicating copy to clipboard operation
obsidian-customizable-sidebar copied to clipboard

Some hidden icons would re-appear after updating the plugin

Open wenlzhang opened this issue 4 years ago • 6 comments

For instance, the hidden "New Excalidraw drawing" icon would re-appear after updating the excalidraw plugin. zsviczian/obsidian-excalidraw-plugin: A plugin to edit and view Excalidraw drawings in Obsidian

wenlzhang avatar Oct 13 '21 13:10 wenlzhang

If you restart Obsidian, are they invisible again or does this persist?

phibr0 avatar Oct 13 '21 14:10 phibr0

For the Excalidraw plugin, restarting Obsidian makes the icon invisible again. For the Map of Content plugin, it persists. Robin-Haupt-1/Obsidian-Map-of-Content: Generate a Map of Content for your Obsidian vault

wenlzhang avatar Oct 13 '21 14:10 wenlzhang

Okay, if it disappeares again its normal. If it doesn't, the ID or Name of the Command probably has changed and this Plugin doesn't know anymore that it should hide it.

phibr0 avatar Oct 13 '21 14:10 phibr0

The command for MOP that persists is the default one, "Update Map of Content". I am not sure if the name of this command has changed during the update. Do you know how to find the ID of a command?

wenlzhang avatar Oct 13 '21 14:10 wenlzhang

Its just an internal ID, you shouldn't have to worry about it. The ID is also only changing if the developer changes it and this usually doesn't happen very often, you are probably fine with adding it again to the List of hidden Commands

phibr0 avatar Oct 13 '21 14:10 phibr0

Further tests show that the hidden MOP icon would re-appear whenever re-starting Obsidian.

wenlzhang avatar Oct 14 '21 07:10 wenlzhang