Per T328060: Leveling up: Instrumentation, capture:
- Everything the HelpPanel schema currently captures about that event (e.g. time, platform, wiki, user ID, edit count, etc)
- That the user is seeing this “try a Suggested edit” dialogue. This should be reflected in the type value in the action_data field (because the context and action fields already reflect that it's an impression of the post-edit dialogue).
- The action the user took, whether it was “try suggested edits” or “no thanks”.
That is:
- Log the following values:
- on impression: context=postedit-nonsuggested,action=postedit-impression
- on closing (this can happen via the "No thanks" button, the X icon, the Esc key, clicking outside - I assume it's OK not to differentiate since we don't do that elsewhere either) context=postedit-nonsuggested,action=postedit-close
- on clicking the "Try suggested edits" button: context=postedit-nonsuggested,action=postedit-link-click,action_data=suggested-edits (and savedTaskType in action_data will become optional since we don't have it)
- on collapsing/expanding the postedit dialog: context=postedit-nonsuggested,action=postedit-collapse / context=postedit-nonsuggested,action=postedit-expand
- help_panel_session_id is a random value that's the same for events within the same pageview.
- editor_interface will take the value not-known (it can probably be recovered during analysis by checking the change tags on the user's last edit)
- update schema docs for savedTaskType