-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
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 |
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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