The dashboard_translation_start event is currently logged with the suggestion_recent_edit event source, when a suggestion both A. from the "For you" filter and B. the "Recently edited by you" list in search page, is selected to be translated.
However we have two different event sources available: suggestion_recent_edit and suggestion_previous_edits, and both should be used to differentiate these two cases.
From my side I feel that suggestion_recent_edit source may be more suitable for case B., judging from the list title. On the other hand, I mean not sure how would a change like this in the instrumentation of the most prominent (until now) filter, would impact the analysis process, and whether it would break some existing code and introduce more technical debt.
To be determined:
Which event source should be used for which case.
Here is the refined output aligned strictly with your QA guidelines:
Derived Requirement
Ensure that when a user starts a translation from dashboard suggestions:
- If the suggestion is selected from the "For you" filter, the dashboard_translation_start event is logged with the suggestion_previous_edits event source.
- If the suggestion is selected from the "Recently edited by you" list in the search view, the dashboard_translation_start event is logged with the suggestion_recent_edit event source.
- The event source value accurately reflects the user-visible origin of the suggestion and differentiates the two cases in analytics.
Test Steps
Preconditions:
- User is logged in.
- At least one suggestion is available in the "For you" filter.
- At least one suggestion is available in the "Recently edited by you" list in the search view.
- Developer tools are open to inspect network requests or event logging.
Test Case 1: Ensure correct event source for "For you" filter
- Open the dashboard.
- Select the "For you" filter.
- Click on a suggestion to start translation.
- Inspect the emitted dashboard_translation_start event in the network payload or logging stream.
- ✅❓❌⬜ AC1: The event includes event_source set to suggestion_previous_edits.
Test Case 2: Ensure correct event source for "Recently edited by you" list
- Open the search view containing the "Recently edited by you" list.
- Click on a suggestion to start translation.
- Inspect the emitted dashboard_translation_start event in the network payload or logging stream.
- ✅❓❌⬜ AC2: The event includes event_source set to suggestion_recent_edit.
QA Results - TestWiki
| AC | Status | Details |
|---|---|---|
| 1 | ❌ | T414327#11630460 |
| 2 | ❓ | T414327#11630460 |