I'm currently working on transitioning my add-on to the new menu API. Some things:
1. What is the best way to update the menu items after registering them? Currently what I have implemented is unregistering and re-registering to add/remove menu items, but this seems inefficient.
2. At least on MacOS, if you are right-clicking to open the context menu while the main Zotero pane is in the background (for example, when the error console or pref window is focused), the menu item oncommand doesn't seem to trigger on click. What's the best way around this?
This is on 8.0-beta.19+b9ef88d4f.