Part of the work we will be doing to evaluate the impact of the collection of improvements the Editing Team will be making to mobile talk pages (T278588) will involve conducting two impact analyses (T298058 + T298065).
In order to conduct these analyses, we will need to ensure sufficient instrumentation is in place to compare the DT-enhanced version of mobile web talk pages to the existing, `Read as wiki page` and MobileFrontend talk overlay, versions of mobile web talk pages.
=== Requirements
- The `MobileWebUIActions` schema is logging the following events within the MobileFrontend's **replying** workflow:
-- When a person taps "into" the reply input field
-- When a person enters a character into the reply input field
-- When a person publishes a comment they drafted
- The `MobileWebUIActions` schema is logging the following events within the MobileFrontend's **new topic** workflow:
-- When a person initiates the workflow by way of tapping the {nav Add topic} button
-- When a person enters text into either of the new topic workflow's fields (`Subject` or `Make a suggestion or voice a concern`)
-- When a person publishes a topic they drafted
NOTE: the answers to `===Open Questions` #1 and/or #2 below may mean no additional work is required to achieve some, if not all, of the requirements listed above.
=== Testing
| action | uiactions event | newly added? | Client-side logging verified?
|---|---|---|---|---
| When a person taps "into" the reply input field | talkpage.focus-comment | Yes | |
| When a person enters a character into the reply input field | talkpage.input-comment | Yes | |
| When a person publishes a comment they drafted | talkpage.publish-comment | Yes | |
| When a person initiates the workflow by way of tapping the Add topic button | talkpage.add-topic | | |
| When a person enters text into either of the new topic workflow's fields | talkpage.input-topic | Yes| |
| When a person publishes a topic they drafted | talkpage.publish-topic | Yes | |
=== Open Questions
- [x] 1. What – if any – events within the MobileFrontend's **new topic** workflow are currently being logged?
-- //See T302108#8194966.//
- [x] 2. What – if any – events within the MobileFrontend's **replying** workflow
are currently being logged?
-- //See T302108#8194966.//
=== Done
- [x] Answers to all `=== Open Questions` are documented
- [ ] All `===Requirements` are met
- [ ] @Ryasmeen / @EAkinloose verify clients are emitting the newly-added events listed in the `===Testing` section above
- [ ] @MNeisler verifies the newly-added events are being logged in the DB as expected
---
i. @DLynch surfaced this idea during the Editing Team's 16 February 2022 team meeting (see [Editing Scratch Archive](https://docs.google.com/document/d/1UnyXytgLwi36c5ohCsa29weADrw6NyRmBFSBv7WduDE/edit#heading=h.xlnm0wqkifmz) for notes).