CONTEXT
This ticket fleshes out the set of data-driven questions that can help us to understand both how to:
- Measure the new tool's impact on the edit metrics ecosystem
- Optimize tool design
DATA QUESTIONS
- How often are users opening and closing the Preview window inside the Wikitext code editor?
- How often are users being defaulted to the Manual Reload experience rather than the auto-load experience?
- Which method are users opting for previewing their edits, shortcut or button?
- What's the average load time for a refresh?
- How often are users encountering the error view?
Downstream impact: Analysis that can come after
- How many people successfully publish an unreverted edit after they use realtime preview?
IMPLEMENTATION PLAN TO BE FLESHED OUT BASED ON QUESTIONS
To come <- Task can be edited by engineer
New Instrumentation
Proposed new event name | Action that will trigger new event | Schema where event will be logged |
---|---|---|
preview-realtime-loaded | Triggered when realtime preview auto-loads the realtime preview pane. | VisualEditorFeatureUse |
preview-realtime-error-stopped | Triggered when realtime preview auto-load is disabled. Currently, this happens when the API does not repond within 6 seconds 3 consecutive times. | VisualEditorFeatureUse |
preview-realtime-reload-error | Triggered when realtime preview pane shows an error message and the reload button is clicked | VisualEditorFeatureUse |
preview-realtime-reload-hover | Triggered when the reload button that shows on hover in the realtime preview pane is clicked | VisualEditorFeatureUse |
preview-realtime-reload-manual | Triggered when the reload button in the realtime preview pane manual bar is clicked | VisualEditorFeatureUse |
Implementation Process
Step | People/Team Responsible | Description | Status |
---|---|---|---|
1. | Community-Tech | File ticket requesting instrumentation | β Done in T306176 |
2. | Community-Tech | Populate the ===New instrumentation section with proposed changes, once defined | β Done |
3. | @MNeisler + @DLynch | Review the ===New instrumentation Community Tech is proposing to introduce | β Done |
4. | Community-Tech | Implement the instrumentation changes defined in ===New instrumentation | β Done |
5. | Editing-team | Code review the instrumentation changes Community Tech will have implemented | β Done |
6. | Community-Tech | Verify newly instrumented events are being emitted as expected by clients | in progress |
7. | Product-Analytics | Verify newly instrumented events are being logged in database as expected, once the new instrumentation has landed in production. | |
8. | Community-Tech | Update schema data dictionary with the events spec'd in this task once they have been verified to be implemented as expected. Read: clients are emitting events as expected and said events are being logged in the database as expected as well. |