[No QA] Create Incremental 'withOnyx' migration CI check#48885
Closed
blazejkustra wants to merge 11 commits intoExpensify:mainfrom
Closed
[No QA] Create Incremental 'withOnyx' migration CI check#48885blazejkustra wants to merge 11 commits intoExpensify:mainfrom
blazejkustra wants to merge 11 commits intoExpensify:mainfrom
Conversation
Contributor
|
@blazejkustra Could you put an example of editing multiple files with |
Kicu
approved these changes
Sep 11, 2024
Contributor
Kicu
left a comment
There was a problem hiding this comment.
LGTM 👍 only minor comments from me
I don't have strong opinions on writing shell scripts, so for me if this works then it's good.
Counting via grep seems straightforward.
Contributor
|
Think I'm going to close this in favor of #49125, which is a bit simpler and more general-purpose |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
As part of our ongoing transition strategy from
withOnyxtouseOnyx(discussed in this proposal), we are introducing a new CI check.When a contributor modifies a file that contains
withOnyxusages, this check will be triggered. the CI will fail on your PR, regardless of whether you introduced that usage.To make things easier for contributors, you are not expected to migrate all
withOnyxHOCs across every file modified in a PR. Your objective is to simply decrease the overall usage of withOnyx. This way, you could focus on migrating just one file per PR, which gradually contributes to our overall goal.Fixed Issues
$ #49102
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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
N/A