[No QA] Deprecate getPolicy#63572
Conversation
|
@alitoshmatov 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] |
|
ESLint check failure is unrelated to this PR. |
tgolen
left a comment
There was a problem hiding this comment.
Would you mind adding a comment to each deprecation that says:
// This will be fixed as part of https://github.com/Expensify/Expensify/issues/507850
|
Updated |
|
Ok, this should be updated now |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
I don't think we need a C+ review on this one since there are no functional code changes. The failing tests are known and unrelated to this PR so they are OK to fail and don't need fixed in this PR. |
|
@luacmartins Sorry, I let this sit on Friday because I saw the failures of the remote build for android. I've restarted those checks this morning, but it also means the PR picked up a conflict. |
|
Updated |
|
@tgolen looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
This was merged with ESLint failing on a bunch of files that were touched to only add comments, so we agreed not to fix the ESLint tests in this PR. |
|
✋ 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/tgolen in version: 9.1.64-0 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.1.64-5 🚀
|
Explanation of Change
Deprecated
getPolicybecause it introduces a bad pattern that breaks component reactiveness.Fixed Issues
$ #63574
Tests
N/A
Offline tests
QA Steps
No QA
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.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 and/or tagged@Expensify/designso 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