Github: figure out a way of instrumenting context menu actions

Created on 5 Oct 2018  路  2Comments  路  Source: atom/github

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.

metrics

Most helpful comment

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!

All 2 comments

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JamesChevalier picture JamesChevalier  路  4Comments

rsese picture rsese  路  4Comments

Ben3eeE picture Ben3eeE  路  4Comments

move[bot] picture move[bot]  路  3Comments

RafaelNGP picture RafaelNGP  路  4Comments