-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[No QA] fix: Allow private_ prefix lint rule for variable naming #54937
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
Conversation
|
@ZhenjaHorbach 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] |
src/libs/OptionsListUtils.ts
Outdated
| return ReportUtils.shouldReportBeInOptionList({ | ||
| report, | ||
| currentReportId: topmostReportId, | ||
| currentReportId: topmostReportId ?? '', |
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.
Do we need these changes ?
After this PR, undefined is a valid value
#54936
so could you update the branch to the latest version of main and remove all unnecessary changes, please ?
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.
thanks @ZhenjaHorbach, i updated
Reviewer Checklist
Screenshots/VideosAndroid: NativeNA Android: mWeb ChromeNA iOS: NativeNA iOS: mWeb SafariNA MacOS: Chrome / SafariNA MacOS: DesktopNA |
|
@nkdengineer |
|
Will give an update soon |
|
LGTM ! |
|
Hi @nkdengineer, looks like there's a conflict. |
@srikarparsi @ZhenjaHorbach This problem requires too many code changes. I think we should create a new issue to fix it. |
We have a discussion about it |
|
@nkdengineer |
@ZhenjaHorbach what do you think about my suggestion here, It can be up to more than 3000 changes. Because we need to fix all 19 files that we changed in this PR and there are some very long files like OptionsListUtils.ts and SidebarUtils.ts |
Oh @srikarparsi |
|
@nkdengineer how did you come up with the 3000 changes number? Also, can you please merge main and check if there are any other occurrences of disabling lint for |
@srikarparsi I just tried to fix lint for OptionsListUtils.ts file and it has about 300 changes. And we have about 7 files to fix. I think it could be more than 1000 changes.
I have merged the main branch, and there are no other occurrences of disabling lint for private_isArchived that need to be removed. |
|
Asked internally (Slack) |
|
@srikarparsi |
|
@nkdengineer |
|
Yup, looks okay to merge (Slack) once conflicts are fixed |
srikarparsi
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.
code looks good, going to merge without eslint passing since it's a large number of files
|
@srikarparsi looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Left comment here, ESLint on changed files wasn't passing |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
@nkdengineer
I think there is no point in creating a new PR to fix this |
|
🚀 Deployed to staging by https://github.com/srikarparsi in version: 9.0.89-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.89-8 🚀
|



Explanation of Change
Fixed Issues
$ #54822
PROPOSAL: #54822 (comment)
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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