Page MenuHomePhabricator

Instrumentation: Rejection dialog
Closed, ResolvedPublic

Description

Associated feature: T269647: Add a link: rejection dialog

After a user selects “no” on a suggestion, the rejection dialog opens. We need to record:

  • An impression for the dialog opening.
  • An event for when the dialog closes, along with the selection the user made in the list of options. We do not need separate events as the user taps around on different options -- only their final selection.

Event Timeline

kostajh triaged this task as Medium priority.Apr 14 2021, 12:53 PM

Change 684127 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] AddLink: LinkSuggestionInteraction logger and instrumentation

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

Change 690070 had a related patch set uploaded (by Gergő Tisza; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@wmf/1.37.0-wmf.5] AddLink: LinkSuggestionInteraction logger and instrumentation

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

Change 684127 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] AddLink: LinkSuggestionInteraction logger and instrumentation

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

Change 690070 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@wmf/1.37.0-wmf.5] AddLink: LinkSuggestionInteraction logger and instrumentation

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

Mentioned in SAL (#wikimedia-operations) [2021-05-13T12:40:40Z] <tgr@deploy1002> Synchronized php-1.37.0-wmf.5/extensions/GrowthExperiments: Backport: instrumentation patches ([[gerrit:690070|]] [[gerrit:690071|]] [[gerrit:690072|]] [[gerrit:690073|]]) (T278116 T278117 T278114 T278177 T278487 T278112 T278111 T278118) (duration: 01m 09s)

Checked in wmf.14:

  • Clicking 'No'
{action: "suggestion_reject", action_data: "link_target=Radio;link_text=radio station;probabil…er=0;rejection_reason=;acceptance_state=undecided", is_mobile: false, active_interface: "recommendedlinktoolbar_dialog", newcomer_task_token: "bbae594c3f455900cc8d", …}
$schema: "/analytics/mediawiki/structured_task/article/link_suggestion_interaction/1.0.0"
action: "suggestion_reject"
action_data: "link_target=Radio;link_text=radio station;probability_score=0.5489937663078308;series_number=0;rejection_reason=;acceptance_state=undecided"
active_interface: "recommendedlinktoolbar_dialog"
dt: "2021-07-22T20:57:17.495Z"
homepage_pageview_token: "rckrtlphgjob77d5saucco651bga20cj"
is_mobile: false
meta: {stream: "mediawiki.structured_task.article.link_suggestion_interaction", domain: "test.wikipedia.org"}
newcomer_task_token: "bbae594c3f455900cc8d"
page_id: 113854
page_title: "CISO-FM"
  • the rejection optons dialog appears
{action: "impression", action_data: "link_target=Radio;link_text=radio station;probabil…ection_reason=undefined;acceptance_state=rejected", is_mobile: false, active_interface: "rejection_dialog", newcomer_task_token: "bbae594c3f455900cc8d", …}
$schema: "/analytics/mediawiki/structured_task/article/link_suggestion_interaction/1.0.0"
action: "impression"
action_data: "link_target=Radio;link_text=radio station;probability_score=0.5489937663078308;series_number=0;rejection_reason=undefined;acceptance_state=rejected"
active_interface: "rejection_dialog"
dt: "2021-07-22T20:57:17.556Z"
homepage_pageview_token: "rckrtlphgjob77d5saucco651bga20cj"
is_mobile: false
meta: {stream: "mediawiki.structured_task.article.link_suggestion_interaction", domain: "test.wikipedia.org"}
newcomer_task_token: "bbae594c3f455900cc8d"
page_id: 113854
page_title: "CISO-FM"
  • one of the options for rejection is selected & the rejection dialog is closed
{action: "close", action_data: "link_target=Radio;link_text=radio station;probabil…ion_reason=wrong-target;acceptance_state=rejected", is_mobile: false, active_interface: "rejection_dialog", newcomer_task_token: "bbae594c3f455900cc8d", …}
$schema: "/analytics/mediawiki/structured_task/article/link_suggestion_interaction/1.0.0"
action: "close"
action_data: "link_target=Radio;link_text=radio station;probability_score=0.5489937663078308;series_number=0;rejection_reason=wrong-target;acceptance_state=rejected"
active_interface: "rejection_dialog"
dt: "2021-07-22T20:58:18.275Z"
homepage_pageview_token: "rckrtlphgjob77d5saucco651bga20cj"
is_mobile: false
meta: {stream: "mediawiki.structured_task.article.link_suggestion_interaction", domain: "test.wikipedia.org"}
newcomer_task_token: "bbae594c3f455900cc8d"
page_id: 113854
page_title: "CISO-FM"