[NoQA][Analytics] Chore: Replace SWITCH prefix with OPEN prefix for report-related tags#47552
Conversation
|
Hi @kirillzyusko! In behalf of this PR (for the reasoning behind please check the description), I would like to merge replace Lines 969 to 972 in a70e9be Could you tell me a bit more context on:
Thanks a lot ❤️ |
|
Above comment was answered via slack. Here is what @kirillzyusko and @hannojg replied: Continued with a follow-up question:
|
|
After researching current state of analytics timings, I would recommend to merge this as-is in order to have a correct naming for I am convinced that it's better to merge easy fixes first and benefit from it, instead of putting it aside until all the complex fixes are finished (which may take a while). |
SWTICH prefix with OPEN prefix for report-related tagsSWTICH prefix with OPEN prefix for report-related tags
|
CC @mountiny |
|
@ishpaul777 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeN/A Android: mWeb ChromeN/A iOS: NativeN/A iOS: mWeb SafariN/A MacOS: Chrome / SafariN/A MacOS: DesktopN/A |
SWTICH prefix with OPEN prefix for report-related tagsSWITCH prefix with OPEN prefix for report-related tags
mountiny
left a comment
There was a problem hiding this comment.
Alright, lets do this. it will make a dent in the graphs but will make it cleaner going forwards
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.0.24-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.0.24-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.24-5 🚀
|


Details
Problem
Analytics tags for
Reportare prefixed withSWITCHwhich does not reflect measured behaviour entirely.For example:
SWITCH_REPORT_THREADtag is used to measure time it takes to open report's threadSWITCH_REPORT_FROM_PREVIEWtag is used to measure time it takes to open report from previewIn those scenarios, it is not immidiately obvious what the tags are measuring and might lead to confusion.
Solution
The
SWITCHprefix can be replaced with more accurateOPENprefix. See more details in #47142Fixed Issues
$ #47142
PROPOSAL: Above ⬆️
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop