Fix cross platform concern of the improve flagging feature#37754
Fix cross platform concern of the improve flagging feature#37754cristipaval merged 4 commits intoExpensify:mainfrom
Conversation
|
@abdulrahuman5196 @cristipaval One of you needs to 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] |
|
@abdulrahuman5196, when can you review the PR? cc @cristipaval |
|
Hi, sorry missed this. Will review in my morning |
|
Reviewing now |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2024-03-13.at.9.06.33.PM.mp4MacOS: Desktop |
abdulrahuman5196
left a comment
There was a problem hiding this comment.
Changes looks good and works well. Reviewers checklist is also complete.
All yours. @cristipaval
🎀 👀 🎀
C+ Reviewed
|
✋ 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/cristipaval in version: 1.4.52-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.52-6 🚀
|
Details
The PR fixes a concern about our standards for cross-platform code. It introduces a new couple of helpers to integrate cross-platform code properly. No bug-fixes or UI/UX effects here.
Fixed Issues
$ #35565
PROPOSAL: N/A
Tests
Start Concierge from OldDot web. Also, you can use a next endpoint
/transition?accountID=<ACCOUNT_ID>&email=<LOGIN>&exitTo=r%2F<CONCIERGE_REPORT_ID>&shouldForceLogin=false.Get redirected to the Concierge chat in NewDot in a new tab.
Send a message to Concierge.
Verify that the API command
AddCommentincludesisOldDotConciergeChatand equalstrue.Verify that in the Concierge tool, the message is marked as coming from OldDot.
The user refreshes the tab with the Concierge chat in NewDot.
Send a message to Concierge.
Verify that the API command
AddCommentincludesisOldDotConciergeChatand equalstrue.Verify that in the Concierge tool, the message is marked as coming from OldDot.
The user duplicates the tab with the Concierge chat in NewDot.
Send a message to Concierge.
Verify that the API command
AddCommentincludesisOldDotConciergeChatand equalstrue.Verify that in the Concierge tool, the message is marked as coming from OldDot.
The user opens a new tab with Concierge chat in NewDot without using OldDot.
Send a message to Concierge.
Verify that the API command
AddCommentdoes not includeisOldDotConciergeChatand equalstrue.Verify that in the Concierge tool, the message is not marked as coming from OldDot.
Offline tests
Same as "Tests".
QA Steps
Same as "Tests".
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
N/A
Android: mWeb Chrome
N/A
iOS: Native
N/A
iOS: mWeb Safari
IOS.Safari.3.mp4
MacOS: Chrome / Safari
Chrome.1.mp4
MacOS: Desktop
N/A