-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Remove deprecated API! #17266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated API! #17266
Conversation
|
Looks like you modified Instead, all new API commands should use API.js, and follow our guidelines for writing new API commands. Unsure if your change is okay? Drop a note in #expensify-open-source! |
|
@Beamanator Do we need to remove this? Lines 57 to 59 in d196a12
|
|
@mollfpr Yo! I was thinking about that, but it seems like @madmax330 already has a plan to deal with that in https://github.com/Expensify/Expensify/issues/215650 sooooo I would prefer not to touch it 😬 |
|
Okay, thanks for confirming it! Do you think this needs my review? 😄 |
|
@mollfpr I thinkkkk yes go for it if you have time! I know it's a small change but I still would appreciate knowing I didn't break anything 😅 |
|
@Beamanator Got it! |
Reviewer Checklist
Screenshots/VideosWebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
mollfpr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing on all devices and random action. Nothing weird regarding the changes.
LGTM 🚀
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
eh just noting that this didn't really require any testing. it literally makes no change to any code flows at all. |
|
🚀 Deployed to staging by https://github.com/Gonals in version: 1.3.0-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.0-2 🚀
|
cc @cristipaval since you removed the use of the last deprecated command
Details
We finally stopped using the last OLD api command (via #15330) so we can finally delete this file!
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/249177
Tests
Just make sure the app still works fine!
Offline tests
Nothing to do here
QA Steps
Just basic tests to make sure the app still works fine
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
Web
No video needed, just open the app and click around
Mobile Web - Chrome
No video needed, just open the app and click around
Mobile Web - Safari
No video needed, just open the app and click around
Desktop
No video needed, just open the app and click around
iOS
No video needed, just open the app and click around
Android
No video needed, just open the app and click around