phibr0 / obsidian-customizable-sidebar

This Plugin allows you to add every Command to Obsidian's Sidebar Ribbon and add Custom Icons.
MIT License
82 stars 8 forks source link

Some hidden icons would re-appear after updating the plugin #8

Open wenlzhang opened 2 years ago

wenlzhang commented 2 years ago

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

phibr0 commented 2 years ago

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

wenlzhang commented 2 years ago

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

phibr0 commented 2 years ago

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.

wenlzhang commented 2 years ago

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?

phibr0 commented 2 years ago

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

wenlzhang commented 2 years ago

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