Page MenuHomePhabricator

WikiLambda: Investigate missing values of viewname for wf.ui.newView.mounted events
Closed, ResolvedPublic

Description

Description

Initial event logging on Wikifunctions production includes only 2 values of viewname for event name wf.ui.newView.mounted: 'function-editor' and 'function-viewer'. We also expect to see values 'function-evaluator' and 'default-view'. We need to understand why those values aren't showing up.

There is related info in T342667.

The relevant Metrics Platform instrument, in App.vue, is this line:

this.dispatchEvent( 'wf.ui.newView.mounted', customData );

Completion checklist

Event Timeline

Change 955982 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/extensions/WikiLambda@master] Add $emit('mounted') to DefaultView & FunctionEvaluator

https://gerrit.wikimedia.org/r/955982

Change 955982 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Add $emit('mounted') to DefaultView & FunctionEvaluator

https://gerrit.wikimedia.org/r/955982

The patch above, 955982, addresses the problem.