[No QA] Update Max lines limit for library modules#73415
[No QA] Update Max lines limit for library modules#73415roryabraham merged 5 commits intoExpensify:mainfrom
Conversation
|
@dukenv0307 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] |
|
@dukenv0307 We don't need C+ for this. Please pass over to Engineer. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
@parasharrajat I think we should to discuss this one in slack first. My original P/S was targeted specifically at Also, why 4k lines? Is that the limit where syntax highlighting and git blame stops working? |
Just sounds like a sweet spot. github will support more lines than that. |
|
We got 6 👍 on the post. Should we proceed here @roryabraham? |
|
@roryabraham Can we go ahead with this? |
|
Yes, thanks for posting in slack. Let's do it |
|
Let's merge this. We will work on refactoring PRs separately. |
| }, | ||
|
|
||
| { | ||
| files: ['src/libs/**/*.ts'], |
There was a problem hiding this comment.
@parasharrajat what about .tsx files?
Also, why only src/libs?
I'd think this should be everywhere, but ignoring only specific globs like .github/actions/javascript/**/index.js and `src/languages?
There was a problem hiding this comment.
Here are all files in src
7361 ./src/languages/pt-BR.ts
7376 ./src/languages/de.ts
7383 ./src/languages/it.ts
7812 ./src/languages/es.ts
7202 ./src/languages/zh-hans.ts
7310 ./src/languages/en.ts
7378 ./src/languages/fr.ts
7358 ./src/languages/nl.ts
7346 ./src/languages/pl.ts
7309 ./src/languages/ja.ts
12615 ./src/libs/ReportUtils.ts
6256 ./src/libs/actions/Report.ts
14187 ./src/libs/actions/IOU.ts
6508 ./src/libs/actions/Policy/Policy.ts
7373 ./src/CONST/index.ts
5990 ./src/styles/index.ts
12163 ./src/NAICS.ts
I think we should only track the src folder. I will exclude languages. Do you have suggestions on exclusion?
There was a problem hiding this comment.
Agree with excluding src/languages. We should also exclude NAICS.ts. Don't feel strongly one way or the other about CONST.ts 🤷🏼
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
✋ 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/roryabraham in version: 9.2.49-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.2.49-0 🚀
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.2.52-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.2.54-1 🚀
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.2.52-0 🚀
|
Explanation of Change
Fixed Issues
$ #72804
PROPOSAL:
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 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))npm run compress-svg)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