-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Removing draft comments param #6252
Conversation
|
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.
Changes look good, looks like you just need to update the method in the unit test as well
Oh lol oops 🤦 nevermind |
You still need to update this right? Since it passes report_draft_comments App/tests/unit/OptionsListUtilsTest.js Line 597 in 5763378
Also here I believe App/tests/unit/OptionsListUtilsTest.js Lines 564 to 570 in 5763378
|
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.
I think we should remove these lines too:
App/src/pages/home/sidebar/SidebarLinks.js
Lines 277 to 279 in 13bb449
draftComments: { | |
key: ONYXKEYS.COLLECTION.REPORT_DRAFT_COMMENT, | |
}, |
The prop draftComments
is not used anymore.
@thienlnam both of those codes you linked are not in main branch 😬 - file |
@aldo-expensify, yup good catch. |
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.
Looks good to me!
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.
Oops, I guess I should start updating my local branch to main haha
…-param Removing draft comments param (cherry picked from commit 3528390)
🚀 Cherry-picked to staging by @chiragsalian in version: 1.1.14-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to staging by @chiragsalian in version: 1.1.14-5 🚀
|
🚀 Deployed to production by @AndrewGable in version: 1.1.15-15 🚀
|
Details
The draftComments param for getSideBarOptions was removed here. But at that time the usages were still passing draftComments so the method was receiving params in wrong order. The fixes here should correct that.
Fixed Issues
$ #6231
Tests
QA Steps
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android