Open Bug 1106262 Opened 10 years ago Updated 2 years ago

Telemetry measures for checking how tools have been opened

Categories

(DevTools :: General, defect, P3)

30 Branch
defect

Tracking

(Not tracked)

People

(Reporter: miker, Unassigned)

References

(Blocks 1 open bug)

Details

We need to check how often the tools are opened using the context menu (bug 1076932 - remove Inspect Element from context menu for first time users). We need to add:

* DEVTOOLS_FIRST_LAUNCHED_VIA_CONTEXT_MENU_FLAG

* DEVTOOLS_FIRST_LAUNCHED_VIA_KEYBOARD_SHORTCUT

* DEVTOOLS_FIRST_LAUNCHED_VIA_DEVTOOLS_ICON_FLAG

* DEVTOOLS_FIRST_LAUNCHED_VIA_DEVELOPER_TOOLBAR_FLAG

If loaded via context menu we need:
DEVTOOLS_TIME_OPEN_AFTER_LAUNCHED_VIA_CONTEXT_MENU_EXPONENTIAL

=============================

I made a start on this as part of bug 1046234. Here are the code locations used by each launch type:
Context menu - nsContextMenu.js:512
  `inspectNode: function CM_inspectNode() {`

Keyboard Shortcut - gDevTools.jsm:708
  `selectToolCommand: function(gBrowser, toolId) {`

DevTools Icon - panelUI.js:302
  `showSubView: function(aViewId, aAnchor, aPlacementArea) {`

Developer Toolbar Icon - gDevTools.jsm:586
  `toggleToolboxCommand: function(gBrowser) {`
Jeff, do you still want this?
Assignee: mratcliffe → nobody
Filter on 1ff0543e-b501-4893-a72b-e4773c01e655
Flags: needinfo?(jgriffiths)
(In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #1)
> Jeff, do you still want this?

Yes.
Flags: needinfo?(jgriffiths)
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.