Right now, we don't have a great way of collecting UI metrics for context menu actions. Understand context menu actions is critical for discoverability, so we can understand how users are using the package.
I don't even have good suggestions as to what this might look like - more investigation is needed.
Yeah, this would be great! It would also be good to collect UI metrics for keybinding usage.
Some more context -- the tricky thing about this is that currently both menus and keybindings operate using Atom's command system. This makes it hard to distinguish command usage from menu usage from keybinding usage. My sense is that instrumenting these at a higher resolution would require plugging into Atom core's menu and keybinding system. Haven't looked into it myself yet.
After some digging, I found a contextCommand flag hidden way in the command dispatch event when the command is triggered via context menu. So I think we can totally track context menu actions!
Most helpful comment
After some digging, I found a
contextCommandflag hidden way in the command dispatch event when the command is triggered via context menu. So I think we can totally track context menu actions!