Always call OpenPublicProfilePage API#37223
Conversation
|
@cubuspl42 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] |
|
As commented here, we'll be moving the review to this PR and @kmbcook will close #37180. |
|
Please move the tests related to dev inspector to the "Tests" section. This is too technical for QA, I think. Regarding the actual QA Steps, it would be awesome to find an actual case when this brings user-observable benefit. See: #36610 (comment)
Could you explore this lead and find reproducible, reasonably minimal QA testing steps? |
|
I moved those test steps to Tests. With regard to scenarios where changes to personal details don't get pushed from the back-end, what do you think of the following course of events? We specify to QA that they test for one of those scenarios, call it scenario A. They do so for some time, with no problems. Each time they test, personal details are current because of this PR. Later, another code change ensures that in scenario A changes to personal details are indeed pushed from the back-end, making it so scenario A no longer needs this PR. Another of these scenarios, call it scenario B, still relies on this PR. Later, another code change inadvertently negates the effect of this PR. When that happens, QA tests using scenario A, and the test succeeds. According to the test we have given QA, the API is still always being called, but it isn't. And because it isn't, all other scenarios of this kind fail, because the change in this PR has been negated. In order for QA to have an effective test of this type it would need to test every possible manifestation of not calling the API, both now and in the future. |
|
Uh, this got a bit philosophical. From my perspective, I just wanted to find a manual test that...
Regarding being future-proof, not all QA Steps end up being a regression test. Still, don't overthink it. It's just a good practice to find some steps that prove that the changes actually improved something. Give it a try. If we find out this is too difficult, we'll move on without it. The fact that an internal engineer explicitly requested this change will be a good enough reason. |
|
OK, I did it. |
|
We're 3000 commits behind |
Reviewer Checklist
Screenshots/VideosAndroid: Nativealways-call-api-android-compressed.mp4Android: mWeb Chromealways-call-api-android-web-compressed.mp4iOS: Nativealways-call-api-ios-compressed.mp4iOS: mWeb Safarialways-call-api-ios-web-compressed.mp4MacOS: Chrome / Safarialways-call-api-web-converted.mp4MacOS: Desktop |
jakub-trzebiatowski
left a comment
There was a problem hiding this comment.
Please merge main
|
Merged main and tested. |
|
@stitesExpensify Friendly bump |
|
@stitesExpensify looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
✋ 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/stitesExpensify in version: 1.4.47-0 🚀
|
|
Not an emergency, all tests were passing |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.47-10 🚀
|
Details
ProfilePage now calls openPublicProfilePage regardless of value of hasMinimumDetails.
Fixed Issues
$ #36610
PROPOSAL: #36610 (comment)
Tests
Offline tests
This issue is only relevant when online.
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-1.mp4
Android-2.mp4
Android: mWeb Chrome
AndroidChrome.mp4
iOS: Native
IOS-1.mp4
IOS-2.mp4
iOS: mWeb Safari
IOSSafari.mp4
MacOS: Chrome / Safari
MacSafari.mp4
MacOS: Desktop
MacDesktop.mp4